diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2012-05-03 13:54:58 +0200 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2012-05-03 13:54:58 +0200 |
commit | 520b49f3f1f40d401695c62329446c99e95f3894 (patch) | |
tree | 4a335585c3852b4fe00dc82f50e2828febc42fd7 /gcc | |
parent | 6ab1ab1480bf6090f1da481e6cb3da59e46f31bf (diff) | |
download | gcc-520b49f3f1f40d401695c62329446c99e95f3894.zip gcc-520b49f3f1f40d401695c62329446c99e95f3894.tar.gz gcc-520b49f3f1f40d401695c62329446c99e95f3894.tar.bz2 |
hle-cmpxchg-acq-1.c (dg-options): Add -march=x86-64.
* gcc.target/i386/hle-cmpxchg-acq-1.c (dg-options): Add -march=x86-64.
* gcc.target/i386/hle-xadd-acq-1.c (dg-options): Ditto.
* gcc.target/i386/hle-cmpxchg-rel-1.c (dg-options): Ditto.
* gcc.target/i386/hle-xadd-rel-1.c (dg-options): Ditto.
From-SVN: r187094
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/hle-cmpxchg-acq-1.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/hle-cmpxchg-rel-1.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/hle-xadd-acq-1.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/hle-xadd-rel-1.c | 2 |
5 files changed, 11 insertions, 4 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6234b4a..a642d17 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2012-05-03 Uros Bizjak <ubizjak@gmail.com> + + * gcc.target/i386/hle-cmpxchg-acq-1.c (dg-options): Add -march=x86-64. + * gcc.target/i386/hle-xadd-acq-1.c (dg-options): Ditto. + * gcc.target/i386/hle-cmpxchg-rel-1.c (dg-options): Ditto. + * gcc.target/i386/hle-xadd-rel-1.c (dg-options): Ditto. + 2012-05-03 Jakub Jelinek <jakub@redhat.com> * gcc.target/i386/hle-xadd-rel-1.c: Match .byte 0xf3 instead of diff --git a/gcc/testsuite/gcc.target/i386/hle-cmpxchg-acq-1.c b/gcc/testsuite/gcc.target/i386/hle-cmpxchg-acq-1.c index 8b43e54..e4e1663 100644 --- a/gcc/testsuite/gcc.target/i386/hle-cmpxchg-acq-1.c +++ b/gcc/testsuite/gcc.target/i386/hle-cmpxchg-acq-1.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-mhle" } */ +/* { dg-options "-march=x86-64 -mhle" } */ /* { dg-final { scan-assembler "lock\[ \n\t\]+\(xacquire\|\.byte\[ \t\]+0xf2\)\[ \t\n\]+cmpxchg" } } */ int diff --git a/gcc/testsuite/gcc.target/i386/hle-cmpxchg-rel-1.c b/gcc/testsuite/gcc.target/i386/hle-cmpxchg-rel-1.c index 8549542..a344ddb 100644 --- a/gcc/testsuite/gcc.target/i386/hle-cmpxchg-rel-1.c +++ b/gcc/testsuite/gcc.target/i386/hle-cmpxchg-rel-1.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-mhle" } */ +/* { dg-options "-march=x86-64 -mhle" } */ /* { dg-final { scan-assembler "lock\[ \n\t\]+\(xrelease\|\.byte\[ \t\]+0xf3\)\[ \t\n\]+cmpxchg" } } */ int diff --git a/gcc/testsuite/gcc.target/i386/hle-xadd-acq-1.c b/gcc/testsuite/gcc.target/i386/hle-xadd-acq-1.c index b4f1e22..e027de2 100644 --- a/gcc/testsuite/gcc.target/i386/hle-xadd-acq-1.c +++ b/gcc/testsuite/gcc.target/i386/hle-xadd-acq-1.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-mhle" } */ +/* { dg-options "-march=x86-64 -mhle" } */ /* { dg-final { scan-assembler "lock\[ \n\t\]+\(xacquire\|\.byte\[ \t\]+0xf2\)\[ \t\n\]+xadd" } } */ int diff --git a/gcc/testsuite/gcc.target/i386/hle-xadd-rel-1.c b/gcc/testsuite/gcc.target/i386/hle-xadd-rel-1.c index 8d1f06ee..e46b5ba 100644 --- a/gcc/testsuite/gcc.target/i386/hle-xadd-rel-1.c +++ b/gcc/testsuite/gcc.target/i386/hle-xadd-rel-1.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-mhle" } */ +/* { dg-options "-march=x86-64 -mhle" } */ /* { dg-final { scan-assembler "lock\[ \n\t\]+\(xrelease\|\.byte\[ \t\]+0xf3\)\[ \t\n\]+xadd" } } */ int |