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.
(cherry picked from commit
a52888dc71924afb6cd187b0e5f18d2be4c68a07)
}
#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" } } */