[Gmp-commit] /var/hg/gmp: 3 new changesets
mercurial at gmplib.org
mercurial at gmplib.org
Thu Jan 5 13:06:59 UTC 2017
details: /var/hg/gmp/rev/84177b5c2192
changeset: 17207:84177b5c2192
user: Torbjorn Granlund <tg at gmplib.org>
date: Wed Jan 04 00:12:08 2017 +0100
description:
Merge NEWS from 6.1.
details: /var/hg/gmp/rev/634077957395
changeset: 17208:634077957395
user: Torbjorn Granlund <tg at gmplib.org>
date: Thu Jan 05 14:06:15 2017 +0100
description:
ChangeLog
details: /var/hg/gmp/rev/05673b7ca228
changeset: 17209:05673b7ca228
user: Torbjorn Granlund <tg at gmplib.org>
date: Thu Jan 05 14:06:57 2017 +0100
description:
Trivial merge.
diffstat:
ChangeLog | 8 ++++++++
NEWS | 15 ++++++++++++++-
mpn/arm/v7a/cora15/gmp-mparam.h | 2 +-
mpn/x86/k7/gmp-mparam.h | 2 ++
mpn/x86/k8/gmp-mparam.h | 2 ++
mpn/x86_64/k8/gmp-mparam.h | 2 ++
6 files changed, 29 insertions(+), 2 deletions(-)
diffs (96 lines):
diff -r d63705bdd09d -r 05673b7ca228 ChangeLog
--- a/ChangeLog Wed Jan 04 00:10:18 2017 +0100
+++ b/ChangeLog Thu Jan 05 14:06:57 2017 +0100
@@ -1,3 +1,11 @@
+2017-01-03 Torbjörn Granlund <tg at gmplib.org>
+
+ * configure.ac (arm*-*-*): Properly point to cortex-a5 subdir.
+
+2016-12-31 Torbjörn Granlund <tg at gmplib.org>
+
+ * tune/tuneup.c (relspeed_div_1_vs_mul_1): New function.
+
2016-12-26 Torbjörn Granlund <tg at gmplib.org>
* longlong.h (x86_64 umul_ppmm): Add mulx variant (not automatically
diff -r d63705bdd09d -r 05673b7ca228 NEWS
--- a/NEWS Wed Jan 04 00:10:18 2017 +0100
+++ b/NEWS Thu Jan 05 14:06:57 2017 +0100
@@ -12,15 +12,28 @@
Changes between GMP version 6.1.1 and 6.1.2
BUGS FIXED
+ * Mini-GMP: Fixed a division bug, which on a machine with 64-bit
+ unsigned long affects approximately 1 out of 2^32 divisors.
+
+ * Mini-GMP: Fix mpz_set_str crash on inputs with a large number of
+ leading zeros. Also stricter input validation, rejecting inputs
+ with no digits.
FEATURES
* Handle more systems which require PIC code in static libraries (e.g.,
"hardened" Gentoo and Debian 9).
+ * Configuration for arm (-32 and -64) has been rewritten, fixing poor
+ code selection for many CPUs.
+
+ * Mini-GMP: Updated to the latest development version, including
+ new functions mpn_com and mpn_neg.
+
SPEEDUPS
+ * None, except for arm CPUs affected by the configuration rewrite.
MISC
-
+ -
Changes between GMP version 6.1.0 and 6.1.1
diff -r d63705bdd09d -r 05673b7ca228 mpn/arm/v7a/cora15/gmp-mparam.h
--- a/mpn/arm/v7a/cora15/gmp-mparam.h Wed Jan 04 00:10:18 2017 +0100
+++ b/mpn/arm/v7a/cora15/gmp-mparam.h Thu Jan 05 14:06:57 2017 +0100
@@ -51,7 +51,7 @@
#define DIVEXACT_1_THRESHOLD 0 /* always (native) */
#define BMOD_1_TO_MOD_1_THRESHOLD 15
-#define DIV_1_VS_MUL_1_PERCENT 220
+#define DIV_1_VS_MUL_1_PERCENT 290
#define MUL_TOOM22_THRESHOLD 28
#define MUL_TOOM33_THRESHOLD 116
diff -r d63705bdd09d -r 05673b7ca228 mpn/x86/k7/gmp-mparam.h
--- a/mpn/x86/k7/gmp-mparam.h Wed Jan 04 00:10:18 2017 +0100
+++ b/mpn/x86/k7/gmp-mparam.h Thu Jan 05 14:06:57 2017 +0100
@@ -51,6 +51,8 @@
#define DIVEXACT_1_THRESHOLD 0 /* always (native) */
#define BMOD_1_TO_MOD_1_THRESHOLD 24
+#define DIV_1_VS_MUL_1_PERCENT 259
+
#define MUL_TOOM22_THRESHOLD 28
#define MUL_TOOM33_THRESHOLD 85
#define MUL_TOOM44_THRESHOLD 145
diff -r d63705bdd09d -r 05673b7ca228 mpn/x86/k8/gmp-mparam.h
--- a/mpn/x86/k8/gmp-mparam.h Wed Jan 04 00:10:18 2017 +0100
+++ b/mpn/x86/k8/gmp-mparam.h Thu Jan 05 14:06:57 2017 +0100
@@ -50,6 +50,8 @@
#define DIVEXACT_1_THRESHOLD 0 /* always (native) */
#define BMOD_1_TO_MOD_1_THRESHOLD 40
+#define DIV_1_VS_MUL_1_PERCENT 264
+
#define MUL_TOOM22_THRESHOLD 24
#define MUL_TOOM33_THRESHOLD 81
#define MUL_TOOM44_THRESHOLD 130
diff -r d63705bdd09d -r 05673b7ca228 mpn/x86_64/k8/gmp-mparam.h
--- a/mpn/x86_64/k8/gmp-mparam.h Wed Jan 04 00:10:18 2017 +0100
+++ b/mpn/x86_64/k8/gmp-mparam.h Thu Jan 05 14:06:57 2017 +0100
@@ -54,6 +54,8 @@
#define DIVEXACT_1_THRESHOLD 0 /* always (native) */
#define BMOD_1_TO_MOD_1_THRESHOLD 16
+#define DIV_1_VS_MUL_1_PERCENT 337
+
#define MUL_TOOM22_THRESHOLD 28
#define MUL_TOOM33_THRESHOLD 81
#define MUL_TOOM44_THRESHOLD 242
More information about the gmp-commit
mailing list