[Gmp-commit] /home/hgfiles/gmp: Retune.

mercurial at gmplib.org mercurial at gmplib.org
Thu Jan 7 16:06:48 CET 2010


details:   /home/hgfiles/gmp/rev/03ff49efb568
changeset: 13351:03ff49efb568
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Thu Jan 07 16:06:45 2010 +0100
description:
Retune.

diffstat:

 mpn/pa64/gmp-mparam.h                |  38 ++++++++++++++++++------------------
 mpn/powerpc32/750/gmp-mparam.h       |   2 +-
 mpn/powerpc32/gmp-mparam.h           |   2 +-
 mpn/powerpc64/mode64/p3/gmp-mparam.h |   2 +-
 mpn/powerpc64/mode64/p4/gmp-mparam.h |   2 +-
 mpn/powerpc64/mode64/p5/gmp-mparam.h |   2 +-
 mpn/x86/k6/gmp-mparam.h              |   2 +-
 mpn/x86/p6/mmx/gmp-mparam.h          |   2 +-
 mpn/x86/p6/sse2/gmp-mparam.h         |   4 +-
 mpn/x86_64/atom/gmp-mparam.h         |   6 ++--
 mpn/x86_64/core2/gmp-mparam.h        |   2 +-
 mpn/x86_64/nano/gmp-mparam.h         |   2 +-
 12 files changed, 33 insertions(+), 33 deletions(-)

diffs (221 lines):

diff -r 7475114f90f5 -r 03ff49efb568 mpn/pa64/gmp-mparam.h
--- a/mpn/pa64/gmp-mparam.h	Thu Jan 07 14:10:50 2010 +0100
+++ b/mpn/pa64/gmp-mparam.h	Thu Jan 07 16:06:45 2010 +0100
@@ -60,33 +60,33 @@
 
 #define MUL_FFT_TABLE  { 400, 800, 1600, 2816, 7168, 20480, 81920, 327680, 0 }
 #define MUL_FFT_MODF_THRESHOLD             360
-#define MUL_FFT_THRESHOLD                 2752
+#define MUL_FFT_THRESHOLD                 2368
 
 #define SQR_FFT_TABLE  { 368, 800, 1728, 3328, 7168, 20480, 81920, 327680, 0 }
 #define SQR_FFT_MODF_THRESHOLD             264
 #define SQR_FFT_THRESHOLD                 1856
 
 #define MULLO_BASECASE_THRESHOLD             0  /* always */
-#define MULLO_DC_THRESHOLD                 113
-#define MULLO_MUL_N_THRESHOLD             5397
+#define MULLO_DC_THRESHOLD                 132
+#define MULLO_MUL_N_THRESHOLD             4275
 
-#define DC_DIV_QR_THRESHOLD                155
-#define DC_DIVAPPR_Q_THRESHOLD             442
-#define DC_BDIV_QR_THRESHOLD               155
-#define DC_BDIV_Q_THRESHOLD                369
+#define DC_DIV_QR_THRESHOLD                132
+#define DC_DIVAPPR_Q_THRESHOLD             372
+#define DC_BDIV_QR_THRESHOLD               142
+#define DC_BDIV_Q_THRESHOLD                312
 
-#define INV_MULMOD_BNM1_THRESHOLD           74
-#define INV_NEWTON_THRESHOLD               363
-#define INV_APPR_THRESHOLD                 363
+#define INV_MULMOD_BNM1_THRESHOLD           58
+#define INV_NEWTON_THRESHOLD               315
+#define INV_APPR_THRESHOLD                 318
 
-#define BINV_NEWTON_THRESHOLD              410
-#define REDC_1_TO_REDC_N_THRESHOLD         118
+#define BINV_NEWTON_THRESHOLD              360
+#define REDC_1_TO_REDC_N_THRESHOLD         101
 
-#define MU_DIV_QR_THRESHOLD                998
-#define MU_DIVAPPR_Q_THRESHOLD            1187
-#define MUPI_DIV_QR_THRESHOLD              132
-#define MU_BDIV_QR_THRESHOLD              1017
-#define MU_BDIV_Q_THRESHOLD               1334
+#define MU_DIV_QR_THRESHOLD                979
+#define MU_DIVAPPR_Q_THRESHOLD             998
+#define MUPI_DIV_QR_THRESHOLD                0  /* always */
+#define MU_BDIV_QR_THRESHOLD               889
+#define MU_BDIV_Q_THRESHOLD               1187
 
 #define MATRIX22_STRASSEN_THRESHOLD         11
 #define HGCD_THRESHOLD                     238
@@ -96,5 +96,5 @@
 
 #define GET_STR_DC_THRESHOLD                21
 #define GET_STR_PRECOMPUTE_THRESHOLD        24
-#define SET_STR_DC_THRESHOLD              2235
-#define SET_STR_PRECOMPUTE_THRESHOLD      4447
+#define SET_STR_DC_THRESHOLD              1877
+#define SET_STR_PRECOMPUTE_THRESHOLD      4036
diff -r 7475114f90f5 -r 03ff49efb568 mpn/powerpc32/750/gmp-mparam.h
--- a/mpn/powerpc32/750/gmp-mparam.h	Thu Jan 07 14:10:50 2010 +0100
+++ b/mpn/powerpc32/750/gmp-mparam.h	Thu Jan 07 16:06:45 2010 +0100
@@ -86,7 +86,7 @@
 
 #define MU_DIV_QR_THRESHOLD                807
 #define MU_DIVAPPR_Q_THRESHOLD             807
-#define MUPI_DIV_QR_THRESHOLD               76
+#define MUPI_DIV_QR_THRESHOLD               66
 #define MU_BDIV_QR_THRESHOLD               667
 #define MU_BDIV_Q_THRESHOLD                807
 
diff -r 7475114f90f5 -r 03ff49efb568 mpn/powerpc32/gmp-mparam.h
--- a/mpn/powerpc32/gmp-mparam.h	Thu Jan 07 14:10:50 2010 +0100
+++ b/mpn/powerpc32/gmp-mparam.h	Thu Jan 07 16:06:45 2010 +0100
@@ -92,7 +92,7 @@
 
 #define MU_DIV_QR_THRESHOLD               1057
 #define MU_DIVAPPR_Q_THRESHOLD            1142
-#define MUPI_DIV_QR_THRESHOLD              108
+#define MUPI_DIV_QR_THRESHOLD               83
 #define MU_BDIV_QR_THRESHOLD               872
 #define MU_BDIV_Q_THRESHOLD               1142
 
diff -r 7475114f90f5 -r 03ff49efb568 mpn/powerpc64/mode64/p3/gmp-mparam.h
--- a/mpn/powerpc64/mode64/p3/gmp-mparam.h	Thu Jan 07 14:10:50 2010 +0100
+++ b/mpn/powerpc64/mode64/p3/gmp-mparam.h	Thu Jan 07 16:06:45 2010 +0100
@@ -79,7 +79,7 @@
 
 #define MU_DIV_QR_THRESHOLD                618
 #define MU_DIVAPPR_Q_THRESHOLD             551
-#define MUPI_DIV_QR_THRESHOLD               76
+#define MUPI_DIV_QR_THRESHOLD               49
 #define MU_BDIV_QR_THRESHOLD               492
 #define MU_BDIV_Q_THRESHOLD                541
 
diff -r 7475114f90f5 -r 03ff49efb568 mpn/powerpc64/mode64/p4/gmp-mparam.h
--- a/mpn/powerpc64/mode64/p4/gmp-mparam.h	Thu Jan 07 14:10:50 2010 +0100
+++ b/mpn/powerpc64/mode64/p4/gmp-mparam.h	Thu Jan 07 16:06:45 2010 +0100
@@ -79,7 +79,7 @@
 
 #define MU_DIV_QR_THRESHOLD               1589
 #define MU_DIVAPPR_Q_THRESHOLD            1308
-#define MUPI_DIV_QR_THRESHOLD               92
+#define MUPI_DIV_QR_THRESHOLD               62
 #define MU_BDIV_QR_THRESHOLD              1308
 #define MU_BDIV_Q_THRESHOLD               1334
 
diff -r 7475114f90f5 -r 03ff49efb568 mpn/powerpc64/mode64/p5/gmp-mparam.h
--- a/mpn/powerpc64/mode64/p5/gmp-mparam.h	Thu Jan 07 14:10:50 2010 +0100
+++ b/mpn/powerpc64/mode64/p5/gmp-mparam.h	Thu Jan 07 16:06:45 2010 +0100
@@ -81,7 +81,7 @@
 
 #define MU_DIV_QR_THRESHOLD                872
 #define MU_DIVAPPR_Q_THRESHOLD             855
-#define MUPI_DIV_QR_THRESHOLD              108
+#define MUPI_DIV_QR_THRESHOLD               53
 #define MU_BDIV_QR_THRESHOLD               792
 #define MU_BDIV_Q_THRESHOLD                942
 
diff -r 7475114f90f5 -r 03ff49efb568 mpn/x86/k6/gmp-mparam.h
--- a/mpn/x86/k6/gmp-mparam.h	Thu Jan 07 14:10:50 2010 +0100
+++ b/mpn/x86/k6/gmp-mparam.h	Thu Jan 07 16:06:45 2010 +0100
@@ -73,7 +73,7 @@
 #define DC_BDIV_QR_THRESHOLD                84
 #define DC_BDIV_Q_THRESHOLD                171
 
-#define INV_MULMOD_BNM1_THRESHOLD          133
+#define INV_MULMOD_BNM1_THRESHOLD           55
 #define INV_NEWTON_THRESHOLD               234
 #define INV_APPR_THRESHOLD                 236
 
diff -r 7475114f90f5 -r 03ff49efb568 mpn/x86/p6/mmx/gmp-mparam.h
--- a/mpn/x86/p6/mmx/gmp-mparam.h	Thu Jan 07 14:10:50 2010 +0100
+++ b/mpn/x86/p6/mmx/gmp-mparam.h	Thu Jan 07 16:06:45 2010 +0100
@@ -79,7 +79,7 @@
 #define DC_BDIV_QR_THRESHOLD                76
 #define DC_BDIV_Q_THRESHOLD                175
 
-#define INV_MULMOD_BNM1_THRESHOLD           62
+#define INV_MULMOD_BNM1_THRESHOLD           43
 #define INV_NEWTON_THRESHOLD               268
 #define INV_APPR_THRESHOLD                 250
 
diff -r 7475114f90f5 -r 03ff49efb568 mpn/x86/p6/sse2/gmp-mparam.h
--- a/mpn/x86/p6/sse2/gmp-mparam.h	Thu Jan 07 14:10:50 2010 +0100
+++ b/mpn/x86/p6/sse2/gmp-mparam.h	Thu Jan 07 16:06:45 2010 +0100
@@ -79,7 +79,7 @@
 #define DC_BDIV_QR_THRESHOLD                60
 #define DC_BDIV_Q_THRESHOLD                132
 
-#define INV_MULMOD_BNM1_THRESHOLD          124
+#define INV_MULMOD_BNM1_THRESHOLD           83
 #define INV_NEWTON_THRESHOLD                81
 #define INV_APPR_THRESHOLD                  61
 
@@ -88,7 +88,7 @@
 
 #define MU_DIV_QR_THRESHOLD               1308
 #define MU_DIVAPPR_Q_THRESHOLD             998
-#define MUPI_DIV_QR_THRESHOLD              124
+#define MUPI_DIV_QR_THRESHOLD               62
 #define MU_BDIV_QR_THRESHOLD              1442
 #define MU_BDIV_Q_THRESHOLD               1470
 
diff -r 7475114f90f5 -r 03ff49efb568 mpn/x86_64/atom/gmp-mparam.h
--- a/mpn/x86_64/atom/gmp-mparam.h	Thu Jan 07 14:10:50 2010 +0100
+++ b/mpn/x86_64/atom/gmp-mparam.h	Thu Jan 07 16:06:45 2010 +0100
@@ -63,7 +63,7 @@
 
 #define MULLO_BASECASE_THRESHOLD             2
 #define MULLO_DC_THRESHOLD                  22
-#define MULLO_MUL_N_THRESHOLD             3176
+#define MULLO_MUL_N_THRESHOLD             4141
 
 #define DC_DIV_QR_THRESHOLD                 26
 #define DC_DIVAPPR_Q_THRESHOLD              93
@@ -71,7 +71,7 @@
 #define DC_BDIV_Q_THRESHOLD                 62
 
 #define INV_MULMOD_BNM1_THRESHOLD          100
-#define INV_NEWTON_THRESHOLD               131
+#define INV_NEWTON_THRESHOLD               147
 #define INV_APPR_THRESHOLD                 108
 
 #define BINV_NEWTON_THRESHOLD              165
@@ -80,7 +80,7 @@
 
 #define MU_DIV_QR_THRESHOLD                792
 #define MU_DIVAPPR_Q_THRESHOLD             807
-#define MUPI_DIV_QR_THRESHOLD              100
+#define MUPI_DIV_QR_THRESHOLD               58
 #define MU_BDIV_QR_THRESHOLD               654
 #define MU_BDIV_Q_THRESHOLD                792
 
diff -r 7475114f90f5 -r 03ff49efb568 mpn/x86_64/core2/gmp-mparam.h
--- a/mpn/x86_64/core2/gmp-mparam.h	Thu Jan 07 14:10:50 2010 +0100
+++ b/mpn/x86_64/core2/gmp-mparam.h	Thu Jan 07 16:06:45 2010 +0100
@@ -82,7 +82,7 @@
 
 #define MU_DIV_QR_THRESHOLD               1334
 #define MU_DIVAPPR_Q_THRESHOLD            1334
-#define MUPI_DIV_QR_THRESHOLD              126
+#define MUPI_DIV_QR_THRESHOLD               81
 #define MU_BDIV_QR_THRESHOLD              1037
 #define MU_BDIV_Q_THRESHOLD               1334
 
diff -r 7475114f90f5 -r 03ff49efb568 mpn/x86_64/nano/gmp-mparam.h
--- a/mpn/x86_64/nano/gmp-mparam.h	Thu Jan 07 14:10:50 2010 +0100
+++ b/mpn/x86_64/nano/gmp-mparam.h	Thu Jan 07 16:06:45 2010 +0100
@@ -82,7 +82,7 @@
 
 #define MU_DIV_QR_THRESHOLD               1858
 #define MU_DIVAPPR_Q_THRESHOLD            2009
-#define MUPI_DIV_QR_THRESHOLD              140
+#define MUPI_DIV_QR_THRESHOLD               79
 #define MU_BDIV_QR_THRESHOLD              1387
 #define MU_BDIV_Q_THRESHOLD               1787
 


More information about the gmp-commit mailing list