From 905964740f674a784224620d1339676448aaada6 Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Sun, 6 Aug 2017 18:10:58 +0000 Subject: [PATCH] atomic_cmp_exchange_zero_reg_1.c: Pass -march=armv8-a+nolse, skip if -mcpu= is passed. 2017-08-06 Andrew Pinski * 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 | 6 ++++++ .../gcc.target/aarch64/atomic_cmp_exchange_zero_reg_1.c | 3 ++- .../gcc.target/aarch64/atomic_cmp_exchange_zero_strong_1.c | 3 ++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4a8c46e67f4..a6a2798e916 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2017-08-06 Andrew Pinski + + * 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 * gcc.target/aarch64/_Float16_1.c: Skip if supplied a -mcpu= option. diff --git a/gcc/testsuite/gcc.target/aarch64/atomic_cmp_exchange_zero_reg_1.c b/gcc/testsuite/gcc.target/aarch64/atomic_cmp_exchange_zero_reg_1.c index 15606b68990..f2a21ddf2e1 100644 --- a/gcc/testsuite/gcc.target/aarch64/atomic_cmp_exchange_zero_reg_1.c +++ b/gcc/testsuite/gcc.target/aarch64/atomic_cmp_exchange_zero_reg_1.c @@ -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) diff --git a/gcc/testsuite/gcc.target/aarch64/atomic_cmp_exchange_zero_strong_1.c b/gcc/testsuite/gcc.target/aarch64/atomic_cmp_exchange_zero_strong_1.c index b14a7c29437..8d2ae67dfbe 100644 --- a/gcc/testsuite/gcc.target/aarch64/atomic_cmp_exchange_zero_strong_1.c +++ b/gcc/testsuite/gcc.target/aarch64/atomic_cmp_exchange_zero_strong_1.c @@ -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) -- 2.30.2