From a01ed60fd5f5be2b37f5dfce33d3de89142db8d0 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)> Date: Wed, 24 Mar 2010 18:33:37 +0000 Subject: [PATCH] mpn/sparc32/v9/gmp-mparam.h from T2 --- mpn/sparc32/v9/gmp-mparam.h | 87 ++++++++++++++++++++----------------- 1 file changed, 48 insertions(+), 39 deletions(-) diff --git a/mpn/sparc32/v9/gmp-mparam.h b/mpn/sparc32/v9/gmp-mparam.h index 79eba9ae..dcfff867 100644 --- a/mpn/sparc32/v9/gmp-mparam.h +++ b/mpn/sparc32/v9/gmp-mparam.h @@ -1,33 +1,20 @@ -/* Generated by tuneup.c, 2009-10-08, gcc 4.2 */ +/* Generated by tuneup.c, 2010-03-24, gcc 4.4 */ -#define MUL_KARATSUBA_THRESHOLD 10 -#define MUL_TOOM3_THRESHOLD 66 -#define MUL_TOOM4_THRESHOLD 190 -#define MUL_TOOM7_THRESHOLD 321 +#define MUL_KARATSUBA_THRESHOLD 12 +#define MUL_TOOM3_THRESHOLD 74 +#define MUL_TOOM4_THRESHOLD 244 +#define MUL_TOOM8H_THRESHOLD 244 #define SQR_BASECASE_THRESHOLD 6 #define SQR_KARATSUBA_THRESHOLD 28 -#define SQR_TOOM3_THRESHOLD 177 -#define SQR_TOOM4_THRESHOLD 345 -#define SQR_TOOM7_THRESHOLD 434 +#define SQR_TOOM3_THRESHOLD 85 +#define SQR_TOOM4_THRESHOLD 232 +#define SQR_TOOM8_THRESHOLD 232 -#define MULLOW_BASECASE_THRESHOLD 0 /* always */ -#define MULLOW_DC_THRESHOLD 35 -#define MULLOW_MUL_THRESHOLD 9970 +#define POWM_THRESHOLD 24 -#define MULHIGH_BASECASE_THRESHOLD 3 /* always */ -#define MULHIGH_DC_THRESHOLD 34 -#define MULHIGH_MUL_THRESHOLD 9970 - -#define MULMOD_2EXPM1_THRESHOLD 10 - -#define DIV_SB_PREINV_THRESHOLD MP_SIZE_T_MAX /* never */ -#define DIV_DC_THRESHOLD 40 -#define POWM_THRESHOLD 46 -#define FAC_UI_THRESHOLD 1486 - -#define GCD_ACCEL_THRESHOLD 28 -#define GCDEXT_THRESHOLD 9 +#define GCD_ACCEL_THRESHOLD 48 +#define GCDEXT_THRESHOLD 12 #define JACOBI_BASE_METHOD 2 #define DIVREM_1_NORM_THRESHOLD MP_SIZE_T_MAX /* never */ @@ -39,25 +26,47 @@ #define DIVREM_2_THRESHOLD MP_SIZE_T_MAX /* never */ #define DIVEXACT_1_THRESHOLD 0 /* always */ #define MODEXACT_1_ODD_THRESHOLD 0 /* always */ -#define MOD_1_1_THRESHOLD 22 -#define MOD_1_2_THRESHOLD 22 -#define MOD_1_3_THRESHOLD 22 -#define DIVREM_HENSEL_QR_1_THRESHOLD 25 -#define RSH_DIVREM_HENSEL_QR_1_THRESHOLD 25 -#define DIVREM_EUCLID_HENSEL_THRESHOLD 9 +#define MOD_1_1_THRESHOLD 20 +#define MOD_1_2_THRESHOLD 20 +#define MOD_1_3_THRESHOLD 20 +#define DIVREM_HENSEL_QR_1_THRESHOLD 19 +#define RSH_DIVREM_HENSEL_QR_1_THRESHOLD 12 +#define DIVREM_EUCLID_HENSEL_THRESHOLD 78 #define ROOTREM_THRESHOLD 6 -#define GET_STR_DC_THRESHOLD 11 -#define GET_STR_PRECOMPUTE_THRESHOLD 23 -#define SET_STR_THRESHOLD 1694 +#define GET_STR_DC_THRESHOLD 7 +#define GET_STR_PRECOMPUTE_THRESHOLD 18 +#define SET_STR_DC_THRESHOLD 3504 +#define SET_STR_PRECOMPUTE_THRESHOLD 5621 -#define MUL_FFT_TABLE { 208, 544, 896, 2560, 6144, 40960, 0 } +#define MUL_FFT_TABLE { 240, 544, 896, 2560, 10240, 40960, 229376, 655360, 2621440, 0 } #define MUL_FFT_MODF_THRESHOLD 184 -#define MUL_FFT_THRESHOLD 1792 +#define MUL_FFT_FULL_THRESHOLD 1152 -#define SQR_FFT_TABLE { 240, 480, 896, 2560, 6144, 24576, 0 } -#define SQR_FFT_MODF_THRESHOLD 232 -#define SQR_FFT_THRESHOLD 1216 +#define SQR_FFT_TABLE { 208, 480, 896, 2560, 10240, 40960, 229376, 655360, 2621440, 0 } +#define SQR_FFT_MODF_THRESHOLD 152 +#define SQR_FFT_FULL_THRESHOLD 1152 -/* Tuneup completed successfully, took 266 seconds */ +#define MULLOW_BASECASE_THRESHOLD 0 /* always */ +#define MULLOW_DC_THRESHOLD 39 +#define MULLOW_MUL_THRESHOLD 2088 + +#define MULHIGH_BASECASE_THRESHOLD 0 /* always */ +#define MULHIGH_DC_THRESHOLD 36 +#define MULHIGH_MUL_THRESHOLD 2088 + +#define MULMOD_2EXPM1_THRESHOLD 10 + +#define FAC_UI_THRESHOLD 1363 +#define DC_DIV_QR_THRESHOLD 40 +#define DC_DIVAPPR_Q_N_THRESHOLD 146 +#define INV_DIV_QR_THRESHOLD 1787 +#define INV_DIVAPPR_Q_N_THRESHOLD 146 +#define DC_DIV_Q_THRESHOLD 180 +#define INV_DIV_Q_THRESHOLD 3031 +#define DC_DIVAPPR_Q_THRESHOLD 162 +#define INV_DIVAPPR_Q_THRESHOLD 6488 +#define DC_BDIV_QR_THRESHOLD 40 +#define DC_BDIV_Q_THRESHOLD 72 +/* Tuneup completed successfully, took 5413 seconds */