From cda511a97523ac223432c6767e11b40e95e157e4 Mon Sep 17 00:00:00 2001 From: Torbjorn Granlund Date: Sun, 20 Nov 2011 22:56:02 +0100 Subject: Retune. --- mpn/x86_64/coreisbr/gmp-mparam.h | 36 +++++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/mpn/x86_64/coreisbr/gmp-mparam.h b/mpn/x86_64/coreisbr/gmp-mparam.h index dab35f174..c30c64ec8 100644 --- a/mpn/x86_64/coreisbr/gmp-mparam.h +++ b/mpn/x86_64/coreisbr/gmp-mparam.h @@ -53,9 +53,13 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */ #define SQR_TOOM6_THRESHOLD 0 #define SQR_TOOM8_THRESHOLD 458 -#define MULMOD_BNM1_THRESHOLD 13 +#define MULMID_TOOM42_THRESHOLD 24 + +#define MULMOD_BNM1_THRESHOLD 14 #define SQRMOD_BNM1_THRESHOLD 14 +#define POWM_SEC_TABLE 4,35,130,713,2080 + #define MUL_FFT_MODF_THRESHOLD 380 /* k = 5 */ #define MUL_FFT_TABLE3 \ { { 380, 5}, { 17, 6}, { 9, 5}, { 19, 6}, \ @@ -176,27 +180,29 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */ #define DC_BDIV_QR_THRESHOLD 31 #define DC_BDIV_Q_THRESHOLD 71 -#define INV_MULMOD_BNM1_THRESHOLD 38 -#define INV_NEWTON_THRESHOLD 127 -#define INV_APPR_THRESHOLD 123 +#define INV_MULMOD_BNM1_THRESHOLD 50 +#define INV_NEWTON_THRESHOLD 123 +#define INV_APPR_THRESHOLD 122 -#define BINV_NEWTON_THRESHOLD 181 -#define REDC_1_TO_REDC_2_THRESHOLD 17 -#define REDC_2_TO_REDC_N_THRESHOLD 51 +#define BINV_NEWTON_THRESHOLD 197 +#define REDC_1_TO_REDC_2_THRESHOLD 20 +#define REDC_2_TO_REDC_N_THRESHOLD 54 #define MU_DIV_QR_THRESHOLD 1334 #define MU_DIVAPPR_Q_THRESHOLD 1387 -#define MUPI_DIV_QR_THRESHOLD 57 +#define MUPI_DIV_QR_THRESHOLD 46 #define MU_BDIV_QR_THRESHOLD 1142 #define MU_BDIV_Q_THRESHOLD 1308 #define MATRIX22_STRASSEN_THRESHOLD 15 -#define HGCD_THRESHOLD 90 -#define GCD_DC_THRESHOLD 400 -#define GCDEXT_DC_THRESHOLD 372 +#define HGCD_THRESHOLD 91 +#define HGCD_APPR_THRESHOLD 105 +#define HGCD_REDUCE_THRESHOLD 2681 +#define GCD_DC_THRESHOLD 358 +#define GCDEXT_DC_THRESHOLD 351 #define JACOBI_BASE_METHOD 4 -#define GET_STR_DC_THRESHOLD 12 -#define GET_STR_PRECOMPUTE_THRESHOLD 21 -#define SET_STR_DC_THRESHOLD 802 -#define SET_STR_PRECOMPUTE_THRESHOLD 1712 +#define GET_STR_DC_THRESHOLD 14 +#define GET_STR_PRECOMPUTE_THRESHOLD 27 +#define SET_STR_DC_THRESHOLD 781 +#define SET_STR_PRECOMPUTE_THRESHOLD 1940 -- cgit v1.2.1