[Testsuite] Use correct effective-target settings for ARM fp16-aapcs tests.

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
This commit is contained in:
Matthew Wahab 2016-09-30 13:25:04 +00:00 committed by Matthew Wahab
parent 0be5622712
commit e70bbc6f1f
3 changed files with 11 additions and 4 deletions

View 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

View 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 } */

View 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). */