testsuite: [arm/mve] Use dg-add-options arm_v8_1m_mve in MVE tests
authorChristophe Lyon <christophe.lyon@linaro.org>
Wed, 22 Apr 2020 13:48:59 +0000 (13:48 +0000)
committerChristophe Lyon <christophe.lyon@linaro.org>
Wed, 22 Apr 2020 13:56:51 +0000 (13:56 +0000)
commit90d6f07c0157d90dd2b5eaeff08f7a4706cac83a
treec093a52ac1cd2ce17c42308dc31d5507dbe57e07
parentbdeca63ce7f6d915d2a22a638a19dc2b92934794
testsuite: [arm/mve] Use dg-add-options arm_v8_1m_mve in MVE tests

Several ARM/MVE tests can be compiled even if the toolchain does not
support -mfloat-abi=hard (softfp is OK).

Use dg-add-options arm_v8_1m_mve or arm_v8_1m_mve_fp instead of using
dg-additional-options.

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

gcc/testsuite/
* gcc.target/arm/mve/intrinsics/mve_vector_float.c: Use
arm_v8_1m_mve_fp.
* gcc.target/arm/mve/intrinsics/mve_vector_float1.c: Likewise.
* gcc.target/arm/mve/intrinsics/mve_vector_float2.c: Likewise.
* gcc.target/arm/mve/intrinsics/mve_vector_int.c: Use
arm_v8_1m_mve.
* gcc.target/arm/mve/intrinsics/mve_vector_int1.c: Likewise.
* gcc.target/arm/mve/intrinsics/mve_vector_int2.c: Likewise.
* gcc.target/arm/mve/intrinsics/mve_vector_uint.c: Likewise.
* gcc.target/arm/mve/intrinsics/mve_vector_uint1.c: Likewise.
* gcc.target/arm/mve/intrinsics/mve_vector_uint2.c: Likewise.
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_vector_float.c
gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_vector_float1.c
gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_vector_float2.c
gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_vector_int.c
gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_vector_int1.c
gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_vector_int2.c
gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_vector_uint.c
gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_vector_uint1.c
gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_vector_uint2.c