[Gmp-commit] /var/hg/gmp-5.0: Retune.
mercurial at gmplib.org
mercurial at gmplib.org
Thu Jan 26 20:46:25 CET 2012
details: /var/hg/gmp-5.0/rev/c491bc297859
changeset: 13526:c491bc297859
user: Torbjorn Granlund <tege at gmplib.org>
date: Thu Jan 26 20:46:21 2012 +0100
description:
Retune.
diffstat:
mpn/alpha/ev5/gmp-mparam.h | 4 ++--
mpn/powerpc32/gmp-mparam.h | 20 ++++++++++----------
mpn/powerpc64/mode64/p7/gmp-mparam.h | 8 ++++----
mpn/sparc64/ultrasparc34/gmp-mparam.h | 4 ++--
mpn/x86_64/bobcat/gmp-mparam.h | 10 +++++-----
mpn/x86_64/core2/gmp-mparam.h | 6 +++---
mpn/x86_64/gmp-mparam.h | 2 +-
mpn/x86_64/pentium4/gmp-mparam.h | 4 ++--
8 files changed, 29 insertions(+), 29 deletions(-)
diffs (188 lines):
diff -r b8600739011d -r c491bc297859 mpn/alpha/ev5/gmp-mparam.h
--- a/mpn/alpha/ev5/gmp-mparam.h Wed Jan 25 14:54:56 2012 +0100
+++ b/mpn/alpha/ev5/gmp-mparam.h Thu Jan 26 20:46:21 2012 +0100
@@ -31,7 +31,7 @@
#define MOD_1N_TO_MOD_1_1_THRESHOLD 32
#define MOD_1U_TO_MOD_1_1_THRESHOLD 2
#define MOD_1_1_TO_MOD_1_2_THRESHOLD 7
-#define MOD_1_2_TO_MOD_1_4_THRESHOLD 18
+#define MOD_1_2_TO_MOD_1_4_THRESHOLD 12
#define PREINV_MOD_1_TO_MOD_1_THRESHOLD 73
#define USE_PREINV_DIVREM_1 1 /* preinv always */
#define DIVEXACT_1_THRESHOLD 0 /* always */
@@ -147,7 +147,7 @@
#define DC_BDIV_QR_THRESHOLD 51
#define DC_BDIV_Q_THRESHOLD 120
-#define INV_MULMOD_BNM1_THRESHOLD 84
+#define INV_MULMOD_BNM1_THRESHOLD 61
#define INV_NEWTON_THRESHOLD 174
#define INV_APPR_THRESHOLD 180
diff -r b8600739011d -r c491bc297859 mpn/powerpc32/gmp-mparam.h
--- a/mpn/powerpc32/gmp-mparam.h Wed Jan 25 14:54:56 2012 +0100
+++ b/mpn/powerpc32/gmp-mparam.h Thu Jan 26 20:46:21 2012 +0100
@@ -1,7 +1,7 @@
/* PowerPC-32 gmp-mparam.h -- Compiler/machine parameter header file.
Copyright 1991, 1993, 1994, 1999, 2000, 2001, 2002, 2003, 2004, 2008, 2009,
-2010 Free Software Foundation, Inc.
+2010, 2012 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -36,14 +36,14 @@
#define DIVREM_1_UNNORM_THRESHOLD 0 /* always */
#define MOD_1_NORM_THRESHOLD 0 /* always */
#define MOD_1_UNNORM_THRESHOLD 0 /* always */
-#define MOD_1N_TO_MOD_1_1_THRESHOLD 5
+#define MOD_1N_TO_MOD_1_1_THRESHOLD 7
#define MOD_1U_TO_MOD_1_1_THRESHOLD 8
-#define MOD_1_1_TO_MOD_1_2_THRESHOLD 16
-#define MOD_1_2_TO_MOD_1_4_THRESHOLD 65
-#define PREINV_MOD_1_TO_MOD_1_THRESHOLD 17
+#define MOD_1_1_TO_MOD_1_2_THRESHOLD 0
+#define MOD_1_2_TO_MOD_1_4_THRESHOLD 36
+#define PREINV_MOD_1_TO_MOD_1_THRESHOLD 37
#define USE_PREINV_DIVREM_1 1
#define DIVEXACT_1_THRESHOLD 0 /* always */
-#define BMOD_1_TO_MOD_1_THRESHOLD 98
+#define BMOD_1_TO_MOD_1_THRESHOLD 69
#define MUL_TOOM22_THRESHOLD 14
#define MUL_TOOM33_THRESHOLD 73
@@ -63,8 +63,8 @@
#define SQR_TOOM6_THRESHOLD 189
#define SQR_TOOM8_THRESHOLD 284
-#define MULMOD_BNM1_THRESHOLD 9
-#define SQRMOD_BNM1_THRESHOLD 14
+#define MULMOD_BNM1_THRESHOLD 10
+#define SQRMOD_BNM1_THRESHOLD 13
#define MUL_FFT_MODF_THRESHOLD 284 /* k = 5 */
#define MUL_FFT_TABLE3 \
@@ -166,9 +166,9 @@
#define DC_BDIV_QR_THRESHOLD 55
#define DC_BDIV_Q_THRESHOLD 124
-#define INV_MULMOD_BNM1_THRESHOLD 50
+#define INV_MULMOD_BNM1_THRESHOLD 42
#define INV_NEWTON_THRESHOLD 179
-#define INV_APPR_THRESHOLD 166
+#define INV_APPR_THRESHOLD 157
#define BINV_NEWTON_THRESHOLD 232
#define REDC_1_TO_REDC_N_THRESHOLD 54
diff -r b8600739011d -r c491bc297859 mpn/powerpc64/mode64/p7/gmp-mparam.h
--- a/mpn/powerpc64/mode64/p7/gmp-mparam.h Wed Jan 25 14:54:56 2012 +0100
+++ b/mpn/powerpc64/mode64/p7/gmp-mparam.h Thu Jan 26 20:46:21 2012 +0100
@@ -25,10 +25,10 @@
#define MOD_1_NORM_THRESHOLD 0 /* always */
#define MOD_1_UNNORM_THRESHOLD 0 /* always */
-#define MOD_1N_TO_MOD_1_1_THRESHOLD 11
-#define MOD_1U_TO_MOD_1_1_THRESHOLD 8
-#define MOD_1_1_TO_MOD_1_2_THRESHOLD 9
-#define MOD_1_2_TO_MOD_1_4_THRESHOLD 26
+#define MOD_1N_TO_MOD_1_1_THRESHOLD 12
+#define MOD_1U_TO_MOD_1_1_THRESHOLD 6
+#define MOD_1_1_TO_MOD_1_2_THRESHOLD 7
+#define MOD_1_2_TO_MOD_1_4_THRESHOLD 34
#define PREINV_MOD_1_TO_MOD_1_THRESHOLD 16
#define USE_PREINV_DIVREM_1 1
#define DIVEXACT_1_THRESHOLD 0 /* always (native) */
diff -r b8600739011d -r c491bc297859 mpn/sparc64/ultrasparc34/gmp-mparam.h
--- a/mpn/sparc64/ultrasparc34/gmp-mparam.h Wed Jan 25 14:54:56 2012 +0100
+++ b/mpn/sparc64/ultrasparc34/gmp-mparam.h Thu Jan 26 20:46:21 2012 +0100
@@ -157,9 +157,9 @@
#define SQR_FFT_TABLE3_SIZE 182
#define SQR_FFT_THRESHOLD 1984
-#define MULLO_BASECASE_THRESHOLD 26
+#define MULLO_BASECASE_THRESHOLD 13
#define MULLO_DC_THRESHOLD 0 /* never mpn_mullo_basecase */
-#define MULLO_MUL_N_THRESHOLD 4392
+#define MULLO_MUL_N_THRESHOLD 3791
#define DC_DIV_QR_THRESHOLD 16
#define DC_DIVAPPR_Q_THRESHOLD 66
diff -r b8600739011d -r c491bc297859 mpn/x86_64/bobcat/gmp-mparam.h
--- a/mpn/x86_64/bobcat/gmp-mparam.h Wed Jan 25 14:54:56 2012 +0100
+++ b/mpn/x86_64/bobcat/gmp-mparam.h Thu Jan 26 20:46:21 2012 +0100
@@ -27,7 +27,7 @@
#define MOD_1N_TO_MOD_1_1_THRESHOLD 10
#define MOD_1U_TO_MOD_1_1_THRESHOLD 4
#define MOD_1_1_TO_MOD_1_2_THRESHOLD 6
-#define MOD_1_2_TO_MOD_1_4_THRESHOLD 80
+#define MOD_1_2_TO_MOD_1_4_THRESHOLD 34
#define PREINV_MOD_1_TO_MOD_1_THRESHOLD 18
#define USE_PREINV_DIVREM_1 1 /* native */
#define DIVEXACT_1_THRESHOLD 0 /* always (native) */
@@ -35,9 +35,9 @@
#define MUL_TOOM22_THRESHOLD 16
#define MUL_TOOM33_THRESHOLD 45
-#define MUL_TOOM44_THRESHOLD 195
-#define MUL_TOOM6H_THRESHOLD 286
-#define MUL_TOOM8H_THRESHOLD 381
+#define MUL_TOOM44_THRESHOLD 336
+#define MUL_TOOM6H_THRESHOLD 426
+#define MUL_TOOM8H_THRESHOLD 446
#define MUL_TOOM32_TO_TOOM43_THRESHOLD 89
#define MUL_TOOM32_TO_TOOM53_THRESHOLD 98
@@ -48,7 +48,7 @@
#define SQR_TOOM2_THRESHOLD 24
#define SQR_TOOM3_THRESHOLD 77
#define SQR_TOOM4_THRESHOLD 354
-#define SQR_TOOM6_THRESHOLD 354
+#define SQR_TOOM6_THRESHOLD 366
#define SQR_TOOM8_THRESHOLD 430
#define MULMOD_BNM1_THRESHOLD 11
diff -r b8600739011d -r c491bc297859 mpn/x86_64/core2/gmp-mparam.h
--- a/mpn/x86_64/core2/gmp-mparam.h Wed Jan 25 14:54:56 2012 +0100
+++ b/mpn/x86_64/core2/gmp-mparam.h Thu Jan 26 20:46:21 2012 +0100
@@ -160,12 +160,12 @@
#define DC_BDIV_QR_THRESHOLD 57
#define DC_BDIV_Q_THRESHOLD 156
-#define INV_MULMOD_BNM1_THRESHOLD 62
+#define INV_MULMOD_BNM1_THRESHOLD 50
#define INV_NEWTON_THRESHOLD 172
#define INV_APPR_THRESHOLD 172
-#define BINV_NEWTON_THRESHOLD 260
-#define REDC_1_TO_REDC_2_THRESHOLD 4
+#define BINV_NEWTON_THRESHOLD 240
+#define REDC_1_TO_REDC_2_THRESHOLD 10
#define REDC_2_TO_REDC_N_THRESHOLD 63
#define MU_DIV_QR_THRESHOLD 1334
diff -r b8600739011d -r c491bc297859 mpn/x86_64/gmp-mparam.h
--- a/mpn/x86_64/gmp-mparam.h Wed Jan 25 14:54:56 2012 +0100
+++ b/mpn/x86_64/gmp-mparam.h Thu Jan 26 20:46:21 2012 +0100
@@ -176,7 +176,7 @@
#define INV_APPR_THRESHOLD 220
#define BINV_NEWTON_THRESHOLD 345
-#define REDC_1_TO_REDC_2_THRESHOLD 5
+#define REDC_1_TO_REDC_2_THRESHOLD 6
#define REDC_2_TO_REDC_N_THRESHOLD 79
#define MU_DIV_QR_THRESHOLD 1787
diff -r b8600739011d -r c491bc297859 mpn/x86_64/pentium4/gmp-mparam.h
--- a/mpn/x86_64/pentium4/gmp-mparam.h Wed Jan 25 14:54:56 2012 +0100
+++ b/mpn/x86_64/pentium4/gmp-mparam.h Thu Jan 26 20:46:21 2012 +0100
@@ -197,8 +197,8 @@
#define INV_APPR_THRESHOLD 108
#define BINV_NEWTON_THRESHOLD 262
-#define REDC_1_TO_REDC_2_THRESHOLD 15
-#define REDC_2_TO_REDC_N_THRESHOLD 47
+#define REDC_1_TO_REDC_2_THRESHOLD 44
+#define REDC_2_TO_REDC_N_THRESHOLD 44
#define MU_DIV_QR_THRESHOLD 979
#define MU_DIVAPPR_Q_THRESHOLD 1078
More information about the gmp-commit
mailing list