S/390 longlong.h: Fix smul_ppmm with -m31 -mzarch
authorAndreas Krebbel <Andreas.Krebbel@de.ibm.com>
Tue, 7 Jun 2011 11:26:27 +0000 (07:26 -0400)
committerUlrich Drepper <drepper@gmail.com>
Tue, 7 Jun 2011 11:26:27 +0000 (07:26 -0400)
ChangeLog
stdlib/longlong.h

index 269d311..fd4836a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
+
 2011-06-06  Roland McGrath  <roland@hack.frob.com>
 
        [BZ #12849]
index 5937a48..1bab76d 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 {                                                                 \