mirror of git://gcc.gnu.org/git/gcc.git
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:
parent
273ccb6d85
commit
f95052cce5
|
@ -1,5 +1,11 @@
|
||||||
2012-05-03 Jakub Jelinek <jakub@redhat.com>
|
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
|
PR debug/53174
|
||||||
* gcc.dg/pr53174.c: New test.
|
* gcc.dg/pr53174.c: New test.
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* { dg-do compile } */
|
/* { dg-do compile } */
|
||||||
/* { dg-options "-mhle" } */
|
/* { 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
|
void
|
||||||
hle_add (int *p, int v)
|
hle_add (int *p, int v)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* { dg-do compile } */
|
/* { dg-do compile } */
|
||||||
/* { dg-options "-mhle" } */
|
/* { 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
|
void
|
||||||
hle_sub (int *p, int v)
|
hle_sub (int *p, int v)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* { dg-do compile } */
|
/* { dg-do compile } */
|
||||||
/* { dg-options "-mhle" } */
|
/* { 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
|
int
|
||||||
hle_xadd (int *p, int v)
|
hle_xadd (int *p, int v)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* { dg-do compile } */
|
/* { dg-do compile } */
|
||||||
/* { dg-options "-mhle" } */
|
/* { 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
|
int
|
||||||
hle_xchg (int *p, int v)
|
hle_xchg (int *p, int v)
|
||||||
|
|
Loading…
Reference in New Issue