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

mercurial at gmplib.org mercurial at gmplib.org
Thu Mar 11 20:04:44 UTC 2021


details:   /var/hg/gmp/rev/d67cd4bcd443
changeset: 18206:d67cd4bcd443
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Thu Mar 11 21:04:17 2021 +0100
description:
Disable s390 patterns which makes clang barf.

details:   /var/hg/gmp/rev/3221b6079cda
changeset: 18207:3221b6079cda
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Thu Mar 11 21:04:41 2021 +0100
description:
ChangeLog

diffstat:

 ChangeLog  |  10 ++++++++++
 longlong.h |   2 ++
 2 files changed, 12 insertions(+), 0 deletions(-)

diffs (36 lines):

diff -r 3b2819294177 -r 3221b6079cda ChangeLog
--- a/ChangeLog	Tue Mar 09 12:13:58 2021 +0100
+++ b/ChangeLog	Thu Mar 11 21:04:41 2021 +0100
@@ -1,3 +1,13 @@
+2021-03-11  Torbjörn Granlund  <tg at gmplib.org>
+
+	* longlong.h: Disable s390 patterns which makes clang barf.
+
+2021-03-09  Torbjörn Granlund  <tg at gmplib.org>
+
+	With Marius Hillenbrand:
+	* configure.ac, config.guess, config.sub, acinclude.m4:
+	Recognise CPUs z13-z15.
+
 2021-03-08  Torbjörn Granlund  <tg at gmplib.org>
 
 	* longlong.h (68000 umul_ppmm): Add an early-clobber &.
diff -r 3b2819294177 -r 3221b6079cda longlong.h
--- a/longlong.h	Tue Mar 09 12:13:58 2021 +0100
+++ b/longlong.h	Thu Mar 11 21:04:41 2021 +0100
@@ -860,6 +860,7 @@
 	     : "0" ((UDItype)(ah)), "r" ((UDItype)(bh)),		\
 	       "1" ((UDItype)(al)), "r" ((UDItype)(bl)) __CLOBBER_CC);	\
   } while (0)
+if !defined (__clang__)
 #define umul_ppmm(xh, xl, m0, m1)					\
   do {									\
     union {unsigned int __attribute__ ((mode(TI))) __ll;		\
@@ -881,6 +882,7 @@
 	     : "0" (__x.__ll), "r" ((UDItype)(d)));			\
     (q) = __x.__i.__l; (r) = __x.__i.__h;				\
   } while (0)
+#endif
 #if 0 /* FIXME: Enable for z10 (?) */
 #define count_leading_zeros(cnt, x)					\
   do {									\


More information about the gmp-commit mailing list