Re: [PATCH]AArch64 Add SVE implementation for cond_copysign.

2023-10-19 Thread Richard Sandiford
Tamar Christina writes: > Hi All, > > This adds an implementation for masked copysign along with an optimized > pattern for masked copysign (x, -1). > > Bootstrapped Regtested on aarch64-none-linux-gnu and no issues. > > Ok for master? > > Thanks, > Tamar > > gcc/ChangeLog: > > PR tree-optim

Re: [PATCH]AArch64 Add SVE implementation for cond_copysign.

2023-10-09 Thread Richard Biener
gcc-patches@gcc.gnu.org; > >> nd ; Richard Earnshaw ; > >> Marcus Shawcroft ; Kyrylo Tkachov > >> > >> Subject: Re: [PATCH]AArch64 Add SVE implementation for cond_copysign. > >> > >> Tamar Christina writes: > >> >> -Original M

Re: [PATCH]AArch64 Add SVE implementation for cond_copysign.

2023-10-09 Thread Richard Sandiford
> >> To: Richard Biener >> >> Cc: Tamar Christina ; >> >> gcc-patches@gcc.gnu.org; nd ; Richard Earnshaw >> >> ; Marcus Shawcroft >> >> ; Kyrylo Tkachov >> >> >> Subject: Re: [PATCH]AArch64 Add SVE implementation for cond_copysig

RE: [PATCH]AArch64 Add SVE implementation for cond_copysign.

2023-10-09 Thread Tamar Christina
atches@gcc.gnu.org; nd ; Richard Earnshaw > >> ; Marcus Shawcroft > >> ; Kyrylo Tkachov > > >> Subject: Re: [PATCH]AArch64 Add SVE implementation for cond_copysign. > >> > >> Richard Biener writes: > >> > On Thu, Oct 5, 2023 at 10:46 PM Tamar

Re: [PATCH]AArch64 Add SVE implementation for cond_copysign.

2023-10-09 Thread Richard Sandiford
;> > From: Richard Sandiford >> >> > Sent: Thursday, October 5, 2023 9:26 PM >> >> > To: Tamar Christina >> >> > Cc: gcc-patches@gcc.gnu.org; nd ; Richard Earnshaw >> >> > ; Marcus Shawcroft >> >> > ; Kyrylo Tkachov

RE: [PATCH]AArch64 Add SVE implementation for cond_copysign.

2023-10-09 Thread Tamar Christina
t; > > Cc: Tamar Christina ; > > > gcc-patches@gcc.gnu.org; nd ; Richard Earnshaw > > > ; Marcus Shawcroft > > > ; Kyrylo Tkachov > > > > Subject: Re: [PATCH]AArch64 Add SVE implementation for cond_copysign. > > > > > > Richard Biener write

Re: [PATCH]AArch64 Add SVE implementation for cond_copysign.

2023-10-09 Thread Richard Biener
arnshaw ; > > Marcus Shawcroft ; Kyrylo Tkachov > > > > Subject: Re: [PATCH]AArch64 Add SVE implementation for cond_copysign. > > > > Richard Biener writes: > > > On Thu, Oct 5, 2023 at 10:46 PM Tamar Christina > > wrote: > > >> > > >

RE: [PATCH]AArch64 Add SVE implementation for cond_copysign.

2023-10-09 Thread Tamar Christina
23 9:26 PM > >> > To: Tamar Christina > >> > Cc: gcc-patches@gcc.gnu.org; nd ; Richard Earnshaw > >> > ; Marcus Shawcroft > >> > ; Kyrylo Tkachov > > >> > Subject: Re: [PATCH]AArch64 Add SVE implementation for > cond_copysign. > &g

Re: [PATCH]AArch64 Add SVE implementation for cond_copysign.

2023-10-07 Thread Richard Sandiford
-patches@gcc.gnu.org; nd ; Richard Earnshaw >> > ; Marcus Shawcroft >> > ; Kyrylo Tkachov >> > Subject: Re: [PATCH]AArch64 Add SVE implementation for cond_copysign. >> > >> > Tamar Christina writes: >> > >> -Original Message- >>

Re: [PATCH]AArch64 Add SVE implementation for cond_copysign.

2023-10-06 Thread Richard Biener
croft > > ; Kyrylo Tkachov > > Subject: Re: [PATCH]AArch64 Add SVE implementation for cond_copysign. > > > > Tamar Christina writes: > > >> -Original Message- > > >> From: Richard Sandiford > > >> Sent: Thursday, October 5,

RE: [PATCH]AArch64 Add SVE implementation for cond_copysign.

2023-10-05 Thread Tamar Christina
> -Original Message- > From: Richard Sandiford > Sent: Thursday, October 5, 2023 9:26 PM > To: Tamar Christina > Cc: gcc-patches@gcc.gnu.org; nd ; Richard Earnshaw > ; Marcus Shawcroft > ; Kyrylo Tkachov > Subject: Re: [PATCH]AArch64 Add SVE implementation for c

Re: [PATCH]AArch64 Add SVE implementation for cond_copysign.

2023-10-05 Thread Andrew Pinski
croft > > ; Kyrylo Tkachov > > Subject: Re: [PATCH]AArch64 Add SVE implementation for cond_copysign. > > > > Tamar Christina writes: > > > Hi All, > > > > > > This adds an implementation for masked copysign along with an > > > optimiz

Re: [PATCH]AArch64 Add SVE implementation for cond_copysign.

2023-10-05 Thread Richard Sandiford
Tamar Christina writes: >> -Original Message- >> From: Richard Sandiford >> Sent: Thursday, October 5, 2023 8:29 PM >> To: Tamar Christina >> Cc: gcc-patches@gcc.gnu.org; nd ; Richard Earnshaw >> ; Marcus Shawcroft >> ; Kyrylo Tkach

RE: [PATCH]AArch64 Add SVE implementation for cond_copysign.

2023-10-05 Thread Tamar Christina
> -Original Message- > From: Richard Sandiford > Sent: Thursday, October 5, 2023 8:29 PM > To: Tamar Christina > Cc: gcc-patches@gcc.gnu.org; nd ; Richard Earnshaw > ; Marcus Shawcroft > ; Kyrylo Tkachov > Subject: Re: [PATCH]AArch64 Add SVE implementation for c

Re: [PATCH]AArch64 Add SVE implementation for cond_copysign.

2023-10-05 Thread Richard Sandiford
Tamar Christina writes: > Hi All, > > This adds an implementation for masked copysign along with an optimized > pattern for masked copysign (x, -1). It feels like we're ending up with a lot of AArch64-specific code that just hard-codes the observation that changing the sign is equivalent to chang

[PATCH]AArch64 Add SVE implementation for cond_copysign.

2023-10-05 Thread Tamar Christina
Hi All, This adds an implementation for masked copysign along with an optimized pattern for masked copysign (x, -1). Bootstrapped Regtested on aarch64-none-linux-gnu and no issues. Ok for master? Thanks, Tamar gcc/ChangeLog: PR tree-optimization/109154 * config/aarch64/aarch64