Commit 2502ff19 by Bill Wendling Committed by Mike Stump

asm-b.c: Check for __ppc64__.

2006-12-20  Bill Wendling  <wendling@apple.com>

	* gcc.dg/asm-b.c: Check for __ppc64__.

From-SVN: r120085
parent 6a14cf13
2006-12-20 Bill Wendling <wendling@apple.com>
* gcc.dg/asm-b.c: Check for __ppc64__.
2006-12-20 Paul Thomas <pault@gcc.gnu.org>
PR fortran/30190
......@@ -21,7 +21,7 @@ bar (void)
foo (&x);
const unsigned int y = x;
z = &x;
#if defined (__powerpc__) || defined (__PPC__) || defined (__ppc__) || defined (_POWER)
#if defined (__powerpc__) || defined (__PPC__) || defined (__ppc__) || defined (_POWER) || defined (__ppc64__)
__asm __volatile ("sthbrx %1,0,%2" : "=m" (*z) : "r" (y), "r" (z));
#elif defined __i386__ || defined __x86_64__
__asm __volatile ("movb %b1,1(%2); movb %h1,(%2)" : "=m" (*z) : "r" (y), "r"
......
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