]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite/arm: Add arm_v8_2a_fp16_neon and arm_v8_2a_bf16_neon options
authorChristophe Lyon <christophe.lyon@linaro.org>
Thu, 18 Mar 2021 14:02:53 +0000 (14:02 +0000)
committerChristophe Lyon <christophe.lyon@linaro.org>
Tue, 23 Mar 2021 15:11:45 +0000 (15:11 +0000)
commit3c0351f287e1fdf9a085c499f4657a6501c6cf29
tree0b21e92e29e464a3303616a422ca660fc1296c47
parentbaef0cffb58be7f5d9aeac6313ea9d8becc017b1
testsuite/arm: Add arm_v8_2a_fp16_neon and arm_v8_2a_bf16_neon options

A few tests lack the dg-add-options directives associated with the
dg-require-effective-target they are using. Adding them enables to
pass the right float-abi option, and thus make the tests pass instead
of emit an error.

For instance, we now pass -mfloat-abi=softfp on arm-linux-gnueabi
targets and the tests pass.

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

gcc/testsuite/
* gcc.target/arm/bfloat16_scalar_typecheck.c: Add
arm_v8_2a_fp16_neon and arm_v8_2a_bf16_neon.
* gcc.target/arm/bfloat16_vector_typecheck_1.c: Likewise.
* gcc.target/arm/bfloat16_vector_typecheck_2.c: Likewise.
gcc/testsuite/gcc.target/arm/bfloat16_scalar_typecheck.c
gcc/testsuite/gcc.target/arm/bfloat16_vector_typecheck_1.c
gcc/testsuite/gcc.target/arm/bfloat16_vector_typecheck_2.c