[Gmp-commit] /var/hg/gmp-5.0: Tuneup.
mercurial at gmplib.org
mercurial at gmplib.org
Mon Jan 23 17:53:16 CET 2012
details: /var/hg/gmp-5.0/rev/aef90840a8fe
changeset: 13516:aef90840a8fe
user: Torbjorn Granlund <tege at gmplib.org>
date: Mon Jan 23 17:53:13 2012 +0100
description:
Tuneup.
diffstat:
mpn/ia64/gmp-mparam.h | 8 ++++----
mpn/x86_64/gmp-mparam.h | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (49 lines):
diff -r 9ed46e219d70 -r aef90840a8fe mpn/ia64/gmp-mparam.h
--- a/mpn/ia64/gmp-mparam.h Mon Jan 23 15:50:48 2012 +0100
+++ b/mpn/ia64/gmp-mparam.h Mon Jan 23 17:53:13 2012 +0100
@@ -26,10 +26,10 @@
#define MOD_1_NORM_THRESHOLD 0 /* always */
#define MOD_1_UNNORM_THRESHOLD 0 /* always */
-#define MOD_1N_TO_MOD_1_1_THRESHOLD 14
+#define MOD_1N_TO_MOD_1_1_THRESHOLD 4
#define MOD_1U_TO_MOD_1_1_THRESHOLD 8
#define MOD_1_1_TO_MOD_1_2_THRESHOLD 0
-#define MOD_1_2_TO_MOD_1_4_THRESHOLD 14
+#define MOD_1_2_TO_MOD_1_4_THRESHOLD 22
#define PREINV_MOD_1_TO_MOD_1_THRESHOLD 22
#define USE_PREINV_DIVREM_1 1 /* native */
#define DIVEXACT_1_THRESHOLD 0 /* always (native) */
@@ -181,12 +181,12 @@
#define DC_BDIV_QR_THRESHOLD 117
#define DC_BDIV_Q_THRESHOLD 292
-#define INV_MULMOD_BNM1_THRESHOLD 103
+#define INV_MULMOD_BNM1_THRESHOLD 86
#define INV_NEWTON_THRESHOLD 178
#define INV_APPR_THRESHOLD 179
#define BINV_NEWTON_THRESHOLD 300
-#define REDC_1_TO_REDC_2_THRESHOLD 10
+#define REDC_1_TO_REDC_2_THRESHOLD 2
#define REDC_2_TO_REDC_N_THRESHOLD 167
#define MU_DIV_QR_THRESHOLD 1787
diff -r 9ed46e219d70 -r aef90840a8fe mpn/x86_64/gmp-mparam.h
--- a/mpn/x86_64/gmp-mparam.h Mon Jan 23 15:50:48 2012 +0100
+++ b/mpn/x86_64/gmp-mparam.h Mon Jan 23 17:53:13 2012 +0100
@@ -171,12 +171,12 @@
#define DC_BDIV_QR_THRESHOLD 52
#define DC_BDIV_Q_THRESHOLD 152
-#define INV_MULMOD_BNM1_THRESHOLD 174
+#define INV_MULMOD_BNM1_THRESHOLD 83
#define INV_NEWTON_THRESHOLD 252
#define INV_APPR_THRESHOLD 250
#define BINV_NEWTON_THRESHOLD 345
-#define REDC_1_TO_REDC_2_THRESHOLD 50
+#define REDC_1_TO_REDC_2_THRESHOLD 5
#define REDC_2_TO_REDC_N_THRESHOLD 79
#define MU_DIV_QR_THRESHOLD 1787
More information about the gmp-commit
mailing list