[Gmp-commit] /home/hgfiles/gmp: 3 new changesets

mercurial at gmplib.org mercurial at gmplib.org
Wed Feb 2 13:00:40 CET 2011


details:   /home/hgfiles/gmp/rev/6e2c9724084c
changeset: 13817:6e2c9724084c
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Wed Feb 02 08:42:54 2011 +0100
description:
Retune.

details:   /home/hgfiles/gmp/rev/25899538a563
changeset: 13818:25899538a563
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Wed Feb 02 09:01:39 2011 +0100
description:
Retune.

details:   /home/hgfiles/gmp/rev/512ee10ba0e3
changeset: 13819:512ee10ba0e3
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Wed Feb 02 13:00:27 2011 +0100
description:
Trivial merge.

diffstat:

 ChangeLog                        |   5 +++++
 mpn/x86_64/coreisbr/gmp-mparam.h |  10 +++++-----
 mpn/x86_64/nano/gmp-mparam.h     |  32 ++++++++++++++++----------------
 tune/speed.h                     |   2 +-
 4 files changed, 27 insertions(+), 22 deletions(-)

diffs (112 lines):

diff -r a8457c08cf20 -r 512ee10ba0e3 ChangeLog
--- a/ChangeLog	Tue Feb 01 21:15:50 2011 +0100
+++ b/ChangeLog	Wed Feb 02 13:00:27 2011 +0100
@@ -1,3 +1,8 @@
+2011-02-02  Niels Möller  <nisse at lysator.liu.se>
+
+	* tune/speed.h (SPEED_ROUTINE_MPN_HGCD_CALL): Fixed one
+	speed_operand_dst call.
+
 2011-02-01  Torbjorn Granlund  <tege at gmplib.org>
 
 	* tune/speed.h (struct speed_params): Allow for 4 dst operands.
diff -r a8457c08cf20 -r 512ee10ba0e3 mpn/x86_64/coreisbr/gmp-mparam.h
--- a/mpn/x86_64/coreisbr/gmp-mparam.h	Tue Feb 01 21:15:50 2011 +0100
+++ b/mpn/x86_64/coreisbr/gmp-mparam.h	Wed Feb 02 13:00:27 2011 +0100
@@ -129,12 +129,12 @@
 #define MU_BDIV_Q_THRESHOLD               1442
 
 #define MATRIX22_STRASSEN_THRESHOLD         15
-#define HGCD_THRESHOLD                     125 /* hardwired, tuneup crashes */
-#define GCD_DC_THRESHOLD                   396
-#define GCDEXT_DC_THRESHOLD                368
+#define HGCD_THRESHOLD                      69
+#define GCD_DC_THRESHOLD                   416
+#define GCDEXT_DC_THRESHOLD                393
 #define JACOBI_BASE_METHOD                   4
 
 #define GET_STR_DC_THRESHOLD                12
 #define GET_STR_PRECOMPUTE_THRESHOLD        21
-#define SET_STR_DC_THRESHOLD               650
-#define SET_STR_PRECOMPUTE_THRESHOLD      1585
+#define SET_STR_DC_THRESHOLD               698
+#define SET_STR_PRECOMPUTE_THRESHOLD      1664
diff -r a8457c08cf20 -r 512ee10ba0e3 mpn/x86_64/nano/gmp-mparam.h
--- a/mpn/x86_64/nano/gmp-mparam.h	Tue Feb 01 21:15:50 2011 +0100
+++ b/mpn/x86_64/nano/gmp-mparam.h	Wed Feb 02 13:00:27 2011 +0100
@@ -37,13 +37,13 @@
 #define MUL_TOOM22_THRESHOLD                27
 #define MUL_TOOM33_THRESHOLD                33
 #define MUL_TOOM44_THRESHOLD               292
-#define MUL_TOOM6H_THRESHOLD               711
-#define MUL_TOOM8H_THRESHOLD               915
+#define MUL_TOOM6H_THRESHOLD               454
+#define MUL_TOOM8H_THRESHOLD               626
 
-#define MUL_TOOM32_TO_TOOM43_THRESHOLD      67
-#define MUL_TOOM32_TO_TOOM53_THRESHOLD     183
-#define MUL_TOOM42_TO_TOOM53_THRESHOLD     193
-#define MUL_TOOM42_TO_TOOM63_THRESHOLD     193
+#define MUL_TOOM32_TO_TOOM43_THRESHOLD      73
+#define MUL_TOOM32_TO_TOOM53_THRESHOLD     201
+#define MUL_TOOM42_TO_TOOM53_THRESHOLD     209
+#define MUL_TOOM42_TO_TOOM63_THRESHOLD     225
 
 #define SQR_BASECASE_THRESHOLD               0  /* always (native) */
 #define SQR_TOOM2_THRESHOLD                 34
@@ -173,24 +173,24 @@
 #define SQR_FFT_TABLE3_SIZE 215
 #define SQR_FFT_THRESHOLD                 3264
 
-#define MULLO_BASECASE_THRESHOLD             8
+#define MULLO_BASECASE_THRESHOLD            17
 #define MULLO_DC_THRESHOLD                   0  /* never mpn_mullo_basecase */
 #define MULLO_MUL_N_THRESHOLD             6633
 
-#define DC_DIV_QR_THRESHOLD                 47
+#define DC_DIV_QR_THRESHOLD                 54
 #define DC_DIVAPPR_Q_THRESHOLD             143
-#define DC_BDIV_QR_THRESHOLD                46
+#define DC_BDIV_QR_THRESHOLD                51
 #define DC_BDIV_Q_THRESHOLD                 79
 
-#define INV_MULMOD_BNM1_THRESHOLD           59
-#define INV_NEWTON_THRESHOLD               153
-#define INV_APPR_THRESHOLD                 155
+#define INV_MULMOD_BNM1_THRESHOLD           54
+#define INV_NEWTON_THRESHOLD               149
+#define INV_APPR_THRESHOLD                 149
 
-#define BINV_NEWTON_THRESHOLD              244
+#define BINV_NEWTON_THRESHOLD              182
 #define REDC_1_TO_REDC_2_THRESHOLD          11
 #define REDC_2_TO_REDC_N_THRESHOLD          77
 
-#define MU_DIV_QR_THRESHOLD               1499
+#define MU_DIV_QR_THRESHOLD               1589
 #define MU_DIVAPPR_Q_THRESHOLD            1620
 #define MUPI_DIV_QR_THRESHOLD               74
 #define MU_BDIV_QR_THRESHOLD              1142
@@ -198,8 +198,8 @@
 
 #define MATRIX22_STRASSEN_THRESHOLD         17
 #define HGCD_THRESHOLD                      93
-#define GCD_DC_THRESHOLD                   416
-#define GCDEXT_DC_THRESHOLD                456
+#define GCD_DC_THRESHOLD                   541
+#define GCDEXT_DC_THRESHOLD                465
 #define JACOBI_BASE_METHOD                   4
 
 #define GET_STR_DC_THRESHOLD                12
diff -r a8457c08cf20 -r 512ee10ba0e3 tune/speed.h
--- a/tune/speed.h	Tue Feb 01 21:15:50 2011 +0100
+++ b/tune/speed.h	Wed Feb 02 13:00:27 2011 +0100
@@ -2466,7 +2466,7 @@
     speed_operand_dst (s, ap, s->size + 1);				\
     speed_operand_dst (s, bp, s->size + 1);				\
     speed_operand_dst (s, wp, hgcd_itch);				\
-    speed_operand_dst (s, tmp1, hgcd_itch);				\
+    speed_operand_dst (s, tmp1, hgcd_init_itch);			\
     speed_cache_fill (s);						\
     									\
     speed_starttime ();							\


More information about the gmp-commit mailing list