]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite/aarch64: Fix aarch64/signbitv2sf.c [PR122522]
authorAndrew Pinski <andrew.pinski@oss.qualcomm.com>
Tue, 13 Jan 2026 19:43:42 +0000 (11:43 -0800)
committerAndrew Pinski <andrew.pinski@oss.qualcomm.com>
Tue, 13 Jan 2026 19:49:07 +0000 (11:49 -0800)
commit7a456056ff9c2edc67cfcdf7bb8fe86176c66ec7
tree56e19423b8c5b6118ef4fb41b856868ce1db6371
parente2acc3d38e800f8dd1f45f5ae6bf2ee090044bcf
testsuite/aarch64: Fix aarch64/signbitv2sf.c [PR122522]

The problem here is after some heurstics changes the check
loop is now unrolled so we eliminate the array. This means
the check for not having -2147483648 no longer works as
we don't handle SLP in this case.
So the best option is to force the check loop not to unroll
(no vectorize) as this is just testing we SLP the normal
signbit places rather than dealing with the checking loop.

Pushed as obvious after testing the testcase on aarch64-linux-gnu.

PR testsuite/122522
gcc/testsuite/ChangeLog:

* gcc.target/aarch64/signbitv2sf.c (main): Disable
unrolling and vectorizer for the checking loop.

Signed-off-by: Andrew Pinski <andrew.pinski@oss.qualcomm.com>
gcc/testsuite/gcc.target/aarch64/signbitv2sf.c