[testsuite,arm] use arm_fp_dp_ok effective-target
authorChristophe Lyon <christophe.lyon@linaro.org>
Tue, 24 Mar 2020 08:25:08 +0000 (08:25 +0000)
committerChristophe Lyon <christophe.lyon@linaro.org>
Tue, 24 Mar 2020 20:53:16 +0000 (20:53 +0000)
Switch to arm_fp_dp_ok effective-target in tests that require
double-precision support from the FPU.

2020-03-24  Christophe Lyon  <christophe.lyon@linaro.org>

gcc/testsuite/
* gcc/arm/vfp-1.c: Use arm_fp__ok effective-target.
* gcc.target/arm/vfp-ldmdbd.c: Likewise.
* gcc.target/arm/vfp-ldmiad.c: Likewise.
* gcc.target/arm/vfp-stmdbd.c: Likewise.
* gcc.target/arm/vfp-stmiad.c: Likewise.
* gcc.target/arm/vnmul-1.c: Likewise.
* gcc.target/arm/vnmul-3.c: Likewise.
* gcc.target/arm/vnmul-4.c: Likewise.

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/vfp-1.c
gcc/testsuite/gcc.target/arm/vfp-ldmdbd.c
gcc/testsuite/gcc.target/arm/vfp-ldmiad.c
gcc/testsuite/gcc.target/arm/vfp-stmdbd.c
gcc/testsuite/gcc.target/arm/vfp-stmiad.c
gcc/testsuite/gcc.target/arm/vnmul-1.c
gcc/testsuite/gcc.target/arm/vnmul-3.c
gcc/testsuite/gcc.target/arm/vnmul-4.c

index 149ee02348312335a551b9ecf524d1427f40815b..858ad070d6238d34babf9bfa88dd68facfa539af 100644 (file)
@@ -1,3 +1,14 @@
+2020-03-24  Christophe Lyon  <christophe.lyon@linaro.org>
+
+       * gcc/arm/vfp-1.c: Use arm_fp__ok effective-target.
+       * gcc.target/arm/vfp-ldmdbd.c: Likewise.
+       * gcc.target/arm/vfp-ldmiad.c: Likewise.
+       * gcc.target/arm/vfp-stmdbd.c: Likewise.
+       * gcc.target/arm/vfp-stmiad.c: Likewise.
+       * gcc.target/arm/vnmul-1.c: Likewise.
+       * gcc.target/arm/vnmul-3.c: Likewise.
+       * gcc.target/arm/vnmul-4.c: Likewise.
+
 2020-03-24  Christophe Lyon  <christophe.lyon@linaro.org>
 
        * gcc.target/arm/cmp-2.c: Move double-precision tests to...
index 7add1b869ea98cf6c71e7955c69441c0895d4fbc..b4694c786305dbde9fc8d81af8d65303fcc393a1 100644 (file)
@@ -1,7 +1,7 @@
 /* { dg-do compile } */
-/* { dg-require-effective-target arm_fp_ok } */
+/* { dg-require-effective-target arm_fp_dp_ok } */
 /* { dg-options "-O2 -ffp-contract=off" } */
-/* { dg-add-options arm_fp } */
+/* { dg-add-options arm_fp_dp } */
 /* { dg-skip-if "need fp instructions" { *-*-* } { "-mfloat-abi=soft" } { "" } } */
 
 extern float fabsf (float);
index 3489a2a9e2557bcb319b9a2deb8614f7856cd340..f66ed0f4258868c3430e861ba7912fb9d01b1ad9 100644 (file)
@@ -1,8 +1,8 @@
 /* { dg-do compile } */
-/* { dg-require-effective-target arm_fp_ok } */
+/* { dg-require-effective-target arm_fp_dp_ok } */
 /* { dg-skip-if "need fp instructions" { *-*-* } { "-mfloat-abi=soft" } { "" } } */
 /* { dg-options "-O2" } */
-/* { dg-add-options arm_fp } */
+/* { dg-add-options arm_fp_dp } */
 
 extern void bar (double);
 
index 422e3ed602b025eb5b6985784814931cc5331ea1..471ba63f01124ccf44167e7df49d89ebe0b34ce7 100644 (file)
@@ -1,8 +1,8 @@
 /* { dg-do compile } */
-/* { dg-require-effective-target arm_fp_ok } */
+/* { dg-require-effective-target arm_fp_dp_ok } */
 /* { dg-skip-if "need fp instructions" { *-*-* } { "-mfloat-abi=soft" } { "" } } */
 /* { dg-options "-O2" } */
-/* { dg-add-options arm_fp } */
+/* { dg-add-options arm_fp_dp } */
 
 extern void bar (double);
 
index 686fe86392b4e41d85cb3c98b1f30e57e6e9f61e..3892d7671b1030bdc04d27f050acf9032ce5c9fc 100644 (file)
@@ -1,8 +1,8 @@
 /* { dg-do compile } */
-/* { dg-require-effective-target arm_fp_ok } */
+/* { dg-require-effective-target arm_fp_dp_ok } */
 /* { dg-skip-if "need fp instructions" { *-*-* } { "-mfloat-abi=soft" } { "" } } */
 /* { dg-options "-O2" } */
-/* { dg-add-options arm_fp } */
+/* { dg-add-options arm_fp_dp } */
 
 void
 foo (double *p, double a, double b, int n)
index 665fa7a124b9b035dfb9106fc30fb15e3ecbcaad..ff53adc1355a571bbba36a2f438aed8febf8d4c8 100644 (file)
@@ -1,8 +1,8 @@
 /* { dg-do compile } */
-/* { dg-require-effective-target arm_fp_ok } */
+/* { dg-require-effective-target arm_fp_dp_ok } */
 /* { dg-skip-if "need fp instructions" { *-*-* } { "-mfloat-abi=soft" } { "" } } */
 /* { dg-options "-O2" } */
-/* { dg-add-options arm_fp } */
+/* { dg-add-options arm_fp_dp } */
 
 void
 foo (double *p, double a, double b, int n)
index fd00388a5392e53b60f6781136263a2e2f9ca190..fdac5f38bac2c4cc312d2cb54799576cb56d2982 100644 (file)
@@ -1,8 +1,8 @@
 /* { dg-do compile } */
-/* { dg-require-effective-target arm_fp_ok } */
+/* { dg-require-effective-target arm_fp_dp_ok } */
 /* { dg-skip-if "need fp instructions" { *-*-* } { "-mfloat-abi=soft" } { "" } } */
 /* { dg-options "-O2 -fno-rounding-math" } */
-/* { dg-add-options arm_fp } */
+/* { dg-add-options arm_fp_dp } */
 
 double
 foo_d (double a, double b)
index 44c1967ee7b291076b773dede0b08302263425a8..be13bbb433e0bdca3b7d2c85ecd1356b42d6ff67 100644 (file)
@@ -1,8 +1,8 @@
 /* { dg-do compile } */
-/* { dg-require-effective-target arm_fp_ok } */
+/* { dg-require-effective-target arm_fp_dp_ok } */
 /* { dg-skip-if "need fp instructions" { *-*-* } { "-mfloat-abi=soft" } { "" } } */
 /* { dg-options "-O2 -fno-rounding-math" } */
-/* { dg-add-options arm_fp } */
+/* { dg-add-options arm_fp_dp } */
 
 double
 foo_d (double a, double b)
index dd9cab3c727a4e85ace1714af19b540bb752dfc6..451a91faae9b26e65ba44b4c75d27d766a63f70d 100644 (file)
@@ -1,8 +1,8 @@
 /* { dg-do compile } */
-/* { dg-require-effective-target arm_fp_ok } */
+/* { dg-require-effective-target arm_fp_dp_ok } */
 /* { dg-skip-if "need fp instructions" { *-*-* } { "-mfloat-abi=soft" } { "" } } */
 /* { dg-options "-O2 -frounding-math" } */
-/* { dg-add-options arm_fp } */
+/* { dg-add-options arm_fp_dp } */
 
 double
 foo_d (double a, double b)