summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2012-05-03 10:21:41 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2012-05-03 10:21:41 +0000
commit8aeee4eb9936e6711c02daed6a6449fd442510ea (patch)
tree336aaab0553342dd5bf38152573597bcf678685d
parentb6d5efe6ba3e17fcd2532c29069cb9274a7138fd (diff)
downloadgcc-8aeee4eb9936e6711c02daed6a6449fd442510ea.tar.gz
* gcc.target/i386/hle-xadd-rel-1.c: Match .byte 0xf3 instead of
.byte 0xf2. * gcc.target/i386/hle-sub-rel-1.c: Likewise. * gcc.target/i386/hle-xchg-rel-1.c: Likewise. * gcc.target/i386/hle-add-rel-1.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187089 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/gcc.target/i386/hle-add-rel-1.c2
-rw-r--r--gcc/testsuite/gcc.target/i386/hle-sub-rel-1.c2
-rw-r--r--gcc/testsuite/gcc.target/i386/hle-xadd-rel-1.c2
-rw-r--r--gcc/testsuite/gcc.target/i386/hle-xchg-rel-1.c2
5 files changed, 10 insertions, 4 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 776e9884119..6234b4acc4c 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,11 @@
2012-05-03 Jakub Jelinek <jakub@redhat.com>
+ * gcc.target/i386/hle-xadd-rel-1.c: Match .byte 0xf3 instead of
+ .byte 0xf2.
+ * gcc.target/i386/hle-sub-rel-1.c: Likewise.
+ * gcc.target/i386/hle-xchg-rel-1.c: Likewise.
+ * gcc.target/i386/hle-add-rel-1.c: Likewise.
+
PR debug/53174
* gcc.dg/pr53174.c: New test.
diff --git a/gcc/testsuite/gcc.target/i386/hle-add-rel-1.c b/gcc/testsuite/gcc.target/i386/hle-add-rel-1.c
index 32ba10e0d25..71c68bc65ef 100644
--- a/gcc/testsuite/gcc.target/i386/hle-add-rel-1.c
+++ b/gcc/testsuite/gcc.target/i386/hle-add-rel-1.c
@@ -1,6 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-mhle" } */
-/* { dg-final { scan-assembler "lock\[ \n\t\]+\(xrelease\|\.byte\[ \t\]+0xf2\)\[ \t\n\]+add" } } */
+/* { dg-final { scan-assembler "lock\[ \n\t\]+\(xrelease\|\.byte\[ \t\]+0xf3\)\[ \t\n\]+add" } } */
void
hle_add (int *p, int v)
diff --git a/gcc/testsuite/gcc.target/i386/hle-sub-rel-1.c b/gcc/testsuite/gcc.target/i386/hle-sub-rel-1.c
index 55cf86ab34f..eecfee4def2 100644
--- a/gcc/testsuite/gcc.target/i386/hle-sub-rel-1.c
+++ b/gcc/testsuite/gcc.target/i386/hle-sub-rel-1.c
@@ -1,6 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-mhle" } */
-/* { dg-final { scan-assembler "lock\[ \n\t\]+\(xrelease\|\.byte\[ \t\]+0xf2\)\[ \t\n\]+sub" } } */
+/* { dg-final { scan-assembler "lock\[ \n\t\]+\(xrelease\|\.byte\[ \t\]+0xf3\)\[ \t\n\]+sub" } } */
void
hle_sub (int *p, int v)
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 9351b43dea5..8d1f06ee061 100644
--- a/gcc/testsuite/gcc.target/i386/hle-xadd-rel-1.c
+++ b/gcc/testsuite/gcc.target/i386/hle-xadd-rel-1.c
@@ -1,6 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-mhle" } */
-/* { dg-final { scan-assembler "lock\[ \n\t\]+\(xrelease\|\.byte\[ \t\]+0xf2\)\[ \t\n\]+xadd" } } */
+/* { dg-final { scan-assembler "lock\[ \n\t\]+\(xrelease\|\.byte\[ \t\]+0xf3\)\[ \t\n\]+xadd" } } */
int
hle_xadd (int *p, int v)
diff --git a/gcc/testsuite/gcc.target/i386/hle-xchg-rel-1.c b/gcc/testsuite/gcc.target/i386/hle-xchg-rel-1.c
index 706e483f1b8..a6bad3335dc 100644
--- a/gcc/testsuite/gcc.target/i386/hle-xchg-rel-1.c
+++ b/gcc/testsuite/gcc.target/i386/hle-xchg-rel-1.c
@@ -1,6 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-mhle" } */
-/* { dg-final { scan-assembler "\[ \n\t\]+\(xrelease\|\.byte\[ \t\]+0xf2\)\[ \t\n\]+xchg" } } */
+/* { dg-final { scan-assembler "\[ \n\t\]+\(xrelease\|\.byte\[ \t\]+0xf3\)\[ \t\n\]+xchg" } } */
int
hle_xchg (int *p, int v)