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

mercurial at gmplib.org mercurial at gmplib.org
Wed Sep 22 09:13:23 UTC 2021


details:   /var/hg/gmp/rev/b06af5e04b7a
changeset: 18234:b06af5e04b7a
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Wed Sep 22 11:08:06 2021 +0200
description:
Change tested predef for Risc V.

details:   /var/hg/gmp/rev/4a7e9cf1b6ad
changeset: 18235:4a7e9cf1b6ad
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Wed Sep 22 11:09:16 2021 +0200
description:
Update powerpc pattern.

details:   /var/hg/gmp/rev/9ea17fdb571e
changeset: 18236:9ea17fdb571e
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Wed Sep 22 11:09:51 2021 +0200
description:
Fix a typo.

diffstat:

 config.sub   |  2 +-
 doc/gmp.texi |  2 +-
 longlong.h   |  2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diffs (36 lines):

diff -r 09a7d62c4438 -r 9ea17fdb571e config.sub
--- a/config.sub	Tue Sep 14 19:05:51 2021 +0200
+++ b/config.sub	Wed Sep 22 11:09:51 2021 +0200
@@ -112,7 +112,7 @@
 powerpc603 | powerpc603e | \
 powerpc604 | powerpc604e | \
 powerpc620 | powerpc630  | powerpc970  | \
-powerpc740 | powerpc7400 | powerpc7450 | powerpc750  | \
+powerpc740 | powerpc74[0-9][0-9] | powerpc750  | \
 powerpc801 | powerpc821 | powerpc823  | powerpc860 | \
 powerpc64)
   test_cpu=powerpc ;;
diff -r 09a7d62c4438 -r 9ea17fdb571e doc/gmp.texi
--- a/doc/gmp.texi	Tue Sep 14 19:05:51 2021 +0200
+++ b/doc/gmp.texi	Wed Sep 22 11:09:51 2021 +0200
@@ -9033,7 +9033,7 @@
 @code{mpz_legendre} and @code{mpz_kronecker} are computed via the HGCD (Half
 GCD) function, as a generalization to Lehmer's algorithm.
 
-Most GCD algorithms reduce @math{a} and @math{b} by repeatatily computing the
+Most GCD algorithms reduce @math{a} and @math{b} by repeatedly computing the
 quotient @m{q = \lfloor a/b \rfloor, q = floor(a/b)} and iteratively replacing
 
 @c Couldn't figure out macros with commas.
diff -r 09a7d62c4438 -r 9ea17fdb571e longlong.h
--- a/longlong.h	Tue Sep 14 19:05:51 2021 +0200
+++ b/longlong.h	Wed Sep 22 11:09:51 2021 +0200
@@ -1652,7 +1652,7 @@
   } while (0)
 #endif /* RT/ROMP */
 
-#if defined (__riscv64) && W_TYPE_SIZE == 64
+#if defined (__riscv) && defined (__riscv_mul) && W_TYPE_SIZE == 64
 #define umul_ppmm(ph, pl, u, v) \
   do {									\
     UDItype __u = (u), __v = (v);					\


More information about the gmp-commit mailing list