summaryrefslogtreecommitdiff
path: root/mpn/sparc64/gmp-mparam.h
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2000-07-06 02:16:09 +0200
committerKevin Ryde <user42@zip.com.au>2000-07-06 02:16:09 +0200
commitf1b5692be38a751de44542c09e28e4410d4ed63e (patch)
tree81437cf88bb5515881482e3e222418e8701c0b31 /mpn/sparc64/gmp-mparam.h
parent08554621443ef94a6a03d82e3ddc94fa16f0d7e2 (diff)
downloadgmp-f1b5692be38a751de44542c09e28e4410d4ed63e.tar.gz
* mpn/sparc64/gmp-mparam.h: Update thresholds.
Somewhat lower than previous values.
Diffstat (limited to 'mpn/sparc64/gmp-mparam.h')
-rw-r--r--mpn/sparc64/gmp-mparam.h40
1 files changed, 32 insertions, 8 deletions
diff --git a/mpn/sparc64/gmp-mparam.h b/mpn/sparc64/gmp-mparam.h
index 23b74a645..988414b34 100644
--- a/mpn/sparc64/gmp-mparam.h
+++ b/mpn/sparc64/gmp-mparam.h
@@ -1,4 +1,4 @@
-/* gmp-mparam.h -- Compiler/machine parameter header file.
+/* Sparc64 gmp-mparam.h -- Compiler/machine parameter header file.
Copyright (C) 1991, 1993, 1994, 1999, 2000 Free Software Foundation, Inc.
@@ -26,19 +26,43 @@ MA 02111-1307, USA. */
#define BITS_PER_SHORTINT 16
#define BITS_PER_CHAR 8
+/* Tell the toom3 multiply implementation to call low-level mpn
+ functions instead of open-coding operations in C. */
+#define USE_MORE_MPN 1
+
+
+/* Run on sun workshop cc. */
+/* Generated by tuneup.c, 2000-07-06. */
+
#ifndef KARATSUBA_MUL_THRESHOLD
-#define KARATSUBA_MUL_THRESHOLD 16 /* tested 2000-04-02 */
+#define KARATSUBA_MUL_THRESHOLD 13
#endif
#ifndef TOOM3_MUL_THRESHOLD
-#define TOOM3_MUL_THRESHOLD 265 /* tested 2000-04-02 */
+#define TOOM3_MUL_THRESHOLD 180
#endif
+
#ifndef KARATSUBA_SQR_THRESHOLD
-#define KARATSUBA_SQR_THRESHOLD 20 /* estimated 2000-04-02 */
+#define KARATSUBA_SQR_THRESHOLD 29
#endif
#ifndef TOOM3_SQR_THRESHOLD
-#define TOOM3_SQR_THRESHOLD 400 /* estimated 2000-04-02 */
+#define TOOM3_SQR_THRESHOLD 113
#endif
-/* Tell the toom3 multiply implementation to call low-level mpn
- functions instead of open-coding operations in C. */
-#define USE_MORE_MPN 1
+#ifndef BZ_THRESHOLD
+#define BZ_THRESHOLD 23
+#endif
+
+#ifndef FIB_THRESHOLD
+#define FIB_THRESHOLD 105
+#endif
+
+#ifndef POWM_THRESHOLD
+#define POWM_THRESHOLD 30
+#endif
+
+#ifndef GCD_ACCEL_THRESHOLD
+#define GCD_ACCEL_THRESHOLD 4
+#endif
+#ifndef GCDEXT_THRESHOLD
+#define GCDEXT_THRESHOLD 199
+#endif