From 520b49f3f1f40d401695c62329446c99e95f3894 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Thu, 3 May 2012 13:54:58 +0200 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 7 +++++++ gcc/testsuite/gcc.target/i386/hle-cmpxchg-acq-1.c | 2 +- gcc/testsuite/gcc.target/i386/hle-cmpxchg-rel-1.c | 2 +- gcc/testsuite/gcc.target/i386/hle-xadd-acq-1.c | 2 +- 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 6234b4acc4c..a642d17b8f0 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2012-05-03 Uros Bizjak + + * 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 * 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 8b43e548a2c..e4e1663556e 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 85495429175..a344ddb94dc 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 b4f1e2213d9..e027de23a32 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 8d1f06ee061..e46b5ba666f 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 -- 2.30.2