Re: [SVE] [gimple-isel] PR93183 - SVE does not use neg as conditional

2021-10-18 Thread Prathamesh Kulkarni via Gcc-patches
On Mon, 18 Oct 2021 at 14:34, Richard Sandiford wrote: > > Prathamesh Kulkarni writes: > > diff --git a/gcc/testsuite/gcc.target/aarch64/sve/cond_unary_4.c > > b/gcc/testsuite/gcc.target/aarch64/sve/cond_unary_4.c > > index 4604365fbef..cedc5b7c549 100644 > > --- a/gcc/testsuite/gcc.target/aarch

Re: [SVE] [gimple-isel] PR93183 - SVE does not use neg as conditional

2021-10-18 Thread Richard Sandiford via Gcc-patches
Prathamesh Kulkarni writes: > diff --git a/gcc/testsuite/gcc.target/aarch64/sve/cond_unary_4.c > b/gcc/testsuite/gcc.target/aarch64/sve/cond_unary_4.c > index 4604365fbef..cedc5b7c549 100644 > --- a/gcc/testsuite/gcc.target/aarch64/sve/cond_unary_4.c > +++ b/gcc/testsuite/gcc.target/aarch64/sve/c

Re: [SVE] [gimple-isel] PR93183 - SVE does not use neg as conditional

2021-10-17 Thread Prathamesh Kulkarni via Gcc-patches
On Wed, 13 Oct 2021 at 13:26, Richard Sandiford wrote: > > Prathamesh Kulkarni writes: > > On Mon, 11 Oct 2021 at 20:42, Richard Sandiford > > wrote: > >> > >> Prathamesh Kulkarni writes: > >> > On Fri, 8 Oct 2021 at 21:19, Richard Sandiford > >> > wrote: > >> >> > >> >> Thanks for looking at

Re: [SVE] [gimple-isel] PR93183 - SVE does not use neg as conditional

2021-10-13 Thread Richard Sandiford via Gcc-patches
Prathamesh Kulkarni writes: > On Mon, 11 Oct 2021 at 20:42, Richard Sandiford > wrote: >> >> Prathamesh Kulkarni writes: >> > On Fri, 8 Oct 2021 at 21:19, Richard Sandiford >> > wrote: >> >> >> >> Thanks for looking at this. >> >> >> >> Prathamesh Kulkarni writes: >> >> > Hi, >> >> > As mentio

Re: [SVE] [gimple-isel] PR93183 - SVE does not use neg as conditional

2021-10-12 Thread Prathamesh Kulkarni via Gcc-patches
On Mon, 11 Oct 2021 at 20:42, Richard Sandiford wrote: > > Prathamesh Kulkarni writes: > > On Fri, 8 Oct 2021 at 21:19, Richard Sandiford > > wrote: > >> > >> Thanks for looking at this. > >> > >> Prathamesh Kulkarni writes: > >> > Hi, > >> > As mentioned in PR, for the following test-case: > >

Re: [SVE] [gimple-isel] PR93183 - SVE does not use neg as conditional

2021-10-11 Thread Richard Sandiford via Gcc-patches
Prathamesh Kulkarni writes: > On Fri, 8 Oct 2021 at 21:19, Richard Sandiford > wrote: >> >> Thanks for looking at this. >> >> Prathamesh Kulkarni writes: >> > Hi, >> > As mentioned in PR, for the following test-case: >> > >> > typedef unsigned char uint8_t; >> > >> > static inline uint8_t >> > x

Re: [SVE] [gimple-isel] PR93183 - SVE does not use neg as conditional

2021-10-11 Thread Prathamesh Kulkarni via Gcc-patches
On Fri, 8 Oct 2021 at 21:19, Richard Sandiford wrote: > > Thanks for looking at this. > > Prathamesh Kulkarni writes: > > Hi, > > As mentioned in PR, for the following test-case: > > > > typedef unsigned char uint8_t; > > > > static inline uint8_t > > x264_clip_uint8(uint8_t x) > > { > > uint8_

Re: [SVE] [gimple-isel] PR93183 - SVE does not use neg as conditional

2021-10-08 Thread Richard Sandiford via Gcc-patches
Thanks for looking at this. Prathamesh Kulkarni writes: > Hi, > As mentioned in PR, for the following test-case: > > typedef unsigned char uint8_t; > > static inline uint8_t > x264_clip_uint8(uint8_t x) > { > uint8_t t = -x; > uint8_t t1 = x & ~63; > return (t1 != 0) ? t : x; > } > > void >

[SVE] [gimple-isel] PR93183 - SVE does not use neg as conditional

2021-10-06 Thread Prathamesh Kulkarni via Gcc-patches
Hi, As mentioned in PR, for the following test-case: typedef unsigned char uint8_t; static inline uint8_t x264_clip_uint8(uint8_t x) { uint8_t t = -x; uint8_t t1 = x & ~63; return (t1 != 0) ? t : x; } void mc_weight(uint8_t *restrict dst, uint8_t *restrict src, int n) { for (int x = 0; x