summaryrefslogtreecommitdiff
path: root/mpn/powerpc64
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2001-02-04 00:29:40 +0100
committerKevin Ryde <user42@zip.com.au>2001-02-04 00:29:40 +0100
commitbce39c936f5cc5d5541e8cfee01706f363a18c41 (patch)
treefcc7601cb1a69fd8002741c506634e2ebd61b2be /mpn/powerpc64
parent1fe6ee480e5ff8bc0fa22d677b21c0137315b1c5 (diff)
downloadgmp-bce39c936f5cc5d5541e8cfee01706f363a18c41.tar.gz
* mpn/x86/*/gmp-mparam.h, mpn/alpha/ev5/gmp-mparam.h,
mpn/powerpc64/gmp-mparam.h, mpn/sparc64/gmp-mparam.h: Update tuned parameters.
Diffstat (limited to 'mpn/powerpc64')
-rw-r--r--mpn/powerpc64/gmp-mparam.h89
1 files changed, 35 insertions, 54 deletions
diff --git a/mpn/powerpc64/gmp-mparam.h b/mpn/powerpc64/gmp-mparam.h
index 3db659edc..d71155968 100644
--- a/mpn/powerpc64/gmp-mparam.h
+++ b/mpn/powerpc64/gmp-mparam.h
@@ -23,57 +23,38 @@ MA 02111-1307, USA. */
#define BITS_PER_MP_LIMB 64
#define BYTES_PER_MP_LIMB 8
-/* Generated by tuneup.c, 2000-10-27. */
-
-#ifndef KARATSUBA_MUL_THRESHOLD
-#define KARATSUBA_MUL_THRESHOLD 10
-#endif
-#ifndef TOOM3_MUL_THRESHOLD
-#define TOOM3_MUL_THRESHOLD 57
-#endif
-
-#ifndef KARATSUBA_SQR_THRESHOLD
-#define KARATSUBA_SQR_THRESHOLD 16
-#endif
-#ifndef TOOM3_SQR_THRESHOLD
-#define TOOM3_SQR_THRESHOLD 89
-#endif
-
-#ifndef DC_THRESHOLD
-#define DC_THRESHOLD 28
-#endif
-
-#ifndef FIB_THRESHOLD
-#define FIB_THRESHOLD 200
-#endif
-
-#ifndef POWM_THRESHOLD
-#define POWM_THRESHOLD 46
-#endif
-
-#ifndef GCD_ACCEL_THRESHOLD
-#define GCD_ACCEL_THRESHOLD 3
-#endif
-#ifndef GCDEXT_THRESHOLD
-#define GCDEXT_THRESHOLD 156
-#endif
-
-#ifndef FFT_MUL_TABLE
-#define FFT_MUL_TABLE { 336, 800, 1600, 3328, 9216, 20480, 0 }
-#endif
-#ifndef FFT_MODF_MUL_THRESHOLD
-#define FFT_MODF_MUL_THRESHOLD 296
-#endif
-#ifndef FFT_MUL_THRESHOLD
-#define FFT_MUL_THRESHOLD 2176
-#endif
-
-#ifndef FFT_SQR_TABLE
-#define FFT_SQR_TABLE { 368, 736, 1856, 3328, 7168, 20480, 49152, 0 }
-#endif
-#ifndef FFT_MODF_SQR_THRESHOLD
-#define FFT_MODF_SQR_THRESHOLD 280
-#endif
-#ifndef FFT_SQR_THRESHOLD
-#define FFT_SQR_THRESHOLD 1920
-#endif
+
+/* 200MHz ppc64, 2.95.2 */
+
+/* Generated by tuneup.c, 2001-02-03. */
+
+#define KARATSUBA_MUL_THRESHOLD 8
+#define TOOM3_MUL_THRESHOLD 66
+
+#define KARATSUBA_SQR_THRESHOLD 14
+#define TOOM3_SQR_THRESHOLD 90
+
+#define SB_PREINV_THRESHOLD 0
+#define DC_THRESHOLD 29
+#define POWM_THRESHOLD 40
+
+#define FIB_THRESHOLD 202
+
+#define GCD_ACCEL_THRESHOLD 3
+#define GCDEXT_THRESHOLD 157
+
+#define DIVREM_1_NORM_THRESHOLD 0
+#define DIVREM_1_UNNORM_THRESHOLD 0
+#define MOD_1_NORM_THRESHOLD 0
+#define MOD_1_UNNORM_THRESHOLD 0
+#define USE_PREINV_MOD_1 1
+#define DIVREM_2_THRESHOLD 0
+#define MODEXACT_1_ODD_THRESHOLD 0
+
+#define FFT_MUL_TABLE { 336, 800, 1600, 2816, 7168, 20480, 49152, 0 }
+#define FFT_MODF_MUL_THRESHOLD 296
+#define FFT_MUL_THRESHOLD 1920
+
+#define FFT_SQR_TABLE { 368, 800, 1856, 3328, 7168, 20480, 49152, 0 }
+#define FFT_MODF_SQR_THRESHOLD 296
+#define FFT_SQR_THRESHOLD 1920