[Testsuite] Use correct effective-target settings for ARM fp16-aapcs tests.
authorMatthew Wahab <matthew.wahab@arm.com>
Fri, 30 Sep 2016 13:25:04 +0000 (13:25 +0000)
committerMatthew Wahab <mwahab@gcc.gnu.org>
Fri, 30 Sep 2016 13:25:04 +0000 (13:25 +0000)
2016-09-30  Matthew Wawhab  <matthew.wahab@arm.com>

* gcc.target/arm/fp16-aapcs-3.c: Replace arm_fp16_ok with
arm_fp16_alternative_ok as the required effective target.
* gcc.target/arm/fp16-aapcs-4.c: Likewise.  Also add
-mfp16-format=alternative to the dg-options directive and remove
the dg-add-options directive.

From-SVN: r240655

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/fp16-aapcs-3.c
gcc/testsuite/gcc.target/arm/fp16-aapcs-4.c

index 3a359ba53aca55bb7b309277325ba74bb00ec2f7..93f72c329748395aa546e6dad1c48a4af3d2dbe2 100644 (file)
@@ -1,3 +1,11 @@
+2016-09-30  Matthew Wawhab  <matthew.wahab@arm.com>
+
+       * gcc.target/arm/fp16-aapcs-3.c: Replace arm_fp16_ok with
+       arm_fp16_alternative_ok as the required effective target.
+       * gcc.target/arm/fp16-aapcs-4.c: Likewise.  Also add
+       -mfp16-format=alternative to the dg-options directive and remove
+       the dg-add-options directive.
+
 2016-09-30  Fritz Reese  <fritzoreese@gmail.com>
 
        PR fortran/77764
index b7d7e58256c376b8a77ce3c2112e27068c354e09..84fc0a0f5f06b1714a70f4703213ca10ea0b268e 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do compile }  */
 /* { dg-require-effective-target arm_hard_vfp_ok }  */
-/* { dg-require-effective-target arm_fp16_ok } */
+/* { dg-require-effective-target arm_fp16_alternative_ok } */
 /* { dg-options "-O2" }  */
 /* { dg-add-options arm_fp16_alternative } */
 
index 4c90a56e03726d2b91a8ac7207737e221171312a..41c7ab780a6a3c8318476947e801a68ebe0486f5 100644 (file)
@@ -1,7 +1,6 @@
 /* { dg-do compile }  */
-/* { dg-require-effective-target arm_fp16_ok } */
-/* { dg-options "-mfloat-abi=softfp -O2" }  */
-/* { dg-add-options arm_fp16_alternative } */
+/* { dg-require-effective-target arm_fp16_alternative_ok } */
+/* { dg-options "-mfloat-abi=softfp -O2 -mfp16-format=alternative" }  */
 /* { dg-skip-if "incompatible float-abi" { arm*-*-* } { "-mfloat-abi=hard" } } */
 
 /* Test __fp16 arguments and return value in registers (softfp).  */