longlong.h (smul_ppmm): The resulting register pair contains the higher order word...
authorAndreas Krebbel <Andreas.Krebbel@de.ibm.com>
Mon, 6 Jun 2011 14:34:06 +0000 (14:34 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Mon, 6 Jun 2011 14:34:06 +0000 (14:34 +0000)
2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* longlong.h (smul_ppmm): The resulting register pair contains the
higher order word first.

From-SVN: r174702

gcc/ChangeLog
gcc/longlong.h

index d52bde645e3e6b6b0f945b5b9cde8b95d8c5e6a0..59c7656f8173e1cb748d0ed3d482d9ba00c5a508 100644 (file)
@@ -1,3 +1,8 @@
+2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * longlong.h (smul_ppmm): The resulting register pair contains the
+       higher order word first.
+
 2011-06-06  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
 
        PR tree-optimization/46728
index 5937a48554e64225d706999f38dd1cae60bc8b79..1bab76db33a109f0558e7fd97b5fd305008ffbae 100644 (file)
@@ -349,7 +349,7 @@ UDItype __umulsidi3 (USItype, USItype);
     __asm__ ("mr\t%%r0,%3"                                              \
              : "=r" (r0), "=r" (r1)                                     \
              : "r"  (r1),  "r" (m1));                                   \
-    (xh) = r1; (xl) = r0;                                               \
+    (xh) = r0; (xl) = r1;                                               \
   } while (0)
 #define sdiv_qrnnd(q, r, n1, n0, d) \
   do {                                                                 \