]> gcc.gnu.org Git - gcc.git/commitdiff
asm-b.c: Check for __ppc64__.
authorBill Wendling <wendling@apple.com>
Wed, 20 Dec 2006 22:01:01 +0000 (22:01 +0000)
committerMike Stump <mrs@gcc.gnu.org>
Wed, 20 Dec 2006 22:01:01 +0000 (22:01 +0000)
2006-12-20  Bill Wendling  <wendling@apple.com>

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

From-SVN: r120085

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/asm-b.c

index 4d43f7902800f3222652579061deb8caaf448613..35d77a8c36c44b3893f1c0d0a16db05cec65a135 100644 (file)
@@ -1,3 +1,7 @@
+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
index cc3f9665db305a45a311115fddfffe82549948a3..ec9683925c469f4750b536faf55f9d8a19c0c29c 100644 (file)
@@ -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"
This page took 0.14125 seconds and 5 git commands to generate.