diff options
author | Kevin Ryde <user42@zip.com.au> | 2001-02-04 00:08:53 +0100 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2001-02-04 00:08:53 +0100 |
commit | 30dc85f14a1cd74775ca0a098f7156bab09f4b55 (patch) | |
tree | 83eaf2f3f9c2a7fa1b39580e012f3fb1b570f1bc /mpn/sparc64/gmp-mparam.h | |
parent | d151c483fcb766d0870f74b432163fc08763829f (diff) | |
download | gmp-30dc85f14a1cd74775ca0a098f7156bab09f4b55.tar.gz |
* mpn/x86/*/gmp-mparam.h: Update tuned parameters.
* mpn/sparc64/gmp-mparam.h: Ditto.
Diffstat (limited to 'mpn/sparc64/gmp-mparam.h')
-rw-r--r-- | mpn/sparc64/gmp-mparam.h | 42 |
1 files changed, 26 insertions, 16 deletions
diff --git a/mpn/sparc64/gmp-mparam.h b/mpn/sparc64/gmp-mparam.h index 469b2e193..285253aab 100644 --- a/mpn/sparc64/gmp-mparam.h +++ b/mpn/sparc64/gmp-mparam.h @@ -29,27 +29,37 @@ MA 02111-1307, USA. */ #endif -/* Run on sun workshop cc. */ -/* Generated by tuneup.c, 2000-11-22. */ +/* 296MHz ultrasparc-II, sun workshop cc */ -#define KARATSUBA_MUL_THRESHOLD 14 -#define TOOM3_MUL_THRESHOLD 66 +/* Generated by tuneup.c, 2001-02-03. */ -#define KARATSUBA_SQR_THRESHOLD 32 -#define TOOM3_SQR_THRESHOLD 50 +#define KARATSUBA_MUL_THRESHOLD 12 +#define TOOM3_MUL_THRESHOLD 65 -#define DC_THRESHOLD 55 -#define POWM_THRESHOLD 104 +#define KARATSUBA_SQR_THRESHOLD 26 +#define TOOM3_SQR_THRESHOLD 51 -#define FIB_THRESHOLD 196 +#define SB_PREINV_THRESHOLD 7 +#define DC_THRESHOLD 46 +#define POWM_THRESHOLD 24 -#define GCD_ACCEL_THRESHOLD 3 -#define GCDEXT_THRESHOLD MP_SIZE_T_MAX +#define FIB_THRESHOLD 198 -#define FFT_MUL_TABLE { 304, 608, 1344, 2304, 7168, 12288, 49152, 0 } -#define FFT_MODF_MUL_THRESHOLD 248 -#define FFT_MUL_THRESHOLD 1408 +#define GCD_ACCEL_THRESHOLD 4 +#define GCDEXT_THRESHOLD MP_SIZE_T_MAX + +#define DIVREM_1_NORM_THRESHOLD 6 +#define DIVREM_1_UNNORM_THRESHOLD 6 +#define MOD_1_NORM_THRESHOLD 4 +#define MOD_1_UNNORM_THRESHOLD 6 +#define USE_PREINV_MOD_1 0 +#define DIVREM_2_THRESHOLD 7 +#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_THRESHOLD 1408 #define FFT_SQR_TABLE { 304, 608, 1472, 2816, 7168, 20480, 49152, 0 } -#define FFT_MODF_SQR_THRESHOLD 248 -#define FFT_SQR_THRESHOLD 1664 +#define FFT_MODF_SQR_THRESHOLD 232 +#define FFT_SQR_THRESHOLD 1536 |