This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Remove UNSPEC_LOADU and UNSPEC_STOREU


Hi,
On 18 Apr 21:13, Uros Bizjak wrote:
> On Mon, Apr 18, 2016 at 8:40 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> > On Sun, Jan 10, 2016 at 11:45 PM, Uros Bizjak <ubizjak@gmail.com> wrote:
> >> On Sun, Jan 10, 2016 at 11:32 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> >>> Since *mov<mode>_internal and <avx512>_(load|store)<mode>_mask patterns
> >>> can handle unaligned load and store, we can remove UNSPEC_LOADU and
> >>> UNSPEC_STOREU.  We use function prototypes with pointer to scalar for
> >>> unaligned load/store builtin functions so that memory passed to
> >>> *mov<mode>_internal is unaligned.
> >>>
> >>> Tested on x86-64.  Is this OK for trunk in stage 3?
> >>
> >> This patch is not appropriate for stage 3.
> >>
> >> Uros.
> >>
> >>> H.J.
> >>> ----
> >
> >
> > Here is the updated patch for GCC 7.  Tested on x86-64.  OK for
> > trrunk?
> 
> IIRC from previous discussion, are we sure we won't propagate
> unaligned memory into SSE arithmetic insns?
> 
> Otherwise, the patch is OK, but please wait for Kirill for AVX512 approval.
I am ok with it.
> 
> Thanks,
> Uros.

--
Thanks, K


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]