[Gmp-commit] /var/hg/gmp: 2 new changesets

mercurial at gmplib.org mercurial at gmplib.org
Sun Sep 26 10:08:24 UTC 2021


details:   /var/hg/gmp/rev/58feb5360929
changeset: 18237:58feb5360929
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Sun Sep 26 12:06:10 2021 +0200
description:
(umul_ppmm): Correct Risc V operand order.

details:   /var/hg/gmp/rev/c288a2cb0630
changeset: 18238:c288a2cb0630
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Sun Sep 26 12:08:00 2021 +0200
description:
(s390): Make sure to always include main asm directory.

diffstat:

 configure.ac |  2 +-
 longlong.h   |  2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 9ea17fdb571e -r c288a2cb0630 configure.ac
--- a/configure.ac	Wed Sep 22 11:09:51 2021 +0200
+++ b/configure.ac	Sun Sep 26 12:08:00 2021 +0200
@@ -1426,8 +1426,8 @@
       for i in $cpu $xpath; do
 	path_64="$path_64 s390_64/$i"
       done
-      path_64="$path_64 s390_64"
     fi
+    path_64="$path_64 s390_64"
     if test x"$gccarch" != x ; then
       gcc_cflags_arch="-march=$gccarch"
     fi
diff -r 9ea17fdb571e -r c288a2cb0630 longlong.h
--- a/longlong.h	Wed Sep 22 11:09:51 2021 +0200
+++ b/longlong.h	Sun Sep 26 12:08:00 2021 +0200
@@ -1657,7 +1657,7 @@
   do {									\
     UDItype __u = (u), __v = (v);					\
     (pl) = __u * __v;							\
-    __asm__ ("mulhu\t%2, %1, %0" : "=r" (ph) : "%r" (__u), "r" (__v));	\
+    __asm__ ("mulhu\t%0, %1, %2" : "=r" (ph) : "%r" (__u), "r" (__v));	\
   } while (0)
 #endif
 


More information about the gmp-commit mailing list