]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: arm: Fix dg-final in short-vfp-1.c [PR119556]
authorChristophe Lyon <christophe.lyon@linaro.org>
Mon, 31 Mar 2025 19:00:44 +0000 (19:00 +0000)
committerChristophe Lyon <christophe.lyon@linaro.org>
Wed, 2 Apr 2025 08:14:29 +0000 (08:14 +0000)
Recent syntactic fixes enabled the test, but the result was failing.

It turns out it was missing a space between the register arguments in
the scan-assembler-times directives.

gcc/testsuite/ChangeLog:

PR target/119556
* gcc.target/arm/short-vfp-1.c: Add missing spaces.

gcc/testsuite/gcc.target/arm/short-vfp-1.c

index 18d38a5803779786dd5779fab38925a0c53b4ee2..f6866c4f60125a847d4cc8038102af8477718eab 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-require-effective-target arm_vfp_ok }
+/* { dg-require-effective-target arm_vfp_ok } */
 /* { dg-add-options arm_vfp } */
 
 int
@@ -38,8 +38,8 @@ test_sihi (short x)
   return (int)x;
 }
 
-/* { dg-final { scan-assembler-times {vcvt\.s32\.f32\ts[0-9]+,s[0-9]+} 2 } } */
-/* { dg-final { scan-assembler-times {vcvt\.f32\.s32\ts[0-9]+,s[0-9]+} 2 } } */
-/* { dg-final { scan-assembler-times {vmov\tr[0-9]+,s[0-9]+} 2 } } */
-/* { dg-final { scan-assembler-times {vmov\ts[0-9]+,r[0-9]+} 2 } } */
-/* { dg-final { scan-assembler-times {sxth\tr[0-9]+,r[0-9]+} 2 } } */
+/* { dg-final { scan-assembler-times {vcvt\.s32\.f32\ts[0-9]+, s[0-9]+} 2 } } */
+/* { dg-final { scan-assembler-times {vcvt\.f32\.s32\ts[0-9]+, s[0-9]+} 2 } } */
+/* { dg-final { scan-assembler-times {vmov\tr[0-9]+, s[0-9]+} 2 } } */
+/* { dg-final { scan-assembler-times {vmov\ts[0-9]+, r[0-9]+} 2 } } */
+/* { dg-final { scan-assembler-times {sxth\tr[0-9]+, r[0-9]+} 2 } } */