diff mbox series

[committed] AArch64 testsuite: skip PR103350 tests on big-endian

Message ID VI1PR08MB5325AFB6B9BBB832624E1DB6FFE49@VI1PR08MB5325.eurprd08.prod.outlook.com
State New
Headers show
Series [committed] AArch64 testsuite: skip PR103350 tests on big-endian | expand

Commit Message

Tamar Christina April 5, 2022, 6:10 p.m. UTC
Hi All,

These tests are reduced from a C program and use gcc vector extensions and so
aren't endianness agnostic. As such skip them on BE.

Regtested on aarch64_be-none-linux-gnu and no issues.

committed under the GCC obvious rule.

Thanks,
Tamar

gcc/testsuite/ChangeLog:

	* gcc.target/aarch64/pr103350-1.c: Skip on BE.
	* gcc.target/aarch64/pr103350-2.c: Likewise.

--- inline copy of patch -- 
diff --git a/gcc/testsuite/gcc.target/aarch64/pr103350-1.c b/gcc/testsuite/gcc.target/aarch64/pr103350-1.c
index 61c796dc6e8e3733a9446c89189135b83ecb4f3e..a0e764e865359959893ee7fc6cd86d38afc11932 100644


--
diff --git a/gcc/testsuite/gcc.target/aarch64/pr103350-1.c b/gcc/testsuite/gcc.target/aarch64/pr103350-1.c
index 61c796dc6e8e3733a9446c89189135b83ecb4f3e..a0e764e865359959893ee7fc6cd86d38afc11932 100644
--- a/gcc/testsuite/gcc.target/aarch64/pr103350-1.c
+++ b/gcc/testsuite/gcc.target/aarch64/pr103350-1.c
@@ -1,4 +1,4 @@
-/* { dg-do run } */
+/* { dg-do run { target le } } */
 /* { dg-additional-options "-Os -fno-tree-ter -save-temps -fdump-rtl-ree-all -free -std=c99 -w" } */
 
 typedef unsigned char u8;
diff --git a/gcc/testsuite/gcc.target/aarch64/pr103350-2.c b/gcc/testsuite/gcc.target/aarch64/pr103350-2.c
index 2696212710b9da1c065cd26d26dd9f09719cf9e9..f799dfc77ced58e3a52eb4afccefbde415830813 100644
--- a/gcc/testsuite/gcc.target/aarch64/pr103350-2.c
+++ b/gcc/testsuite/gcc.target/aarch64/pr103350-2.c
@@ -1,4 +1,4 @@
-/* { dg-do run } */
+/* { dg-do run { target le } } */
 /* { dg-additional-options "-O2 -save-temps -fdump-rtl-ree-all -free -std=c99 -w" } */
 
 typedef unsigned char __attribute__((__vector_size__ (8))) v64u8;
diff mbox series

Patch

--- a/gcc/testsuite/gcc.target/aarch64/pr103350-1.c
+++ b/gcc/testsuite/gcc.target/aarch64/pr103350-1.c
@@ -1,4 +1,4 @@ 
-/* { dg-do run } */
+/* { dg-do run { target le } } */
 /* { dg-additional-options "-Os -fno-tree-ter -save-temps -fdump-rtl-ree-all -free -std=c99 -w" } */
 
 typedef unsigned char u8;
diff --git a/gcc/testsuite/gcc.target/aarch64/pr103350-2.c b/gcc/testsuite/gcc.target/aarch64/pr103350-2.c
index 2696212710b9da1c065cd26d26dd9f09719cf9e9..f799dfc77ced58e3a52eb4afccefbde415830813 100644
--- a/gcc/testsuite/gcc.target/aarch64/pr103350-2.c
+++ b/gcc/testsuite/gcc.target/aarch64/pr103350-2.c
@@ -1,4 +1,4 @@ 
-/* { dg-do run } */
+/* { dg-do run { target le } } */
 /* { dg-additional-options "-O2 -save-temps -fdump-rtl-ree-all -free -std=c99 -w" } */
 
 typedef unsigned char __attribute__((__vector_size__ (8))) v64u8;