]> gcc.gnu.org Git - gcc.git/commit
testsuite/arm: Add arm_hard_ok check in armv8_2-fp16-scalar-2.c
authorChristophe Lyon <christophe.lyon@linaro.org>
Sun, 26 Apr 2020 18:56:11 +0000 (18:56 +0000)
committerChristophe Lyon <christophe.lyon@linaro.org>
Tue, 23 Mar 2021 15:11:49 +0000 (15:11 +0000)
commit1843341b12933a86380cc201c845cb9d732a377f
treeaa9e4f795ee3ace3a59aba3bf287500580f9d5c4
parentfcfad74515da38bf73d67e2eb76e81a3cd862340
testsuite/arm: Add arm_hard_ok check in armv8_2-fp16-scalar-2.c

This test relies on -mfloat-abi=hard to pass (otherwise
test_mov_imm_[12] directly build the 1.0 fp16 representation via movw
r0, #15360 rather than using vmov.f16 s0, #1.0e+0 as expected by
scan-assembler-times)

Adding the arm_hard_ok check makes the test unsupported eg. on
arm-linux-gnueabi instead of reporting a failure.

2021-03-20  Christophe Lyon  <christophe.lyon@linaro.org>

gcc/testsuite/
* gcc.target/arm/armv8_2-fp16-scalar-2.c: Add arm_hard_ok.
gcc/testsuite/gcc.target/arm/armv8_2-fp16-scalar-2.c
This page took 0.063765 seconds and 5 git commands to generate.