hle-xadd-rel-1.c: Match .byte 0xf3 instead of .byte 0xf2.

* 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.

From-SVN: r187089
This commit is contained in:
Jakub Jelinek 2012-05-03 12:21:41 +02:00 committed by Jakub Jelinek
parent 273ccb6d85
commit f95052cce5
5 changed files with 10 additions and 4 deletions

View File

@ -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.

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)