RE: [PATCH] aarch64: Reimplement vget_low* intrinsics

2021-02-05 Thread Kyrylo Tkachov via Gcc-patches
Hi Richard, > -Original Message- > From: Richard Biener > Sent: 05 February 2021 09:25 > To: Kyrylo Tkachov > Cc: gcc-patches@gcc.gnu.org > Subject: Re: [PATCH] aarch64: Reimplement vget_low* intrinsics > > On Fri, Feb 5, 2021 at 9:59 AM Kyrylo Tkachov

Re: [PATCH] aarch64: Reimplement vget_low* intrinsics

2021-02-05 Thread Richard Biener via Gcc-patches
On Fri, Feb 5, 2021 at 9:59 AM Kyrylo Tkachov via Gcc-patches wrote: > > Hi all, > > We can do better on the vget_low* intrinsics. > Currently they reinterpret their argument into a V2DI vector and extract the > low "lane", > reinterpreting that back into the shorter vector. > This is functionall

[PATCH] aarch64: Reimplement vget_low* intrinsics

2021-02-05 Thread Kyrylo Tkachov via Gcc-patches
Hi all, We can do better on the vget_low* intrinsics. Currently they reinterpret their argument into a V2DI vector and extract the low "lane", reinterpreting that back into the shorter vector. This is functionally correct and generates a sequence of subregs and a vec_select that, by itself, gets