Hi Prathamesh,
> -Original Message-
> From: Prathamesh Kulkarni
> Sent: 05 May 2021 09:35
> To: Kyrylo Tkachov
> Cc: gcc Patches
> Subject: Re: [PR97903][ARM] Missed optimization in lowering to vtst
>
> On Fri, 5 Feb 2021 at 15:42, Kyrylo Tkachov
> w
On Fri, 5 Feb 2021 at 15:42, Kyrylo Tkachov wrote:
>
> Hi Prathamesh,
>
> > -Original Message-
> > From: Prathamesh Kulkarni
> > Sent: 05 February 2021 09:53
> > To: gcc Patches ; Kyrylo Tkachov
> >
> > Subject: [PR97903][ARM] Missed optimiz
Hi Prathamesh,
> -Original Message-
> From: Prathamesh Kulkarni
> Sent: 05 February 2021 09:53
> To: gcc Patches ; Kyrylo Tkachov
>
> Subject: [PR97903][ARM] Missed optimization in lowering to vtst
>
> Hi,
> For the following test-case:
>
> #incl
Hi,
For the following test-case:
#include
uint8x8_t f1(int8x8_t a, int8x8_t b) {
return (uint8x8_t) ((a & b) != 0);
}
gcc fails to lower test operation to vtst, and instead emits:
f1:
vandd0, d0, d1
vceq.i8 d0, d0, #0
vmvnd0, d0
bx lr
The attached