summaryrefslogtreecommitdiff
path: root/mpn/x86
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2001-11-29 00:11:57 +0100
committerKevin Ryde <user42@zip.com.au>2001-11-29 00:11:57 +0100
commit0e61569ec44af929428225346bcb40c05180c93f (patch)
treeba4a499f89164e6f5f10442cf5414eec58d12629 /mpn/x86
parent0a226ab46636a791505ba885da7e88818cee623b (diff)
downloadgmp-0e61569ec44af929428225346bcb40c05180c93f.tar.gz
* mpn/*/gmp-mparam.h: Update measured thresholds.
Diffstat (limited to 'mpn/x86')
-rw-r--r--mpn/x86/k6/gmp-mparam.h27
-rw-r--r--mpn/x86/p6/gmp-mparam.h21
2 files changed, 25 insertions, 23 deletions
diff --git a/mpn/x86/k6/gmp-mparam.h b/mpn/x86/k6/gmp-mparam.h
index 1ae078e19..cf9541c05 100644
--- a/mpn/x86/k6/gmp-mparam.h
+++ b/mpn/x86/k6/gmp-mparam.h
@@ -45,30 +45,31 @@ MA 02111-1307, USA. */
/* 333MHz K6-2, gcc 2.95.3 */
-/* Generated by tuneup.c, 2001-02-04. */
+/* Generated by tuneup.c, 2001-11-29, gcc 3.0 */
-#define KARATSUBA_MUL_THRESHOLD 19
-#define TOOM3_MUL_THRESHOLD 130
+#define KARATSUBA_MUL_THRESHOLD 20
+#define TOOM3_MUL_THRESHOLD 129
-#define KARATSUBA_SQR_THRESHOLD 31
-#define TOOM3_SQR_THRESHOLD 164
+#define BASECASE_SQR_THRESHOLD 0
+#define KARATSUBA_SQR_THRESHOLD 30
+#define TOOM3_SQR_THRESHOLD 186
#define SB_PREINV_THRESHOLD MP_SIZE_T_MAX
-#define DC_THRESHOLD 71
+#define DC_THRESHOLD 69
#define POWM_THRESHOLD 91
#define GCD_ACCEL_THRESHOLD 3
-#define GCDEXT_THRESHOLD 52
+#define GCDEXT_THRESHOLD 51
#define USE_PREINV_MOD_1 1 /* (native) */
#define DIVREM_2_THRESHOLD MP_SIZE_T_MAX
#define DIVEXACT_1_THRESHOLD 0
#define MODEXACT_1_ODD_THRESHOLD 0
-#define FFT_MUL_TABLE { 528, 1120, 2176, 5632, 14336, 40960, 0 }
-#define FFT_MODF_MUL_THRESHOLD 488
-#define FFT_MUL_THRESHOLD 4352
+#define FFT_MUL_TABLE { 496, 1184, 1920, 4608, 14336, 40960, 0 }
+#define FFT_MODF_MUL_THRESHOLD 440
+#define FFT_MUL_THRESHOLD 3840
-#define FFT_SQR_TABLE { 560, 1184, 2432, 5632, 14336, 40960, 0 }
-#define FFT_MODF_SQR_THRESHOLD 488
-#define FFT_SQR_THRESHOLD 4352
+#define FFT_SQR_TABLE { 528, 1184, 2176, 5632, 14336, 40960, 0 }
+#define FFT_MODF_SQR_THRESHOLD 472
+#define FFT_SQR_THRESHOLD 3840
diff --git a/mpn/x86/p6/gmp-mparam.h b/mpn/x86/p6/gmp-mparam.h
index df84b1ad2..251853b8b 100644
--- a/mpn/x86/p6/gmp-mparam.h
+++ b/mpn/x86/p6/gmp-mparam.h
@@ -44,30 +44,31 @@ MA 02111-1307, USA. */
/* 800MHz P-III, gcc 2.95.2 (and 200MHz P6 with gcc 2.7.2.3 is similar) */
-/* Generated by tuneup.c, 2001-02-03. */
+/* Generated by tuneup.c, 2001-11-28, gcc 2.95 */
#define KARATSUBA_MUL_THRESHOLD 23
-#define TOOM3_MUL_THRESHOLD 137
+#define TOOM3_MUL_THRESHOLD 164
-#define KARATSUBA_SQR_THRESHOLD 48
-#define TOOM3_SQR_THRESHOLD 177
+#define BASECASE_SQR_THRESHOLD 0
+#define KARATSUBA_SQR_THRESHOLD 50
+#define TOOM3_SQR_THRESHOLD 202
#define SB_PREINV_THRESHOLD 4
-#define DC_THRESHOLD 108
+#define DC_THRESHOLD 111
#define POWM_THRESHOLD 142
#define GCD_ACCEL_THRESHOLD 3
#define GCDEXT_THRESHOLD 45
#define USE_PREINV_MOD_1 1 /* (native) */
-#define DIVREM_2_THRESHOLD MP_SIZE_T_MAX
+#define DIVREM_2_THRESHOLD 0
#define DIVEXACT_1_THRESHOLD 0
#define MODEXACT_1_ODD_THRESHOLD 0
-#define FFT_MUL_TABLE { 592, 1440, 2688, 6656, 14336, 40960, 0 }
+#define FFT_MUL_TABLE { 592, 1440, 2688, 5632, 14336, 40960, 0 }
#define FFT_MODF_MUL_THRESHOLD 608
#define FFT_MUL_THRESHOLD 5376
-#define FFT_SQR_TABLE { 688, 1568, 2944, 6656, 18432, 57344, 0 }
-#define FFT_MODF_SQR_THRESHOLD 704
-#define FFT_SQR_THRESHOLD 6400
+#define FFT_SQR_TABLE { 656, 1504, 2944, 6656, 18432, 57344, 0 }
+#define FFT_MODF_SQR_THRESHOLD 672
+#define FFT_SQR_THRESHOLD 5376