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

mercurial at gmplib.org mercurial at gmplib.org
Sun Nov 29 19:29:16 CET 2009


details:   /home/hgfiles/gmp/rev/eeee0b735790
changeset: 12939:eeee0b735790
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Sun Nov 29 19:17:28 2009 +0100
description:
Don't inhibit use of mpn_addlsh1_n and mpn_sublsh1_n.

details:   /home/hgfiles/gmp/rev/4806080fb07e
changeset: 12940:4806080fb07e
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Sun Nov 29 19:29:11 2009 +0100
description:
Retune.

diffstat:

 ChangeLog                          |   3 +
 mpn/alpha/ev6/gmp-mparam.h         |  54 +++++++++++++-------------
 mpn/arm/gmp-mparam.h               |  24 ++++++------
 mpn/ia64/gmp-mparam.h              |  34 ++++++++--------
 mpn/pa32/hppa2_0/gmp-mparam.h      |  67 +++++++++++++++++----------------
 mpn/pa64/gmp-mparam.h              |  58 +++++++++++++++-------------
 mpn/powerpc32/750/gmp-mparam.h     |  54 ++++++++++++++------------
 mpn/powerpc32/gmp-mparam.h         |  49 ++++++++++++------------
 mpn/sparc64/gmp-mparam.h           |  66 +++++++++++++++++----------------
 mpn/x86/k7/gmp-mparam.h            |  32 ++++++++--------
 mpn/x86/p6/sse2/gmp-mparam.h       |  58 ++++++++++++++++-------------
 mpn/x86/pentium4/sse2/gmp-mparam.h |  66 ++++++++++++++++++---------------
 mpn/x86_64/atom/gmp-mparam.h       |  32 ++++++++--------
 mpn/x86_64/core2/gmp-mparam.h      |  41 ++++++++------------
 mpn/x86_64/corei/gmp-mparam.h      |  26 ++++++------
 mpn/x86_64/gmp-mparam.h            |  32 ++++++++--------
 mpn/x86_64/nano/gmp-mparam.h       |  34 ++++++++--------
 mpn/x86_64/pentium4/gmp-mparam.h   |   2 -
 18 files changed, 376 insertions(+), 356 deletions(-)

diffs (truncated from 1277 to 300 lines):

diff -r 96addc3e1a68 -r 4806080fb07e ChangeLog
--- a/ChangeLog	Sun Nov 29 14:00:22 2009 +0100
+++ b/ChangeLog	Sun Nov 29 19:29:11 2009 +0100
@@ -1,5 +1,8 @@
 2009-11-29  Torbjorn Granlund  <tege at gmplib.org>
 
+	* mpn/x86_64/pentium4/gmp-mparam.h
+	(HAVE_NATIVE_mpn_addlsh1_n, HAVE_NATIVE_mpn_sublsh1_n): Don't undef.
+
 	* Makefile.am (EXTRA_DIST): Remove macos.
 
 2009-11-28  Torbjorn Granlund  <tege at gmplib.org>
diff -r 96addc3e1a68 -r 4806080fb07e mpn/alpha/ev6/gmp-mparam.h
--- a/mpn/alpha/ev6/gmp-mparam.h	Sun Nov 29 14:00:22 2009 +0100
+++ b/mpn/alpha/ev6/gmp-mparam.h	Sun Nov 29 19:29:11 2009 +0100
@@ -23,40 +23,40 @@
 
 #define DIVEXACT_BY3_METHOD 0	/* override ../diveby3.asm */
 
-/* 500 MHz 21164 */
+/* 500 MHz 21164 (agnesi.math.su.se) */
 
-/* Generated by tuneup.c, 2009-11-24, gcc 3.3 */
+/* Generated by tuneup.c, 2009-11-29, gcc 3.3 */
 
-#define MUL_TOOM22_THRESHOLD             37
-#define MUL_TOOM33_THRESHOLD             89
-#define MUL_TOOM44_THRESHOLD            160
+#define MUL_TOOM22_THRESHOLD             32
+#define MUL_TOOM33_THRESHOLD             73
+#define MUL_TOOM44_THRESHOLD            166
 
-#define SQR_BASECASE_THRESHOLD            6
+#define SQR_BASECASE_THRESHOLD            5
 #define SQR_TOOM2_THRESHOLD              60
-#define SQR_TOOM3_THRESHOLD             109
-#define SQR_TOOM4_THRESHOLD             172
+#define SQR_TOOM3_THRESHOLD             105
+#define SQR_TOOM4_THRESHOLD             167
 
-#define MUL_FFT_TABLE  { 336, 736, 1856, 3328, 9216, 28672, 81920, 327680, 0 }
-#define MUL_FFT_MODF_THRESHOLD          352
-#define MUL_FFT_THRESHOLD              5632
+#define MUL_FFT_TABLE  { 304, 864, 1728, 3328, 9216, 28672, 147456, 327680, 0 }
+#define MUL_FFT_MODF_THRESHOLD          432
+#define MUL_FFT_THRESHOLD              3968
 
-#define SQR_FFT_TABLE  { 432, 864, 1728, 3840, 9216, 20480, 81920, 327680, 0 }
+#define SQR_FFT_TABLE  { 400, 864, 1600, 3840, 9216, 28672, 114688, 327680, 0 }
 #define SQR_FFT_MODF_THRESHOLD          376
-#define SQR_FFT_THRESHOLD              3968
+#define SQR_FFT_THRESHOLD              3712
 
 #define MULLOW_BASECASE_THRESHOLD         0  /* always */
-#define MULLOW_DC_THRESHOLD             113
-#define MULLOW_MUL_N_THRESHOLD        10970
+#define MULLOW_DC_THRESHOLD             129
+#define MULLOW_MUL_N_THRESHOLD         7842
 
 #define MULMOD_BNM1_THRESHOLD            16
 
-#define DC_DIV_QR_THRESHOLD             112
-#define REDC_1_TO_REDC_N_THRESHOLD      195
+#define DC_DIV_QR_THRESHOLD             118
+#define REDC_1_TO_REDC_N_THRESHOLD      122
 
-#define MATRIX22_STRASSEN_THRESHOLD      21
-#define HGCD_THRESHOLD                  290
-#define GCD_DC_THRESHOLD               1194
-#define GCDEXT_DC_THRESHOLD            1105
+#define MATRIX22_STRASSEN_THRESHOLD      19
+#define HGCD_THRESHOLD                  300
+#define GCD_DC_THRESHOLD               1421
+#define GCDEXT_DC_THRESHOLD            1063
 #define JACOBI_BASE_METHOD                3
 
 #define DIVREM_1_NORM_THRESHOLD           0  /* preinv always */
@@ -64,14 +64,14 @@
 #define MOD_1_NORM_THRESHOLD              0  /* always */
 #define MOD_1_UNNORM_THRESHOLD            0  /* always */
 #define MOD_1_1_THRESHOLD                 2
-#define MOD_1_2_THRESHOLD                 7
-#define MOD_1_4_THRESHOLD                31
+#define MOD_1_2_THRESHOLD                 6
+#define MOD_1_4_THRESHOLD                30
 #define USE_PREINV_DIVREM_1               1  /* preinv always */
 #define USE_PREINV_MOD_1                  1  /* preinv always */
 #define DIVEXACT_1_THRESHOLD              0  /* always */
 #define MODEXACT_1_ODD_THRESHOLD      MP_SIZE_T_MAX  /* never */
 
-#define GET_STR_DC_THRESHOLD             19
-#define GET_STR_PRECOMPUTE_THRESHOLD     24
-#define SET_STR_DC_THRESHOLD           3828
-#define SET_STR_PRECOMPUTE_THRESHOLD   9861
+#define GET_STR_DC_THRESHOLD             18
+#define GET_STR_PRECOMPUTE_THRESHOLD     23
+#define SET_STR_DC_THRESHOLD           2797
+#define SET_STR_PRECOMPUTE_THRESHOLD  10681
diff -r 96addc3e1a68 -r 4806080fb07e mpn/arm/gmp-mparam.h
--- a/mpn/arm/gmp-mparam.h	Sun Nov 29 14:00:22 2009 +0100
+++ b/mpn/arm/gmp-mparam.h	Sun Nov 29 19:29:11 2009 +0100
@@ -23,7 +23,7 @@
 
 /* 593MHz ARM (gcc50.fsffrance.org) */
 
-/* Generated by tuneup.c, 2009-11-26, gcc 4.3 */
+/* Generated by tuneup.c, 2009-11-29, gcc 4.3 */
 
 #define MUL_TOOM22_THRESHOLD             34
 #define MUL_TOOM33_THRESHOLD            121
@@ -34,27 +34,27 @@
 #define SQR_TOOM3_THRESHOLD             141
 #define SQR_TOOM4_THRESHOLD             212
 
-#define MUL_FFT_TABLE  { 368, 928, 1664, 4608, 14336, 40960, 163840, 655360, 0 }
+#define MUL_FFT_TABLE  { 368, 928, 1920, 4608, 14336, 40960, 163840, 655360, 0 }
 #define MUL_FFT_MODF_THRESHOLD          384
-#define MUL_FFT_THRESHOLD              6400
+#define MUL_FFT_THRESHOLD              6912
 
 #define SQR_FFT_TABLE  { 432, 928, 1664, 4608, 10240, 40960, 163840, 655360, 0 }
-#define SQR_FFT_MODF_THRESHOLD          392
+#define SQR_FFT_MODF_THRESHOLD          376
 #define SQR_FFT_THRESHOLD              7168
 
 #define MULLOW_BASECASE_THRESHOLD         0  /* always */
 #define MULLOW_DC_THRESHOLD             120
-#define MULLOW_MUL_N_THRESHOLD         6933
+#define MULLOW_MUL_N_THRESHOLD        11138
 
 #define MULMOD_BNM1_THRESHOLD            20
 
-#define DC_DIV_QR_THRESHOLD             140
-#define REDC_1_TO_REDC_N_THRESHOLD      230
+#define DC_DIV_QR_THRESHOLD             132
+#define REDC_1_TO_REDC_N_THRESHOLD      123
 
 #define MATRIX22_STRASSEN_THRESHOLD      19
-#define HGCD_THRESHOLD                   99
-#define GCD_DC_THRESHOLD                693
-#define GCDEXT_DC_THRESHOLD             642
+#define HGCD_THRESHOLD                  106
+#define GCD_DC_THRESHOLD                706
+#define GCDEXT_DC_THRESHOLD             630
 #define JACOBI_BASE_METHOD                2
 
 #define DIVREM_1_NORM_THRESHOLD           0  /* preinv always */
@@ -71,6 +71,6 @@
 #define MODEXACT_1_ODD_THRESHOLD      MP_SIZE_T_MAX  /* never */
 
 #define GET_STR_DC_THRESHOLD             14
-#define GET_STR_PRECOMPUTE_THRESHOLD     29
-#define SET_STR_DC_THRESHOLD            321
+#define GET_STR_PRECOMPUTE_THRESHOLD     28
+#define SET_STR_DC_THRESHOLD            309
 #define SET_STR_PRECOMPUTE_THRESHOLD   1037
diff -r 96addc3e1a68 -r 4806080fb07e mpn/ia64/gmp-mparam.h
--- a/mpn/ia64/gmp-mparam.h	Sun Nov 29 14:00:22 2009 +0100
+++ b/mpn/ia64/gmp-mparam.h	Sun Nov 29 19:29:11 2009 +0100
@@ -23,38 +23,38 @@
 
 /* 1300MHz Itanium2 (babe.fsffrance.org) */
 
-/* Generated by tuneup.c, 2009-11-25, gcc 4.2 */
+/* Generated by tuneup.c, 2009-11-29, gcc 4.2 */
 
 #define MUL_TOOM22_THRESHOLD             44
 #define MUL_TOOM33_THRESHOLD             89
-#define MUL_TOOM44_THRESHOLD            220
+#define MUL_TOOM44_THRESHOLD            232
 
-#define SQR_BASECASE_THRESHOLD           25
+#define SQR_BASECASE_THRESHOLD           26
 #define SQR_TOOM2_THRESHOLD             119
-#define SQR_TOOM3_THRESHOLD             145
-#define SQR_TOOM4_THRESHOLD             288
+#define SQR_TOOM3_THRESHOLD             141
+#define SQR_TOOM4_THRESHOLD             284
 
 #define MUL_FFT_TABLE  { 528, 1120, 1856, 3840, 11264, 28672, 114688, 327680, 0 }
-#define MUL_FFT_MODF_THRESHOLD          720
+#define MUL_FFT_MODF_THRESHOLD          624
 #define MUL_FFT_THRESHOLD              7680
 
 #define SQR_FFT_TABLE  { 592, 1248, 2368, 3840, 11264, 28672, 81920, 327680, 0 }
 #define SQR_FFT_MODF_THRESHOLD          608
 #define SQR_FFT_THRESHOLD              4992
 
-#define MULLOW_BASECASE_THRESHOLD        19
-#define MULLOW_DC_THRESHOLD              91
+#define MULLOW_BASECASE_THRESHOLD        17
+#define MULLOW_DC_THRESHOLD              88
 #define MULLOW_MUL_N_THRESHOLD        15280
 
 #define MULMOD_BNM1_THRESHOLD            24
 
-#define DC_DIV_QR_THRESHOLD              69
+#define DC_DIV_QR_THRESHOLD              64
 #define REDC_1_TO_REDC_2_THRESHOLD       10
-#define REDC_2_TO_REDC_N_THRESHOLD      272
+#define REDC_2_TO_REDC_N_THRESHOLD      172
 
-#define MATRIX22_STRASSEN_THRESHOLD      26
+#define MATRIX22_STRASSEN_THRESHOLD      23
 #define HGCD_THRESHOLD                  116
-#define GCD_DC_THRESHOLD                465
+#define GCD_DC_THRESHOLD                501
 #define GCDEXT_DC_THRESHOLD             584
 #define JACOBI_BASE_METHOD                2
 
@@ -62,13 +62,13 @@
 #define MOD_1_UNNORM_THRESHOLD            0  /* always */
 #define MOD_1_1_THRESHOLD                 9
 #define MOD_1_2_THRESHOLD                10
-#define MOD_1_4_THRESHOLD                14
+#define MOD_1_4_THRESHOLD                16
 #define USE_PREINV_DIVREM_1               1  /* native */
 #define USE_PREINV_MOD_1                  1  /* preinv always */
 #define DIVEXACT_1_THRESHOLD              0  /* always (native) */
 #define MODEXACT_1_ODD_THRESHOLD          0  /* always */
 
-#define GET_STR_DC_THRESHOLD             14
-#define GET_STR_PRECOMPUTE_THRESHOLD     22
-#define SET_STR_DC_THRESHOLD           1502
-#define SET_STR_PRECOMPUTE_THRESHOLD   3489
+#define GET_STR_DC_THRESHOLD             15
+#define GET_STR_PRECOMPUTE_THRESHOLD     21
+#define SET_STR_DC_THRESHOLD           1339
+#define SET_STR_PRECOMPUTE_THRESHOLD   3565
diff -r 96addc3e1a68 -r 4806080fb07e mpn/pa32/hppa2_0/gmp-mparam.h
--- a/mpn/pa32/hppa2_0/gmp-mparam.h	Sun Nov 29 14:00:22 2009 +0100
+++ b/mpn/pa32/hppa2_0/gmp-mparam.h	Sun Nov 29 19:29:11 2009 +0100
@@ -21,53 +21,56 @@
 #define GMP_LIMB_BITS 32
 #define BYTES_PER_MP_LIMB 4
 
-/* Generated by tuneup.c, 2009-03-05, gcc 4.3 */
+/* 552 MHz PA8600 (gcc61.fsffrance.org) */
 
-#define MUL_TOOM22_THRESHOLD             15
-#define MUL_TOOM33_THRESHOLD             98
+/* Generated by tuneup.c, 2009-11-29, gcc 4.2 */
+
+#define MUL_TOOM22_THRESHOLD             22
+#define MUL_TOOM33_THRESHOLD            104
 #define MUL_TOOM44_THRESHOLD            158
 
 #define SQR_BASECASE_THRESHOLD            6
-#define SQR_TOOM2_THRESHOLD              48
-#define SQR_TOOM3_THRESHOLD              97
-#define SQR_TOOM4_THRESHOLD             232
+#define SQR_TOOM2_THRESHOLD              51
+#define SQR_TOOM3_THRESHOLD              89
+#define SQR_TOOM4_THRESHOLD             250
+
+#define MUL_FFT_TABLE  { 304, 672, 1152, 2560, 6144, 24576, 98304, 393216, 0 }
+#define MUL_FFT_MODF_THRESHOLD          232
+#define MUL_FFT_THRESHOLD              1792
+
+#define SQR_FFT_TABLE  { 304, 672, 1152, 2560, 6144, 24576, 98304, 393216, 0 }
+#define SQR_FFT_MODF_THRESHOLD          232
+#define SQR_FFT_THRESHOLD              1792
 
 #define MULLOW_BASECASE_THRESHOLD         0  /* always */
-#define MULLOW_DC_THRESHOLD              92
-#define MULLOW_MUL_N_THRESHOLD          363
+#define MULLOW_DC_THRESHOLD              90
+#define MULLOW_MUL_N_THRESHOLD         2350
 
-#define DIV_SB_PREINV_THRESHOLD           4
-#define DIV_DC_THRESHOLD                 92
-#define POWM_THRESHOLD                  142
+#define MULMOD_BNM1_THRESHOLD            16
 
-#define MATRIX22_STRASSEN_THRESHOLD      17
-#define HGCD_THRESHOLD                  100
-#define GCD_DC_THRESHOLD                365
-#define GCDEXT_DC_THRESHOLD             339
+#define DC_DIV_QR_THRESHOLD             100
+#define REDC_1_TO_REDC_N_THRESHOLD       89
+
+#define MATRIX22_STRASSEN_THRESHOLD      11
+#define HGCD_THRESHOLD                  101
+#define GCD_DC_THRESHOLD                368
+#define GCDEXT_DC_THRESHOLD             330
 #define JACOBI_BASE_METHOD                2
 
-#define DIVREM_1_NORM_THRESHOLD           3
-#define DIVREM_1_UNNORM_THRESHOLD         5
+#define DIVREM_1_NORM_THRESHOLD           0  /* always */
+#define DIVREM_1_UNNORM_THRESHOLD         4
 #define MOD_1_NORM_THRESHOLD              4
-#define MOD_1_UNNORM_THRESHOLD            5
-#define MOD_1_1_THRESHOLD                 6
-#define MOD_1_2_THRESHOLD                 9
-#define MOD_1_4_THRESHOLD                24
+#define MOD_1_UNNORM_THRESHOLD            4
+#define MOD_1_1_THRESHOLD                12
+#define MOD_1_2_THRESHOLD                13
+#define MOD_1_4_THRESHOLD                18


More information about the gmp-commit mailing list