testsuite: [arm/mve] Use arm_softfp and arm_hard as needed in MVE tests
authorChristophe Lyon <christophe.lyon@linaro.org>
Wed, 22 Apr 2020 13:45:05 +0000 (13:45 +0000)
committerChristophe Lyon <christophe.lyon@linaro.org>
Wed, 22 Apr 2020 13:56:51 +0000 (13:56 +0000)
commitddce7c0cb30343a7fb8574907596699ca5332e65
tree5600960f6a9304905246e3eb603471ab5e4ab72f
parentd414c91510bec4f640de29661062d5672a5684e8
testsuite: [arm/mve] Use arm_softfp and arm_hard as needed in MVE tests

Some MVE tests explicitly test a -mfloat-abi=hard option, but we need
to check that the toolchain actually supports it (which may not be the
case for arm-linux-gnueabi* targets). We can thus remove the related
dg-skip directives.

We also make use of dg-add-options arm_v8_1m_mve_fp and arm_v8_1m_mve
instead of duplicating the corresponding options in
dg-additional-options where we keep only -mfloat-abi to override the
option selected by arm_v8_1m_mve_fp.

2020-04-22  Christophe Lyon  <christophe.lyon@linaro.org>

gcc/testsuite/
* gcc.target/arm/mve/intrinsics/mve_fp_fpu1.c: Use arm_hard_ok
effective target and arm_v8_1m_mve_fp options.
* gcc.target/arm/mve/intrinsics/mve_fp_fpu2.c: Use arm_softfp_ok
effective target and arm_v8_1m_mve_fp options.
* gcc.target/arm/mve/intrinsics/mve_fpu1.c: Use arm_hard_ok
effective target and arm_v8_1m_mve options.
* gcc.target/arm/mve/intrinsics/mve_fpu2.c: Use arm_softfp_ok
effective target and arm_v8_1m_mve options.
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_fp_fpu1.c
gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_fp_fpu2.c
gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_fpu1.c
gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_fpu2.c