Commit 9f1bdf53 by Steve Ellcey Committed by Steve Ellcey

sync-1.c: Check for cmpxchg8 only if lp64 is true.

	* testsuite/gcc.target/ia64/sync-1.c: Check for cmpxchg8 only if
	lp64 is true.

From-SVN: r146903
parent 6c907a45
2009-04-28 Steve Ellcey <sje@cup.hp.com>
* testsuite/gcc.target/ia64/sync-1.c: Check for cmpxchg8 only if
lp64 is true.
2009-04-28 Richard Guenther <rguenther@suse.de>
PR middle-end/39937
......
......@@ -2,7 +2,7 @@
/* { dg-options "-O2" } */
/* { dg-final { scan-assembler "xchg4 .*, r0" } } */
/* { dg-final { scan-assembler "cmpxchg4.*, r0, .*" } } */
/* { dg-final { scan-assembler "cmpxchg8.*, r0, .*" } } */
/* { dg-final { scan-assembler "cmpxchg8.*, r0, .*" { target lp64 } } } */
int
foo1 (int *p)
......
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