[Gmp-commit] /var/hg/gmp-5.0: Tuneup.

mercurial at gmplib.org mercurial at gmplib.org
Tue Jan 24 19:29:20 CET 2012


details:   /var/hg/gmp-5.0/rev/743acaeab0bc
changeset: 13520:743acaeab0bc
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Tue Jan 24 19:29:16 2012 +0100
description:
Tuneup.

diffstat:

 mpn/powerpc32/gmp-mparam.h           |   2 +-
 mpn/powerpc64/mode64/p5/gmp-mparam.h |  10 +++++-----
 mpn/x86/atom/gmp-mparam.h            |   6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

diffs (69 lines):

diff -r c84a9f37b310 -r 743acaeab0bc mpn/powerpc32/gmp-mparam.h
--- a/mpn/powerpc32/gmp-mparam.h	Tue Jan 24 18:46:04 2012 +0100
+++ b/mpn/powerpc32/gmp-mparam.h	Tue Jan 24 19:29:16 2012 +0100
@@ -166,7 +166,7 @@
 #define DC_BDIV_QR_THRESHOLD                55
 #define DC_BDIV_Q_THRESHOLD                124
 
-#define INV_MULMOD_BNM1_THRESHOLD          108
+#define INV_MULMOD_BNM1_THRESHOLD           50
 #define INV_NEWTON_THRESHOLD               179
 #define INV_APPR_THRESHOLD                 166
 
diff -r c84a9f37b310 -r 743acaeab0bc mpn/powerpc64/mode64/p5/gmp-mparam.h
--- a/mpn/powerpc64/mode64/p5/gmp-mparam.h	Tue Jan 24 18:46:04 2012 +0100
+++ b/mpn/powerpc64/mode64/p5/gmp-mparam.h	Tue Jan 24 19:29:16 2012 +0100
@@ -174,11 +174,11 @@
 #define DC_BDIV_QR_THRESHOLD                47
 #define DC_BDIV_Q_THRESHOLD                112
 
-#define INV_MULMOD_BNM1_THRESHOLD          107
-#define INV_NEWTON_THRESHOLD               130
-#define INV_APPR_THRESHOLD                 117
+#define INV_MULMOD_BNM1_THRESHOLD           58
+#define INV_NEWTON_THRESHOLD               115
+#define INV_APPR_THRESHOLD                 110
 
-#define BINV_NEWTON_THRESHOLD              246
+#define BINV_NEWTON_THRESHOLD              197
 #define REDC_1_TO_REDC_N_THRESHOLD          54
 
 #define MU_DIV_QR_THRESHOLD                872
@@ -187,7 +187,7 @@
 #define MU_BDIV_QR_THRESHOLD               792
 #define MU_BDIV_Q_THRESHOLD                942
 
-#define MATRIX22_STRASSEN_THRESHOLD         11
+#define MATRIX22_STRASSEN_THRESHOLD         15
 #define HGCD_THRESHOLD                      86
 #define GCD_DC_THRESHOLD                   241
 #define GCDEXT_DC_THRESHOLD                229
diff -r c84a9f37b310 -r 743acaeab0bc mpn/x86/atom/gmp-mparam.h
--- a/mpn/x86/atom/gmp-mparam.h	Tue Jan 24 18:46:04 2012 +0100
+++ b/mpn/x86/atom/gmp-mparam.h	Tue Jan 24 19:29:16 2012 +0100
@@ -147,14 +147,14 @@
 
 #define MULLO_BASECASE_THRESHOLD             0  /* always */
 #define MULLO_DC_THRESHOLD                  56
-#define MULLO_MUL_N_THRESHOLD             6633
+#define MULLO_MUL_N_THRESHOLD             2995
 
 #define DC_DIV_QR_THRESHOLD                 59
 #define DC_DIVAPPR_Q_THRESHOLD             216
 #define DC_BDIV_QR_THRESHOLD                56
 #define DC_BDIV_Q_THRESHOLD                136
 
-#define INV_MULMOD_BNM1_THRESHOLD           59
+#define INV_MULMOD_BNM1_THRESHOLD           30
 #define INV_NEWTON_THRESHOLD               260
 #define INV_APPR_THRESHOLD                 244
 
@@ -169,7 +169,7 @@
 
 #define MATRIX22_STRASSEN_THRESHOLD         15
 #define HGCD_THRESHOLD                     111
-#define GCD_DC_THRESHOLD                   375
+#define GCD_DC_THRESHOLD                   606
 #define GCDEXT_DC_THRESHOLD                273
 #define JACOBI_BASE_METHOD                   3
 


More information about the gmp-commit mailing list