diff options
author | Kevin Ryde <user42@zip.com.au> | 2001-11-28 23:52:59 +0100 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2001-11-28 23:52:59 +0100 |
commit | 22e547ff3364896cbbf4646792ecf3e25a290d9a (patch) | |
tree | dcf2c9d70fa3b31940a646bcab34cf3da98e5cf4 /mpn/m68k | |
parent | 936a6ead107dd48116ad12fb07d11766176f4570 (diff) | |
download | gmp-22e547ff3364896cbbf4646792ecf3e25a290d9a.tar.gz |
* mpn/*/gmp-mparam.h: Update measured thresholds.
These are not up-to-date, in particular it misses out on powm recent
changes, but is better than nothing.
Diffstat (limited to 'mpn/m68k')
-rw-r--r-- | mpn/m68k/gmp-mparam.h | 83 |
1 files changed, 33 insertions, 50 deletions
diff --git a/mpn/m68k/gmp-mparam.h b/mpn/m68k/gmp-mparam.h index 79c2e2a1b..505c2e958 100644 --- a/mpn/m68k/gmp-mparam.h +++ b/mpn/m68k/gmp-mparam.h @@ -24,53 +24,36 @@ MA 02111-1307, USA. */ #define BYTES_PER_MP_LIMB 4 -/* Generated by tuneup.c, 2000-10-27. */ - -#ifndef KARATSUBA_MUL_THRESHOLD -#define KARATSUBA_MUL_THRESHOLD 16 -#endif -#ifndef TOOM3_MUL_THRESHOLD -#define TOOM3_MUL_THRESHOLD 123 -#endif - -#ifndef KARATSUBA_SQR_THRESHOLD -#define KARATSUBA_SQR_THRESHOLD 32 -#endif -#ifndef TOOM3_SQR_THRESHOLD -#define TOOM3_SQR_THRESHOLD 154 -#endif - -#ifndef DC_THRESHOLD -#define DC_THRESHOLD 60 -#endif - -#ifndef POWM_THRESHOLD -#define POWM_THRESHOLD 33 -#endif - -#ifndef GCD_ACCEL_THRESHOLD -#define GCD_ACCEL_THRESHOLD 3 -#endif -#ifndef GCDEXT_THRESHOLD -#define GCDEXT_THRESHOLD 27 -#endif - -#ifndef FFT_MUL_TABLE -#define FFT_MUL_TABLE { 464, 928, 1920, 4608, 22528, 40960, 0 } -#endif -#ifndef FFT_MODF_MUL_THRESHOLD -#define FFT_MODF_MUL_THRESHOLD 480 -#endif -#ifndef FFT_MUL_THRESHOLD -#define FFT_MUL_THRESHOLD 3328 -#endif - -#ifndef FFT_SQR_TABLE -#define FFT_SQR_TABLE { 432, 928, 1920, 3584, 14336, 40960, 0 } -#endif -#ifndef FFT_MODF_SQR_THRESHOLD -#define FFT_MODF_SQR_THRESHOLD 448 -#endif -#ifndef FFT_SQR_THRESHOLD -#define FFT_SQR_THRESHOLD 3328 -#endif +/* Generated by tuneup.c, 2001-04-20, gcc 2.91 */ + +#define KARATSUBA_MUL_THRESHOLD 14 +#define TOOM3_MUL_THRESHOLD 129 + +#define BASECASE_SQR_THRESHOLD 5 +#define KARATSUBA_SQR_THRESHOLD 30 +#define TOOM3_SQR_THRESHOLD 151 + +#define SB_PREINV_THRESHOLD MP_SIZE_T_MAX +#define DC_THRESHOLD 60 +#define POWM_THRESHOLD 43 + +#define FIB_THRESHOLD 104 + +#define GCD_ACCEL_THRESHOLD 3 +#define GCDEXT_THRESHOLD 37 + +#define DIVREM_1_NORM_THRESHOLD MP_SIZE_T_MAX +#define DIVREM_1_UNNORM_THRESHOLD MP_SIZE_T_MAX +#define MOD_1_NORM_THRESHOLD MP_SIZE_T_MAX +#define MOD_1_UNNORM_THRESHOLD MP_SIZE_T_MAX +#define USE_PREINV_MOD_1 0 +#define DIVREM_2_THRESHOLD MP_SIZE_T_MAX +#define MODEXACT_1_ODD_THRESHOLD MP_SIZE_T_MAX + +#define FFT_MUL_TABLE { 464, 928, 1664, 3584, 14336, 40960, 0 } +#define FFT_MODF_MUL_THRESHOLD 480 +#define FFT_MUL_THRESHOLD 3328 + +#define FFT_SQR_TABLE { 432, 928, 1920, 4608, 14336, 40960, 0 } +#define FFT_MODF_SQR_THRESHOLD 448 +#define FFT_SQR_THRESHOLD 3328 |