diff options
author | Kevin Ryde <user42@zip.com.au> | 2001-11-29 01:34:40 +0100 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2001-11-29 01:34:40 +0100 |
commit | 1abbec516198572e090cbbc2b295b42457a9c933 (patch) | |
tree | 3ff5889ed9cf26d2276e9405dd27496f66706f3d | |
parent | 03b0d84f0b35e546f1a00ca4b188e025fbd9465b (diff) | |
download | gmp-1abbec516198572e090cbbc2b295b42457a9c933.tar.gz |
* mpn/*/gmp-mparam.h: Update measured thresholds.
The MUL and SQR thresholds don't seem very reproducible, which is not
good, will have to look into that.
-rw-r--r-- | mpn/sparc64/gmp-mparam.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/mpn/sparc64/gmp-mparam.h b/mpn/sparc64/gmp-mparam.h index d5221de49..411c35bc4 100644 --- a/mpn/sparc64/gmp-mparam.h +++ b/mpn/sparc64/gmp-mparam.h @@ -29,20 +29,20 @@ MA 02111-1307, USA. */ #endif -/* 296MHz ultrasparc-II, sun workshop cc */ +/* 296MHz ultrasparc-II */ -/* Generated by tuneup.c, 2001-02-03. */ +/* Generated by tuneup.c, 2001-11-29, Sun C 5.0 */ -#define KARATSUBA_MUL_THRESHOLD 12 -#define TOOM3_MUL_THRESHOLD 50 +#define KARATSUBA_MUL_THRESHOLD 10 +#define TOOM3_MUL_THRESHOLD 41 -#define BASECASE_SQR_THRESHOLD 0 -#define KARATSUBA_SQR_THRESHOLD 24 -#define TOOM3_SQR_THRESHOLD 45 +#define BASECASE_SQR_THRESHOLD 4 +#define KARATSUBA_SQR_THRESHOLD 26 +#define TOOM3_SQR_THRESHOLD 66 #define SB_PREINV_THRESHOLD 7 #define DC_THRESHOLD 46 -#define POWM_THRESHOLD 95 +#define POWM_THRESHOLD 71 #define GCD_ACCEL_THRESHOLD 3 #define GCDEXT_THRESHOLD MP_SIZE_T_MAX @@ -50,16 +50,16 @@ MA 02111-1307, USA. */ #define DIVREM_1_NORM_THRESHOLD 5 #define DIVREM_1_UNNORM_THRESHOLD 5 #define MOD_1_NORM_THRESHOLD 4 -#define MOD_1_UNNORM_THRESHOLD 6 +#define MOD_1_UNNORM_THRESHOLD 5 #define USE_PREINV_MOD_1 0 -#define DIVREM_2_THRESHOLD 7 +#define DIVREM_2_THRESHOLD 8 #define DIVEXACT_1_THRESHOLD 0 #define MODEXACT_1_ODD_THRESHOLD 0 -#define FFT_MUL_TABLE { 304, 608, 1344, 2304, 7168, 12288, 0 } -#define FFT_MODF_MUL_THRESHOLD 232 +#define FFT_MUL_TABLE { 272, 672, 1344, 2304, 5120, 12288, 0 } +#define FFT_MODF_MUL_THRESHOLD 200 #define FFT_MUL_THRESHOLD 1408 -#define FFT_SQR_TABLE { 304, 608, 1472, 2816, 7168, 20480, 49152, 0 } +#define FFT_SQR_TABLE { 272, 608, 1472, 2304, 7168, 20480, 49152, 0 } #define FFT_MODF_SQR_THRESHOLD 232 -#define FFT_SQR_THRESHOLD 1536 +#define FFT_SQR_THRESHOLD 1408 |