atomic_cmp_exchange_zero_reg_1.c: Pass -march=armv8-a+nolse, skip if -mcpu= is passed.
authorAndrew Pinski <apinski@cavium.com>
Sun, 6 Aug 2017 18:10:58 +0000 (18:10 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Sun, 6 Aug 2017 18:10:58 +0000 (11:10 -0700)
2017-08-06  Andrew Pinski  <apinski@cavium.com>

        * gcc.target/aarch64/atomic_cmp_exchange_zero_reg_1.c: Pass
        -march=armv8-a+nolse, skip if -mcpu= is passed.
        * gcc.target/aarch64/atomic_cmp_exchange_zero_strong_1.c: Likewise.

From-SVN: r250903

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/atomic_cmp_exchange_zero_reg_1.c
gcc/testsuite/gcc.target/aarch64/atomic_cmp_exchange_zero_strong_1.c

index 4a8c46e67f47c53ca5b09e4f7dbedb40f36b9cb9..a6a2798e916da97cab45fa17dc967c18debc1297 100644 (file)
@@ -1,3 +1,9 @@
+2017-08-06  Andrew Pinski  <apinski@cavium.com>
+
+       * gcc.target/aarch64/atomic_cmp_exchange_zero_reg_1.c: Pass
+       -march=armv8-a+nolse, skip if -mcpu= is passed.
+       * gcc.target/aarch64/atomic_cmp_exchange_zero_strong_1.c: Likewise.
+
 2017-08-06  Andrew Pinski  <apinski@cavium.com>
 
        * gcc.target/aarch64/_Float16_1.c: Skip if supplied a -mcpu= option.
index 15606b6899012dcb6616e0313d343b77249e1b24..f2a21ddf2e13a2cd82de2db79cdcbbce175768bc 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
-/* { dg-options "-O2" } */
+/* { dg-options "-O2 -march=armv8-a+nolse" } */
+/* { dg-skip-if "" { *-*-* } { "-mcpu=*" } { "" } } */
 
 int
 foo (int *a)
index b14a7c294376f03cd13077d18d865f83a04bd04e..8d2ae67dfbe4155ec1af26da4a4cdc0fffb8c5de 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
-/* { dg-options "-O2" } */
+/* { dg-options "-O2 -march=armv8-a+nolse" } */
+/* { dg-skip-if "" { *-*-* } { "-mcpu=*" } { "" } } */
 
 int
 foo (int *a)