Skip tests for inappropriate multilibs.
authorRamana Radhakrishnan <ramana.radhakrishnan@arm.com>
Wed, 24 Jun 2015 14:08:03 +0000 (14:08 +0000)
committerRamana Radhakrishnan <ramana@gcc.gnu.org>
Wed, 24 Jun 2015 14:08:03 +0000 (14:08 +0000)
2015-06-24  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

* gcc.target/arm/fixed_float_conversion.c: Skip for inappropriate
          multilibs.
* gcc.target/arm/memset-inline-10.c: Likewise.
* gcc.target/arm/pr58784.c: Likewise.
* gcc.target/arm/pr59985.C: Likewise.
* gcc.target/arm/vfp-1.c: Likewise and test only for the non fma cases.

From-SVN: r224899

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/fixed_float_conversion.c
gcc/testsuite/gcc.target/arm/memset-inline-10.c
gcc/testsuite/gcc.target/arm/pr58784.c
gcc/testsuite/gcc.target/arm/pr59985.C
gcc/testsuite/gcc.target/arm/vfp-1.c

index 4de4285981704145f362205d03788c7ec9c5ae78..40d8497fa541b0f710cfc525563bfc5c46d382c9 100644 (file)
@@ -1,3 +1,12 @@
+2015-06-24  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
+
+       * gcc.target/arm/fixed_float_conversion.c: Skip for inappropriate
+          multilibs.
+       * gcc.target/arm/memset-inline-10.c: Likewise.
+       * gcc.target/arm/pr58784.c: Likewise.
+       * gcc.target/arm/pr59985.C: Likewise.
+       * gcc.target/arm/vfp-1.c: Likewise and test only for the non fma cases.
+
 2015-06-24  Renlin Li  <renlin.li@arm.com>
 
        * gcc.target/aarch64/arm_align_max_pwr.c: New.
index 078b103745d6b9b7dfb73be22f67041924e64612..05ccd14c8dea77165774cba809a0ec1c3917cc49 100644 (file)
@@ -3,6 +3,7 @@
 /* { dg-require-effective-target arm_vfp3_ok } */
 /* { dg-options "-O1" } */
 /* { dg-add-options arm_vfp3 } */
+/* { dg-skip-if "need fp instructions" { *-*-* } { "-mfloat-abi=soft" } { "" } } */
 
 float
 fixed_to_float (int i)
index d3b777c3eafab296cad4ec91bded2128cfe751fe..c1087c8e693fb723ca9396108f5fe872ede167e9 100644 (file)
@@ -1,5 +1,7 @@
 /* { dg-do compile } */
 /* { dg-options "-march=armv7-a -mfloat-abi=hard -mfpu=neon -O2" } */
+/* { dg-skip-if "need SIMD instructions" { *-*-* } { "-mfloat-abi=soft" } { "" } } */
+/* { dg-skip-if "need SIMD instructions" { *-*-* } { "-mfpu=vfp*" } { "" } } */
 
 #define BUF 100
 long a[BUF];
index 4ee3ef5a4fb833c99e2c2965cebf0a39571f60dc..29a0f73cc0fb1e8ef179f2f67b137ae16a7e40d5 100644 (file)
@@ -1,6 +1,8 @@
 /* { dg-do compile } */
 /* { dg-skip-if "incompatible options" { arm_thumb1 } { "*" } { "" } } */
 /* { dg-options "-march=armv7-a -mfloat-abi=hard -mfpu=neon -marm -O2" } */
+/* { dg-skip-if "need hardfp ABI" { *-*-* } { "-mfloat-abi=soft" } { "" } } */
+
 
 typedef struct __attribute__ ((__packed__))
 {
index 1351c486fe3e8e74a3ce4b6e0138855bd2c479d6..97d5915592f4df1de9fda9a7425e58a9cef96cd1 100644 (file)
@@ -1,6 +1,7 @@
 /* { dg-do compile } */
 /* { dg-skip-if "incompatible options" { arm_thumb1 } { "*" } { "" } } */
 /* { dg-options "-g -fcompare-debug -O2 -march=armv7-a -mtune=cortex-a9 -mfpu=vfpv3-d16 -mfloat-abi=hard" } */
+/* { dg-skip-if "need hardfp abi" { *-*-* } { "-mfloat-abi=soft" } { "" } } */
 
 extern void *f1 (unsigned long, unsigned long);
 extern const struct line_map *f2 (void *, int, unsigned int, const char *, unsigned int);
index b6bb7be9995b9009409532293be02f2329545c8c..9aa530240383199625fa07eaeff2171c92d0cdd7 100644 (file)
@@ -1,6 +1,7 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -mfpu=vfp -mfloat-abi=softfp" } */
+/* { dg-options "-O2 -mfpu=vfp -mfloat-abi=softfp -ffp-contract=off" } */
 /* { dg-require-effective-target arm_vfp_ok } */
+/* { dg-skip-if "need fp instructions" { *-*-* } { "-mfloat-abi=soft" } { "" } } */
 
 extern float fabsf (float);
 extern float sqrtf (float);