mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-17 20:11:06 +08:00
[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:
parent
0be5622712
commit
e70bbc6f1f
@ -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
|
||||
|
@ -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 } */
|
||||
|
||||
|
@ -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). */
|
||||
|
Loading…
x
Reference in New Issue
Block a user