disable some aapcs/vfp*.c test if not arm_fp16_alternative_ok
authorJoel Brobecker <brobecker@adacore.com>
Fri, 1 Jan 2021 00:38:03 +0000 (21:38 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Fri, 1 Jan 2021 05:13:20 +0000 (02:13 -0300)
commit43dcbb07d29128321f9ffbde2b34635819bb5ac0
treed4ffe455b93c4881a9a92e7c0dab862d4e577e23
parenta210519cdde186f28ce9c906eb855c6b635ab25a
disable some aapcs/vfp*.c test if not arm_fp16_alternative_ok

The tests use -mfp16-format=alternative, and so should not be run
if that option isn't supported.

for  gcc/testsuite/ChangeLog

* lib/target-supports.exp
(check_effective_target_arm_fp16_alternative_ok_nocache):
Return zero for *-*-vxworks7r* targets.
* gcc.target/arm/aapcs/vfp22.c: Require arm_fp16_alternative_ok.
* gcc.target/arm/aapcs/vfp23.c: Likewise.
* gcc.target/arm/aapcs/vfp24.c: Likewise.
* gcc.target/arm/aapcs/vfp25.c: Likewise.
gcc/testsuite/gcc.target/arm/aapcs/vfp22.c
gcc/testsuite/gcc.target/arm/aapcs/vfp23.c
gcc/testsuite/gcc.target/arm/aapcs/vfp24.c
gcc/testsuite/gcc.target/arm/aapcs/vfp25.c
gcc/testsuite/lib/target-supports.exp