Re: [PATCH 1/2]AArch64: Add CMP+CSEL and CMP+CSET for cores that support it

2024-12-12 Thread Andrew Pinski
>> Cc: gcc-patches@gcc.gnu.org; nd ; Richard Earnshaw > >> ; ktkac...@gcc.gnu.org > >> Subject: Re: [PATCH 1/2]AArch64: Add CMP+CSEL and CMP+CSET for cores that > >> support it > >> > >> Tamar Christina writes: > >>>> -Original

Re: [PATCH 1/2]AArch64: Add CMP+CSEL and CMP+CSET for cores that support it

2024-12-12 Thread Kyrylo Tkachov
d Earnshaw >> ; ktkac...@gcc.gnu.org >> Subject: Re: [PATCH 1/2]AArch64: Add CMP+CSEL and CMP+CSET for cores that >> support it >> >> Tamar Christina writes: >>>> -Original Message- >>>> From: Richard Sandiford >>>> Sent: Wednesd

Re: [PATCH 1/2]AArch64: Add CMP+CSEL and CMP+CSET for cores that support it

2024-12-11 Thread Richard Earnshaw (lists)
cores that support it Tamar Christina writes: -Original Message- From: Richard Sandiford Sent: Wednesday, December 11, 2024 9:32 AM To: Tamar Christina Cc: gcc-patches@gcc.gnu.org; nd ; Richard Earnshaw ; ktkac...@gcc.gnu.org Subject: Re: [PATCH 1/2]AArch64: Add CMP+CSEL and CMP+CSET

RE: [PATCH 1/2]AArch64: Add CMP+CSEL and CMP+CSET for cores that support it

2024-12-11 Thread Tamar Christina
> -Original Message- > From: Richard Sandiford > Sent: Wednesday, December 11, 2024 9:50 AM > To: Tamar Christina > Cc: gcc-patches@gcc.gnu.org; nd ; Richard Earnshaw > ; ktkac...@gcc.gnu.org > Subject: Re: [PATCH 1/2]AArch64: Add CMP+CSEL and CMP+CSET for co

Re: [PATCH 1/2]AArch64: Add CMP+CSEL and CMP+CSET for cores that support it

2024-12-11 Thread Richard Sandiford
Tamar Christina writes: >> -Original Message- >> From: Richard Sandiford >> Sent: Wednesday, December 11, 2024 9:32 AM >> To: Tamar Christina >> Cc: gcc-patches@gcc.gnu.org; nd ; Richard Earnshaw >> ; ktkac...@gcc.gnu.org >> Subject: Re: [PATCH

RE: [PATCH 1/2]AArch64: Add CMP+CSEL and CMP+CSET for cores that support it

2024-12-11 Thread Tamar Christina
> -Original Message- > From: Richard Sandiford > Sent: Wednesday, December 11, 2024 9:32 AM > To: Tamar Christina > Cc: gcc-patches@gcc.gnu.org; nd ; Richard Earnshaw > ; ktkac...@gcc.gnu.org > Subject: Re: [PATCH 1/2]AArch64: Add CMP+CSEL and CMP+CSET for co

Re: [PATCH 1/2]AArch64: Add CMP+CSEL and CMP+CSET for cores that support it

2024-12-11 Thread Richard Sandiford
Tamar Christina writes: > Hi All, > > GCC 15 added two new fusions CMP+CSEL and CMP+CSET. > > This patch enables them for cores that support based on their Software > Optimization Guides and generically on Armv9-A. Even if a core does not > support it there's no negative performance impact. > >

[PATCH 1/2]AArch64: Add CMP+CSEL and CMP+CSET for cores that support it

2024-12-11 Thread Tamar Christina
Hi All, GCC 15 added two new fusions CMP+CSEL and CMP+CSET. This patch enables them for cores that support based on their Software Optimization Guides and generically on Armv9-A. Even if a core does not support it there's no negative performance impact. Bootstrapped Regtested on aarch64-none-