summaryrefslogtreecommitdiff
path: root/mpn/pa64
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gmplib.org>2009-01-04 19:42:47 +0100
committerTorbjorn Granlund <tege@gmplib.org>2009-01-04 19:42:47 +0100
commit21c5fd44686e6aee8e877c90e9ebd4a1703b66e2 (patch)
tree2ca2800e017212eb040bcad9b558a5380fd357da /mpn/pa64
parent0f56efa79273ff37a3e268a9ffa8c53893fdf487 (diff)
downloadgmp-21c5fd44686e6aee8e877c90e9ebd4a1703b66e2.tar.gz
Retune, mainly for toom4.
Diffstat (limited to 'mpn/pa64')
-rw-r--r--mpn/pa64/gmp-mparam.h57
1 files changed, 31 insertions, 26 deletions
diff --git a/mpn/pa64/gmp-mparam.h b/mpn/pa64/gmp-mparam.h
index e9d058f6b..aa92cb919 100644
--- a/mpn/pa64/gmp-mparam.h
+++ b/mpn/pa64/gmp-mparam.h
@@ -1,7 +1,7 @@
/* gmp-mparam.h -- Compiler/machine parameter header file.
-Copyright 1991, 1993, 1994, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
-Foundation, Inc.
+Copyright 1991, 1993, 1994, 1999, 2000, 2001, 2002, 2003, 2004, 2008
+Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -21,27 +21,31 @@ with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
#define BITS_PER_MP_LIMB 64
#define BYTES_PER_MP_LIMB 8
-/* These values were measured on a PA8500 using the system compiler version
- B.11.11.04. Measurements on PA8000 with system compiler version A.10.32.30
- give very similar values, GCC 3.1 will probably give somewhat different
- results (earlier GCC versions do not support HPPA in 64-bit mode). */
+/* 440MHz PA8200 */
-/* Generated by tuneup.c, 2004-02-06, system compiler */
+/* Generated by tuneup.c, 2009-01-04, system compiler */
-#define MUL_KARATSUBA_THRESHOLD 23
-#define MUL_TOOM3_THRESHOLD 101
+#define MUL_KARATSUBA_THRESHOLD 30
+#define MUL_TOOM3_THRESHOLD 114
+#define MUL_TOOM44_THRESHOLD 244
-#define SQR_BASECASE_THRESHOLD 5
-#define SQR_KARATSUBA_THRESHOLD 60
-#define SQR_TOOM3_THRESHOLD 113
+#define SQR_BASECASE_THRESHOLD 4
+#define SQR_KARATSUBA_THRESHOLD 58
+#define SQR_TOOM3_THRESHOLD 174
+#define SQR_TOOM4_THRESHOLD 312
+
+#define MULLOW_BASECASE_THRESHOLD 0 /* always */
+#define MULLOW_DC_THRESHOLD 142
+#define MULLOW_MUL_N_THRESHOLD 507
#define DIV_SB_PREINV_THRESHOLD 0 /* always */
-#define DIV_DC_THRESHOLD 123
-#define POWM_THRESHOLD 212
+#define DIV_DC_THRESHOLD 124
+#define POWM_THRESHOLD 224
-#define HGCD_THRESHOLD 292
-#define GCD_ACCEL_THRESHOLD 3
-#define GCD_DC_THRESHOLD 1498
+#define MATRIX22_STRASSEN_THRESHOLD 11
+#define HGCD_THRESHOLD 294
+#define GCD_DC_THRESHOLD 913
+#define GCDEXT_DC_THRESHOLD 830
#define JACOBI_BASE_METHOD 2
#define DIVREM_1_NORM_THRESHOLD 0 /* always */
@@ -54,14 +58,15 @@ with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
#define DIVEXACT_1_THRESHOLD 0 /* always */
#define MODEXACT_1_ODD_THRESHOLD 0 /* always */
-#define GET_STR_DC_THRESHOLD 21
-#define GET_STR_PRECOMPUTE_THRESHOLD 23
-#define SET_STR_THRESHOLD 14423
+#define GET_STR_DC_THRESHOLD 23
+#define GET_STR_PRECOMPUTE_THRESHOLD 26
+#define SET_STR_DC_THRESHOLD 2743
+#define SET_STR_PRECOMPUTE_THRESHOLD 5147
-#define MUL_FFT_TABLE { 528, 1056, 2368, 4864, 9216, 36864, 0 }
-#define MUL_FFT_MODF_THRESHOLD 360
-#define MUL_FFT_THRESHOLD 1952
+#define MUL_FFT_TABLE { 400, 800, 1600, 2816, 7168, 20480, 81920, 327680, 0 }
+#define MUL_FFT_MODF_THRESHOLD 280
+#define MUL_FFT_THRESHOLD 1664
-#define SQR_FFT_TABLE { 528, 1184, 2624, 5376, 11264, 28672, 0 }
-#define SQR_FFT_MODF_THRESHOLD 376
-#define SQR_FFT_THRESHOLD 2592
+#define SQR_FFT_TABLE { 368, 800, 1728, 3328, 7168, 20480, 81920, 327680, 786432, 0 }
+#define SQR_FFT_MODF_THRESHOLD 264
+#define SQR_FFT_THRESHOLD 1632