Commit 520b49f3 by Uros Bizjak Committed by Uros Bizjak

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
parent 6ab1ab14
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
......
/* { 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
......
/* { 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
......
/* { 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
......
/* { 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment