hle-cmpxchg-acq-1.c (dg-options): Add -march=x86-64.
authorUros Bizjak <ubizjak@gmail.com>
Thu, 3 May 2012 11:54:58 +0000 (13:54 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Thu, 3 May 2012 11:54:58 +0000 (13:54 +0200)
* 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
gcc/testsuite/gcc.target/i386/hle-cmpxchg-acq-1.c
gcc/testsuite/gcc.target/i386/hle-cmpxchg-rel-1.c
gcc/testsuite/gcc.target/i386/hle-xadd-acq-1.c
gcc/testsuite/gcc.target/i386/hle-xadd-rel-1.c

index 6234b4acc4c71a7bf4806fc73bcd0a4b54a90b53..a642d17b8f03e5f388f94b18b4a959339c034c9a 100644 (file)
@@ -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
index 8b43e548a2c8c7569c083eddb1b1cc4d2d2edda1..e4e1663556ee44968bba0f732adcbffe95d46869 100644 (file)
@@ -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
index 85495429175f0f0f3308bd04b912a5dfcffc05d6..a344ddb94dce0d3acb658bd31b0c984351edefe0 100644 (file)
@@ -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
index b4f1e2213d93fe53b31e765d4bf8e064e11cdb22..e027de23a3297a4f514c1b55199c0ccb00121d7f 100644 (file)
@@ -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
index 8d1f06ee061d84bb40b264d7c5b5e5bfae5384bd..e46b5ba666fc8674b122925753962132d2ef7fa5 100644 (file)
@@ -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