This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC PATCH] For TARGET_AVX use *mov<mode>_internal for misaligned loads
- From: OndÅej BÃlka <neleai at seznam dot cz>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Richard Henderson <rth at redhat dot com>, Uros Bizjak <ubizjak at gmail dot com>, Kirill Yukhin <kirill dot yukhin at gmail dot com>, gcc-patches at gcc dot gnu dot org
- Date: Wed, 30 Oct 2013 11:52:55 +0100
- Subject: Re: [RFC PATCH] For TARGET_AVX use *mov<mode>_internal for misaligned loads
- Authentication-results: sourceware.org; auth=none
- References: <20131030094713 dot GC27813 at tucnak dot zalov dot cz> <20131030095358 dot GA13207 at domone dot podge> <20131030100013 dot GD27813 at tucnak dot zalov dot cz> <20131030100558 dot GE27813 at tucnak dot zalov dot cz>
On Wed, Oct 30, 2013 at 11:05:58AM +0100, Jakub Jelinek wrote:
> On Wed, Oct 30, 2013 at 11:00:13AM +0100, Jakub Jelinek wrote:
> > But the above is 16 byte unaligned load. Furthermore, GCC supports
> > -mavx256-split-unaligned-load and can emit 32 byte loads either as an
> > unaligned 32 byte load, or merge of 16 byte unaligned loads. The patch
> > affects only the cases where we were already emitting 16 byte or 32 byte
> > unaligned loads rather than split loads.
>
> With my patch, the differences (in all cases only on f1) for
> -O2 -mavx -ftree-vectorize with the patch is (16 byte unaligned load, not split):
My point was that this could mask split loads, thank for clarifying