On 10/30/26 5:31 AM, Merlin Warner-Huish wrote:
r17-5664 restricted the negated FMA folds in match.pd to
!HONOR_SIGNED_ZEROS. These tests expect those folds to apply with the
default options, so they started failing on aarch64. Add
-fno-signed-zeros to them, as that commit did for the i386 FMA tests.
PR middle-end/124820
gcc/testsuite/ChangeLog:
* gcc.dg/fma-5.c: Add -fno-signed-zeros.
* gcc.dg/fma-6.c: Likewise.
* gcc.dg/fma-7.c: Likewise.
* gcc.target/aarch64/sve/unpacked_cond_fnmla_1.c: Likewise.
* gcc.target/aarch64/sve/unpacked_cond_fnmla_2.c: Likewise.
* gcc.target/aarch64/sve/unpacked_cond_fnmls_1.c: Likewise.
* gcc.target/aarch64/sve/unpacked_cond_fnmls_2.c: Likewise.
* gcc.target/aarch64/sve/unpacked_fnmla_1.c: Likewise.
* gcc.target/aarch64/sve/unpacked_fnmla_2.c: Likewise.
* gcc.target/aarch64/sve/unpacked_fnmls_1.c: Likewise.
* gcc.target/aarch64/sve/unpacked_fnmls_2.c: Likewise.
* gcc.target/aarch64/sve/vcond_13.c: Likewise.
* gcc.target/aarch64/sve/vcond_14.c: Likewise.
* gcc.target/aarch64/sve/vcond_15.c: Likewise.
* gcc.target/aarch64/sve/vcond_16.c: Likewise.
---
These are the 65 aarch64 failures reported by the Linaro CI after
r17-5664. Tested with an aarch64-linux-gnu cross compiler (they are
all compile-only tests): all of them fail before this patch and pass
after it. Also checked gcc.dg/fma-[567].c on x86_64-pc-linux-gnu.
The unpacked_cond_* and vcond_* tests cover the IFN_COND_* folds the
original patch changed, so those changes are tested after all.
My write access request is still pending, so I'd be grateful if
someone could commit this once approved.
OK. I also ack'd your account request over the weekend, so hopefully
you'll be set up Monday US time. I'll push this patch since it's a
regression and it's good to see the state go from reg back to green in
my tester :-)
jeff