arm: [testcase] Better narrow some bfloat16 testcase
authorAndrea Corallo <andrea.corallo@arm.com>
Thu, 5 Nov 2020 08:57:03 +0000 (08:57 +0000)
committerAndrea Corallo <andrea.corallo@arm.com>
Mon, 9 Nov 2020 11:35:18 +0000 (12:35 +0100)
2020-11-05  Andrea Corallo  <andrea.corallo@arm.com>

* gcc.target/arm/simd/vld1_lane_bf16_1.c: Require target to
support and add -mfloat-abi=hard flag.
* gcc.target/arm/simd/vld1_lane_bf16_indices_1.c: Likewise.
* gcc.target/arm/simd/vld1q_lane_bf16_indices_1.c: Likewise.
* gcc.target/arm/simd/vst1_lane_bf16_1.c: Likewise.
* gcc.target/arm/simd/vst1_lane_bf16_indices_1.c: Likewise.
* gcc.target/arm/simd/vstq1_lane_bf16_indices_1.c: Likewise.

gcc/testsuite/gcc.target/arm/simd/vld1_lane_bf16_1.c
gcc/testsuite/gcc.target/arm/simd/vld1_lane_bf16_indices_1.c
gcc/testsuite/gcc.target/arm/simd/vld1q_lane_bf16_indices_1.c
gcc/testsuite/gcc.target/arm/simd/vst1_lane_bf16_1.c
gcc/testsuite/gcc.target/arm/simd/vst1_lane_bf16_indices_1.c
gcc/testsuite/gcc.target/arm/simd/vstq1_lane_bf16_indices_1.c

index fa4e45b7217d9a047d624e5845a40aff4867e318..94fb38f32b8f13afbe369bcc709790aa43503250 100644 (file)
@@ -1,7 +1,8 @@
 /* { dg-do assemble } */
 /* { dg-require-effective-target arm_v8_2a_bf16_neon_ok } */
+/* { dg-require-effective-target arm_hard_ok } */
 /* { dg-add-options arm_v8_2a_bf16_neon } */
-/* { dg-additional-options "-O3 --save-temps" } */
+/* { dg-additional-options "-O3 --save-temps -mfloat-abi=hard" } */
 
 #include "arm_neon.h"
 
index c83eb53234d49ce05664a9f8af11ae2e0848a812..d9af512cf92c6d02b7013cb693f41298547e3e4c 100644 (file)
@@ -1,6 +1,8 @@
 /* { dg-do assemble } */
 /* { dg-require-effective-target arm_v8_2a_bf16_neon_ok } */
+/* { dg-require-effective-target arm_hard_ok } */
 /* { dg-add-options arm_v8_2a_bf16_neon } */
+/* { dg-additional-options "-mfloat-abi=hard" } */
 
 #include "arm_neon.h"
 
index 8e21e61c9c05ce169b66258c02c127b90c1e56da..a73184c0f7806a3c31ad0763db2ca4331899a18f 100644 (file)
@@ -1,6 +1,8 @@
 /* { dg-do assemble } */
 /* { dg-require-effective-target arm_v8_2a_bf16_neon_ok } */
+/* { dg-require-effective-target arm_hard_ok } */
 /* { dg-add-options arm_v8_2a_bf16_neon } */
+/* { dg-additional-options "-mfloat-abi=hard" } */
 
 #include "arm_neon.h"
 
index e018ec6592fbdd3ca8c5f36db018597402bde1ed..8564b8fa062395d0f4ad2a89b3f13ea311f79892 100644 (file)
@@ -1,7 +1,8 @@
 /* { dg-do assemble } */
 /* { dg-require-effective-target arm_v8_2a_bf16_neon_ok } */
+/* { dg-require-effective-target arm_hard_ok } */
 /* { dg-add-options arm_v8_2a_bf16_neon } */
-/* { dg-additional-options "-O3 --save-temps" } */
+/* { dg-additional-options "-O3 --save-temps -mfloat-abi=hard" } */
 
 #include "arm_neon.h"
 
index 39870dc054ccd9c8ed5938fd015d5c18c25eabb4..1bd68718d1076d7bc333519237071f822dfb90aa 100644 (file)
@@ -1,6 +1,8 @@
 /* { dg-do assemble } */
 /* { dg-require-effective-target arm_v8_2a_bf16_neon_ok } */
+/* { dg-require-effective-target arm_hard_ok } */
 /* { dg-add-options arm_v8_2a_bf16_neon } */
+/* { dg-additional-options "-mfloat-abi=hard" } */
 
 #include "arm_neon.h"
 
index f31bd120fc210f17e6efb2e35f27af33a8da4a2c..f18a4792a14fa2991405b073bb2d6c5b460ed303 100644 (file)
@@ -1,6 +1,8 @@
 /* { dg-do assemble } */
 /* { dg-require-effective-target arm_v8_2a_bf16_neon_ok } */
+/* { dg-require-effective-target arm_hard_ok } */
 /* { dg-add-options arm_v8_2a_bf16_neon } */
+/* { dg-additional-options "-mfloat-abi=hard" } */
 
 #include "arm_neon.h"