]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite/arm: Add arm_v8_2a_i8mm options in gcc.target/arm/simd/vmmla_1.c
authorChristophe Lyon <christophe.lyon@linaro.org>
Mon, 20 Apr 2020 22:36:09 +0000 (22:36 +0000)
committerChristophe Lyon <christophe.lyon@linaro.org>
Tue, 23 Mar 2021 15:11:46 +0000 (15:11 +0000)
We need to add the options corresponding to the arm_v8_2a_i8mm_ok
effective target in order to use the right float-abi option:
-mfloat-abi=softfp makes the test pass for arm-linux-gnueabi,
while no -mfloat-abi option is needed for arm-linux-gnueabihf.

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

gcc/testsuite/
* gcc.target/arm/simd/vmmla_1.c: Add arm_v8_2a_i8mm options.

gcc/testsuite/gcc.target/arm/simd/vmmla_1.c

index d33ebf361d4369f33487ce2c0d8cd95de0995fa0..a88c4eac62b1523f6f10722c88f8f64138d7e558 100644 (file)
@@ -1,6 +1,7 @@
 /* { dg-do assemble } */
 /* { dg-require-effective-target arm_v8_2a_i8mm_ok } */
-/* { dg-options "-save-temps -O2 -march=armv8.2-a+i8mm -mfpu=auto -mfloat-abi=hard" } */
+/* { dg-options "-save-temps -O2 -mfpu=auto" } */
+/* { dg-add-options arm_v8_2a_i8mm } */
 
 #include "arm_neon.h"