[PATCH 2/17][Testsuite] Add a selector for ARM FP16 alternative format support.
authorMatthew Wahab <matthew.wahab@arm.com>
Fri, 23 Sep 2016 08:52:55 +0000 (08:52 +0000)
committerMatthew Wahab <mwahab@gcc.gnu.org>
Fri, 23 Sep 2016 08:52:55 +0000 (08:52 +0000)
commita5b42ee71336cfe55e42c50e2379be21c347b97a
tree23d35dd304fdd23ce270f860dcb3ab5f4b71dd5b
parentfcbc975bed3ff53d2e4268eb507a073ce4a19fe2
[PATCH 2/17][Testsuite] Add a selector for ARM FP16 alternative format support.

2016-09-23  Matthew Wahab  <matthew.wahab@arm.com>

* doc/sourcebuild.texi (ARM-specific attributes): Add entries for
arm_fp16_alternative_ok and arm_fp16_none_ok.

testsuite/
2016-09-23  Matthew Wahab  <matthew.wahab@arm.com>

* g++.dg/ext/arm-fp16/arm-fp16-ops-3.C: Use
arm_fp16_alternative_ok.
* g++.dg/ext/arm-fp16/arm-fp16-ops-4.C: Likewise.
* gcc.dg/torture/arm-fp16-int-convert-alt.c: Likewise.
* gcc/testsuite/gcc.dg/torture/arm-fp16-ops-3.c: Likewise.
* gcc/testsuite/gcc.dg/torture/arm-fp16-ops-4.c: Likewise.
* gcc.target/arm/fp16-compile-alt-1.c: Likewise.
* gcc.target/arm/fp16-compile-alt-10.c: Likewise.
* gcc.target/arm/fp16-compile-alt-11.c: Likewise.
* gcc.target/arm/fp16-compile-alt-12.c: Likewise.
* gcc.target/arm/fp16-compile-alt-2.c: Likewise.
* gcc.target/arm/fp16-compile-alt-3.c: Likewise.
* gcc.target/arm/fp16-compile-alt-4.c: Likewise.
* gcc.target/arm/fp16-compile-alt-5.c: Likewise.
* gcc.target/arm/fp16-compile-alt-6.c: Likewise.
* gcc.target/arm/fp16-compile-alt-7.c: Likewise.
* gcc.target/arm/fp16-compile-alt-8.c: Likewise.
* gcc.target/arm/fp16-compile-alt-9.c: Likewise.
* gcc.target/arm/fp16-compile-none-1.c: Use arm_fp16_none_ok.
* gcc.target/arm/fp16-compile-none-2.c: Likewise.
* gcc.target/arm/fp16-rounding-alt-1.c: Use
arm_fp16_alternative_ok.
* lib/target-supports.exp
(check_effective_target_arm_fp16_alternative_ok_nocache): New.
(check_effective_target_arm_fp16_alternative_ok): New.
(check_effective_target_arm_fp16_none_ok_nocache): New.
(check_effective_target_arm_fp16_none_ok): New.

From-SVN: r240400
24 files changed:
gcc/ChangeLog
gcc/doc/sourcebuild.texi
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/arm-fp16/arm-fp16-ops-3.C
gcc/testsuite/g++.dg/ext/arm-fp16/arm-fp16-ops-4.C
gcc/testsuite/gcc.dg/torture/arm-fp16-int-convert-alt.c
gcc/testsuite/gcc.dg/torture/arm-fp16-ops-3.c
gcc/testsuite/gcc.dg/torture/arm-fp16-ops-4.c
gcc/testsuite/gcc.target/arm/fp16-compile-alt-1.c
gcc/testsuite/gcc.target/arm/fp16-compile-alt-10.c
gcc/testsuite/gcc.target/arm/fp16-compile-alt-11.c
gcc/testsuite/gcc.target/arm/fp16-compile-alt-12.c
gcc/testsuite/gcc.target/arm/fp16-compile-alt-2.c
gcc/testsuite/gcc.target/arm/fp16-compile-alt-3.c
gcc/testsuite/gcc.target/arm/fp16-compile-alt-4.c
gcc/testsuite/gcc.target/arm/fp16-compile-alt-5.c
gcc/testsuite/gcc.target/arm/fp16-compile-alt-6.c
gcc/testsuite/gcc.target/arm/fp16-compile-alt-7.c
gcc/testsuite/gcc.target/arm/fp16-compile-alt-8.c
gcc/testsuite/gcc.target/arm/fp16-compile-alt-9.c
gcc/testsuite/gcc.target/arm/fp16-compile-none-1.c
gcc/testsuite/gcc.target/arm/fp16-compile-none-2.c
gcc/testsuite/gcc.target/arm/fp16-rounding-alt-1.c
gcc/testsuite/lib/target-supports.exp