summaryrefslogtreecommitdiff
path: root/mpn/powerpc32/gmp-mparam.h
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2000-07-19 22:14:46 +0200
committertege <tege@gmplib.org>2000-07-19 22:14:46 +0200
commitb48dd7ff7b15f2b9c008a616c1b05917dc98825b (patch)
tree19be68c5afcf70d6a223fa193ca32dfb727a5265 /mpn/powerpc32/gmp-mparam.h
parent063cbbf5dd46500e461e4b6bf0b55cd2c63fe616 (diff)
downloadgmp-b48dd7ff7b15f2b9c008a616c1b05917dc98825b.tar.gz
Fill in values from `make tune' run.
Diffstat (limited to 'mpn/powerpc32/gmp-mparam.h')
-rw-r--r--mpn/powerpc32/gmp-mparam.h40
1 files changed, 37 insertions, 3 deletions
diff --git a/mpn/powerpc32/gmp-mparam.h b/mpn/powerpc32/gmp-mparam.h
index 175e94ab1..89869ac51 100644
--- a/mpn/powerpc32/gmp-mparam.h
+++ b/mpn/powerpc32/gmp-mparam.h
@@ -27,6 +27,40 @@ MA 02111-1307, USA. */
#define BITS_PER_CHAR 8
/* These values are for the 604. Presumably, these should be considerably
- lowered for the 603 and 750 that has much slower multiply instructions. */
-#define KARATSUBA_MUL_THRESHOLD 20
-#define KARATSUBA_SQR_THRESHOLD 46
+ different for the 603 and 750 that have much slower multiply
+ instructions. */
+
+/* Generated by tuneup.c, 2000-05-26. */
+
+#ifndef KARATSUBA_MUL_THRESHOLD
+#define KARATSUBA_MUL_THRESHOLD 26 /* tuneup says 20 */
+#endif
+#ifndef TOOM3_MUL_THRESHOLD
+#define TOOM3_MUL_THRESHOLD 228
+#endif
+
+#ifndef KARATSUBA_SQR_THRESHOLD
+#define KARATSUBA_SQR_THRESHOLD 46 /* tuneup says 44 */
+#endif
+#ifndef TOOM3_SQR_THRESHOLD
+#define TOOM3_SQR_THRESHOLD 262
+#endif
+
+#ifndef BZ_THRESHOLD
+#define BZ_THRESHOLD 52
+#endif
+
+#ifndef FIB_THRESHOLD
+#define FIB_THRESHOLD 86
+#endif
+
+#ifndef POWM_THRESHOLD
+#define POWM_THRESHOLD 23
+#endif
+
+#ifndef GCD_ACCEL_THRESHOLD
+#define GCD_ACCEL_THRESHOLD 7
+#endif
+#ifndef GCDEXT_THRESHOLD
+#define GCDEXT_THRESHOLD 53
+#endif