summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2001-11-29 00:28:12 +0100
committerKevin Ryde <user42@zip.com.au>2001-11-29 00:28:12 +0100
commitedda635b233a2fbfc04fec972d46bd75d6f4b9a8 (patch)
tree1e8e8145ada13576d28e1e1bda767b75bb5f3855
parent5c34c5940099bb227a39c0c24a51022657193efe (diff)
downloadgmp-edda635b233a2fbfc04fec972d46bd75d6f4b9a8.tar.gz
* mpn/*/gmp-mparam.h: Update measured thresholds.
-rw-r--r--mpn/pa64/gmp-mparam.h20
-rw-r--r--mpn/powerpc32/gmp-mparam.h31
2 files changed, 26 insertions, 25 deletions
diff --git a/mpn/pa64/gmp-mparam.h b/mpn/pa64/gmp-mparam.h
index c649d404c..4eaaf28ca 100644
--- a/mpn/pa64/gmp-mparam.h
+++ b/mpn/pa64/gmp-mparam.h
@@ -26,18 +26,18 @@ MA 02111-1307, USA. */
A.10.32.30. Presumably the PA8200 and PA8500 have the same timing
characteristic, but GCC might give somewhat different results. */
-/* Generated by tuneup.c, 2001-02-18, system compiler */
+/* Generated by tuneup.c, 2001-11-26, system compiler */
#define KARATSUBA_MUL_THRESHOLD 16
#define TOOM3_MUL_THRESHOLD 105
#define BASECASE_SQR_THRESHOLD 5
#define KARATSUBA_SQR_THRESHOLD 30
-#define TOOM3_SQR_THRESHOLD 106
+#define TOOM3_SQR_THRESHOLD 114
#define SB_PREINV_THRESHOLD 0
-#define DC_THRESHOLD 70
-#define POWM_THRESHOLD 134
+#define DC_THRESHOLD 56
+#define POWM_THRESHOLD 110
#define GCD_ACCEL_THRESHOLD 3
#define GCDEXT_THRESHOLD 0
@@ -51,10 +51,10 @@ MA 02111-1307, USA. */
#define DIVEXACT_1_THRESHOLD 0
#define MODEXACT_1_ODD_THRESHOLD 0
-#define FFT_MUL_TABLE { 464, 992, 2112, 3840, 9216, 28672, 0 }
-#define FFT_MODF_MUL_THRESHOLD 328
-#define FFT_MUL_THRESHOLD 2432
+#define FFT_MUL_TABLE { 464, 928, 2112, 3840, 9216, 28672, 0 }
+#define FFT_MODF_MUL_THRESHOLD 328
+#define FFT_MUL_THRESHOLD 2432
-#define FFT_SQR_TABLE { 432, 864, 2112, 3840, 9216, 20480, 0 }
-#define FFT_MODF_SQR_THRESHOLD 312
-#define FFT_SQR_THRESHOLD 2176
+#define FFT_SQR_TABLE { 464, 992, 2240, 4352, 9216, 28672, 0 }
+#define FFT_MODF_SQR_THRESHOLD 344
+#define FFT_SQR_THRESHOLD 2432
diff --git a/mpn/powerpc32/gmp-mparam.h b/mpn/powerpc32/gmp-mparam.h
index c8832880b..3f1c3121b 100644
--- a/mpn/powerpc32/gmp-mparam.h
+++ b/mpn/powerpc32/gmp-mparam.h
@@ -1,4 +1,4 @@
-/* gmp-mparam.h -- Compiler/machine parameter header file.
+/* PowerPC-32 604e gmp-mparam.h -- Compiler/machine parameter header file.
Copyright 1991, 1993, 1994, 1999, 2000, 2001 Free Software Foundation, Inc.
@@ -25,23 +25,24 @@ MA 02111-1307, USA. */
/* 350MHz 604e, gcc.
- Presumably these should be considerably different for the 603 and 750
- which have much slower multiply instructions. */
+ These should be considerably different for the 603 and 750 which have
+ much slower multiply instructions. */
-/* Generated by tuneup.c, 2001-02-03. */
+/* Generated by tuneup.c, 2001-11-28, gcc 2.95 */
#define KARATSUBA_MUL_THRESHOLD 20
-#define TOOM3_MUL_THRESHOLD 228
+#define TOOM3_MUL_THRESHOLD 226
+#define BASECASE_SQR_THRESHOLD 6
#define KARATSUBA_SQR_THRESHOLD 40
-#define TOOM3_SQR_THRESHOLD 266
+#define TOOM3_SQR_THRESHOLD 274
#define SB_PREINV_THRESHOLD 0
-#define DC_THRESHOLD 52
-#define POWM_THRESHOLD 104
+#define DC_THRESHOLD 54
+#define POWM_THRESHOLD 107
#define GCD_ACCEL_THRESHOLD 3
-#define GCDEXT_THRESHOLD 49
+#define GCDEXT_THRESHOLD 50
#define DIVREM_1_NORM_THRESHOLD 0
#define DIVREM_1_UNNORM_THRESHOLD 0
@@ -52,10 +53,10 @@ MA 02111-1307, USA. */
#define DIVEXACT_1_THRESHOLD 0
#define MODEXACT_1_ODD_THRESHOLD 0
-#define FFT_MUL_TABLE { 560, 1184, 2176, 5632, 14336, 57344, 0 }
-#define FFT_MODF_MUL_THRESHOLD 576
-#define FFT_MUL_THRESHOLD 6912
+#define FFT_MUL_TABLE { 528, 1184, 2176, 5632, 18432, 57344, 0 }
+#define FFT_MODF_MUL_THRESHOLD 544
+#define FFT_MUL_THRESHOLD 6400
-#define FFT_SQR_TABLE { 560, 1248, 2176, 5632, 14336, 40960, 0 }
-#define FFT_MODF_SQR_THRESHOLD 576
-#define FFT_SQR_THRESHOLD 5888
+#define FFT_SQR_TABLE { 528, 1184, 2176, 5632, 14336, 40960, 0 }
+#define FFT_MODF_SQR_THRESHOLD 544
+#define FFT_SQR_THRESHOLD 6400