[Gmp-commit] /home/hgfiles/gmp: Retune atom-32.
mercurial at gmplib.org
mercurial at gmplib.org
Tue Dec 15 13:27:26 CET 2009
details: /home/hgfiles/gmp/rev/6754dcd0fbeb
changeset: 13078:6754dcd0fbeb
user: Marco Bodrato <bodrato at mail.dm.unipi.it>
date: Tue Dec 15 13:27:19 2009 +0100
description:
Retune atom-32.
diffstat:
mpn/x86/atom/gmp-mparam.h | 30 ++++++++++++++++--------------
1 files changed, 16 insertions(+), 14 deletions(-)
diffs (69 lines):
diff -r a5f71c37c4c7 -r 6754dcd0fbeb mpn/x86/atom/gmp-mparam.h
--- a/mpn/x86/atom/gmp-mparam.h Mon Dec 14 22:37:31 2009 +0100
+++ b/mpn/x86/atom/gmp-mparam.h Tue Dec 15 13:27:19 2009 +0100
@@ -21,20 +21,19 @@
#define GMP_LIMB_BITS 32
#define BYTES_PER_MP_LIMB 4
-
-/* Generated by tuneup.c, 2009-11-28, gcc 4.4 */
+/* Generated by tuneup.c, 2009-12-15, gcc 4.4 */
#define MUL_TOOM22_THRESHOLD 16
-#define MUL_TOOM33_THRESHOLD 67
-#define MUL_TOOM44_THRESHOLD 150
+#define MUL_TOOM33_THRESHOLD 69
+#define MUL_TOOM44_THRESHOLD 169
#define SQR_BASECASE_THRESHOLD 0 /* always (native) */
#define SQR_TOOM2_THRESHOLD 16
#define SQR_TOOM3_THRESHOLD 113
#define SQR_TOOM4_THRESHOLD 192
-#define MUL_FFT_TABLE { 336, 672, 896, 2560, 10240, 24576, 98304, 393216, 0 }
-#define MUL_FFT_MODF_THRESHOLD 352
+#define MUL_FFT_TABLE { 304, 672, 896, 2560, 10240, 24576, 98304, 393216, 0 }
+#define MUL_FFT_MODF_THRESHOLD 320
#define MUL_FFT_THRESHOLD 2816
#define SQR_FFT_TABLE { 304, 672, 896, 2560, 6144, 24576, 98304, 393216, 0 }
@@ -43,20 +42,23 @@
#define MULLO_BASECASE_THRESHOLD 0 /* always */
#define MULLO_DC_THRESHOLD 55
-#define MULLO_MUL_N_THRESHOLD 5472
+#define MULLO_MUL_N_THRESHOLD 3913
#define MULMOD_BNM1_THRESHOLD 13
#define DC_DIV_QR_THRESHOLD 59
-#define DC_DIVAPPR_Q_THRESHOLD 214
+#define DC_DIVAPPR_Q_THRESHOLD 222
#define DC_BDIV_QR_THRESHOLD 56
-#define DC_BDIV_Q_THRESHOLD 153
-#define BINV_NEWTON_THRESHOLD 748
-#define REDC_1_TO_REDC_N_THRESHOLD 59
+#define DC_BDIV_Q_THRESHOLD 136
+#define INV_MULMOD_BNM1_THRESHOLD 40
+#define INV_NEWTON_THRESHOLD 260
+#define INV_APPR_THRESHOLD 41
+#define BINV_NEWTON_THRESHOLD 264
+#define REDC_1_TO_REDC_N_THRESHOLD 62
-#define MATRIX22_STRASSEN_THRESHOLD 14
+#define MATRIX22_STRASSEN_THRESHOLD 16
#define HGCD_THRESHOLD 110
-#define GCD_DC_THRESHOLD 386
+#define GCD_DC_THRESHOLD 375
#define GCDEXT_DC_THRESHOLD 278
#define JACOBI_BASE_METHOD 2
@@ -66,7 +68,7 @@
#define MOD_1_2_THRESHOLD 11
#define MOD_1_4_THRESHOLD 18
#define USE_PREINV_DIVREM_1 1
-#define USE_PREINV_MOD_1 1
+#define USE_PREINV_MOD_1 0
#define DIVEXACT_1_THRESHOLD 0 /* always (native) */
#define MODEXACT_1_ODD_THRESHOLD MP_SIZE_T_MAX /* never */
More information about the gmp-commit
mailing list