[ARM][testsuite] Add -mfloat-abi=softfp to some xscale tests
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Wed, 15 Jul 2015 09:45:10 +0000 (09:45 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Wed, 15 Jul 2015 09:45:10 +0000 (09:45 +0000)
* gcc.target/arm/scd42-1.c: Add -mfloat-abi=softfp and appropriate
dg-skip-if.
* gcc.target/arm/scd42-3.c: Likewise.

From-SVN: r225814

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/scd42-1.c
gcc/testsuite/gcc.target/arm/scd42-3.c

index 75a83ae641eb131f803d99f9eb53feadf08ec9be..28b9aeb488d6f129da2b72cbe0c1f00bfb196b0d 100644 (file)
@@ -1,3 +1,9 @@
+2015-07-15  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
+
+       * gcc.target/arm/scd42-1.c: Add -mfloat-abi=softfp and appropriate
+       dg-skip-if.
+       * gcc.target/arm/scd42-3.c: Likewise.
+
 2015-07-15  Andrew Bennett  <andrew.bennett@imgtec.com>
 
        * gcc.target/mips/mips.exp (mips-dg-options): Allow the post-arch
index 420f7c4d8598d49879039637ee13ed811a4b7309..d1de24a097f393143bfd205022627cf525d20b6a 100644 (file)
@@ -1,7 +1,8 @@
 /* Verify that mov is preferred on XScale for loading a 1 byte constant. */
 /* { dg-do compile } */
 /* { dg-skip-if "incompatible options" { arm*-*-* } { "-march=*" } { "" } } */
-/* { dg-options "-mcpu=xscale -O" } */
+/* { dg-skip-if "do not override -mfloat-abi" { *-*-* } { "-mfloat-abi=*" } { "-mfloat-abi=softfp" } } */
+/* { dg-options "-mcpu=xscale -O -mfloat-abi=softfp" } */
 
 unsigned load1(void) __attribute__ ((naked));
 unsigned load1(void)
index eb90e43c4dccacfa0c1272b57831ecc1fa8a7acd..e566cb2548c083eb36992962a269137085a35bac 100644 (file)
@@ -2,7 +2,8 @@
 /* { dg-do compile } */
 /* { dg-skip-if "Test is specific to Xscale" { arm*-*-* } { "-march=*" } { "-march=xscale" } } */
 /* { dg-skip-if "Test is specific to Xscale" { arm*-*-* } { "-mcpu=*" } { "-mcpu=xscale" } } */
-/* { dg-options "-mcpu=xscale -O" } */
+/* { dg-skip-if "do not override -mfloat-abi" { *-*-* } { "-mfloat-abi=*" } { "-mfloat-abi=softfp" } } */
+/* { dg-options "-mcpu=xscale -O -mfloat-abi=softfp" } */
 
 unsigned load4(void) __attribute__ ((naked));
 unsigned load4(void)