Re: [PATCH]AArch64: force operand to fresh register to avoid subreg issues [PR118892]

2025-03-03 Thread Richard Sandiford
: Tamar Christina >> >> Cc: gcc-patches@gcc.gnu.org; nd ; Richard Earnshaw >> >> ; ktkac...@gcc.gnu.org >> >> Subject: Re: [PATCH]AArch64: force operand to fresh register to avoid >> >> subreg >> >> issues [PR118892] >> &

Re: [PATCH]AArch64: force operand to fresh register to avoid subreg issues [PR118892]

2025-03-03 Thread Christophe Lyon
; nd ; Richard Earnshaw > >> ; ktkac...@gcc.gnu.org > >> Subject: Re: [PATCH]AArch64: force operand to fresh register to avoid > >> subreg > >> issues [PR118892] > >> > >> Tamar Christina writes: > >> > Hi All, > >> > &g

Re: [PATCH]AArch64: force operand to fresh register to avoid subreg issues [PR118892]

2025-03-03 Thread Richard Sandiford
Tamar Christina writes: >> -Original Message- >> From: Richard Sandiford >> Sent: Monday, March 3, 2025 10:12 AM >> To: Tamar Christina >> Cc: gcc-patches@gcc.gnu.org; nd ; Richard Earnshaw >> ; ktkac...@gcc.gnu.org >> Subject: Re: [PATCH]A

RE: [PATCH]AArch64: force operand to fresh register to avoid subreg issues [PR118892]

2025-03-03 Thread Tamar Christina
> -Original Message- > From: Richard Sandiford > Sent: Monday, March 3, 2025 10:12 AM > To: Tamar Christina > Cc: gcc-patches@gcc.gnu.org; nd ; Richard Earnshaw > ; ktkac...@gcc.gnu.org > Subject: Re: [PATCH]AArch64: force operand to fresh register to avoid subr

Re: [PATCH]AArch64: force operand to fresh register to avoid subreg issues [PR118892]

2025-03-03 Thread Richard Sandiford
Tamar Christina writes: > Hi All, > > When the input is already a subreg and we try to make a paradoxical > subreg out of it for copysign this can fail if it violates the sugreg subreg > relationship. > > Use force_lowpart_subreg instead of lowpart_subreg to then force the > results to a registe

[PATCH]AArch64: force operand to fresh register to avoid subreg issues [PR118892]

2025-02-27 Thread Tamar Christina
Hi All, When the input is already a subreg and we try to make a paradoxical subreg out of it for copysign this can fail if it violates the sugreg relationship. Use force_lowpart_subreg instead of lowpart_subreg to then force the results to a register instead of ICEing. Bootstrapped Regtested on