]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: arm: [MVE] Relax expected code for vbicq_f [PR122223]
authorChristophe Lyon <christophe.lyon@linaro.org>
Thu, 23 Oct 2025 07:59:20 +0000 (07:59 +0000)
committerChristophe Lyon <christophe.lyon@linaro.org>
Thu, 23 Oct 2025 08:10:22 +0000 (08:10 +0000)
The original versions of the pr122223.c test only took into account
code generated with -mfloat-abi=hard, which uses q0.

With -mfloat-abi=softfp, this can be any Q register, so replace q0
with a suitable regex.

gcc/testsuite/ChangeLog:

PR target/122223
* gcc.target/arm/mve/intrinsics/pr122223.c: Relax expected code.

gcc/testsuite/gcc.target/arm/mve/intrinsics/pr122223.c

index 59e757a1ab7a1db301100ecadd392e16b0f8f9d8..045815c630e679260bc390102ee538073faa9dee 100644 (file)
@@ -21,5 +21,5 @@ float32x4_t foo() {
 }
 #endif
 
-/* { dg-final { scan-assembler-not "vmov.f32\tq0, #0.0" } } */
-/* { dg-final { scan-assembler "vmov.f32\tq0, #1.0" } } */
+/* { dg-final { scan-assembler-not "vmov.f32\tq\[0-9\]+, #0.0" } } */
+/* { dg-final { scan-assembler "vmov.f32\tq\[0-9\]+, #1.0" } } */