Re: [PATCH 3/7] aarch64: Handle DImode BCAX operations

2025-07-15 Thread Kyrylo Tkachov
;> tying one of operands 2 or 3 to r0? >> >> Kyrill >> >> >>> >>> Thanks, >>> Tamar >>> >>>> Thanks, >>>> Richard >> >> >> From 9e67b44d9ff111b0f280d7f3fe2c197aa7dabc94 Mon Sep 17 00:00:00 2001 >> From: Kyrylo Tkachov >&

Re: [PATCH 3/7] aarch64: Handle DImode BCAX operations

2025-07-08 Thread Richard Sandiford
t;> >> Thanks, >> Tamar >> >>> Thanks, >>> Richard > > > From 9e67b44d9ff111b0f280d7f3fe2c197aa7dabc94 Mon Sep 17 00:00:00 2001 > From: Kyrylo Tkachov > Date: Thu, 3 Jul 2025 09:45:02 -0700 > Subject: [PATCH 3/7] aarch64: Handle DImode BCAX operations

Re: [PATCH 3/7] aarch64: Handle DImode BCAX operations

2025-07-08 Thread Kyrylo Tkachov
Earnshaw ; Alex >> Coplan ; Andrew Pinski >> Subject: Re: [PATCH 3/7] aarch64: Handle DImode BCAX operations >> >> Tamar Christina writes: >>>> -Original Message- >>>> From: Richard Sandiford >>>> Sent: Monday, July 7, 2025 12:55 PM &g

RE: [PATCH 3/7] aarch64: Handle DImode BCAX operations

2025-07-08 Thread Tamar Christina
> -Original Message- > From: Richard Sandiford > Sent: Tuesday, July 8, 2025 10:07 AM > To: Tamar Christina > Cc: Kyrylo Tkachov ; GCC Patches patc...@gcc.gnu.org>; Richard Earnshaw ; Alex > Coplan ; Andrew Pinski > Subject: Re: [PATCH 3/7] aarch64: Handl

Re: [PATCH 3/7] aarch64: Handle DImode BCAX operations

2025-07-08 Thread Richard Sandiford
Tamar Christina writes: >> -Original Message- >> From: Richard Sandiford >> Sent: Monday, July 7, 2025 12:55 PM >> To: Kyrylo Tkachov >> Cc: GCC Patches ; Richard Earnshaw >> ; Alex Coplan ; Andrew >> Pinski >> Subject: Re: [P

RE: [PATCH 3/7] aarch64: Handle DImode BCAX operations

2025-07-07 Thread Tamar Christina
> -Original Message- > From: Richard Sandiford > Sent: Monday, July 7, 2025 12:55 PM > To: Kyrylo Tkachov > Cc: GCC Patches ; Richard Earnshaw > ; Alex Coplan ; Andrew > Pinski > Subject: Re: [PATCH 3/7] aarch64: Handle DImode BCAX operations > > Richard

Re: [PATCH 3/7] aarch64: Handle DImode BCAX operations

2025-07-07 Thread Richard Sandiford
t;> Signed-off-by: Kyrylo Tkachov >> >> gcc/ >> >> * config/aarch64/aarch64-simd.md (*bcaxqdi4): New >> define_insn_and_split. >> >> gcc/testsuite/ >> >> * gcc.target/aarch64/simd/bcax_d.c: Add tests for DImode arguments. >>

Re: [PATCH 3/7] aarch64: Handle DImode BCAX operations

2025-07-07 Thread Richard Sandiford
* gcc.target/aarch64/simd/bcax_d.c: Add tests for DImode arguments. > > From 95268cff1261a7724190dd291f9fcb5a7c817917 Mon Sep 17 00:00:00 2001 > From: Kyrylo Tkachov > Date: Thu, 3 Jul 2025 09:45:02 -0700 > Subject: [PATCH 3/7] aarch64: Handle DImode BCAX operations > > To han

[PATCH 3/7] aarch64: Handle DImode BCAX operations

2025-07-07 Thread Kyrylo Tkachov
Hi all, To handle DImode BCAX operations we want to do them on the SIMD side only if the incoming arguments don't require a cross-bank move. This means we need to split back the combination to separate GP BIC+EOR instructions if the operands are expected to be in GP regs through reload. The split