[Gmp-commit] /home/hgfiles/gmp: Set min_size to 6, DC functions require this.
mercurial at gmplib.org
mercurial at gmplib.org
Tue Dec 29 14:41:48 CET 2009
details: /home/hgfiles/gmp/rev/8b96e43ff299
changeset: 13255:8b96e43ff299
user: Torbjorn Granlund <tege at gmplib.org>
date: Tue Dec 29 14:41:44 2009 +0100
description:
Set min_size to 6, DC functions require this.
diffstat:
ChangeLog | 3 +++
tune/tuneup.c | 4 ++--
2 files changed, 5 insertions(+), 2 deletions(-)
diffs (33 lines):
diff -r 9bff42a9792b -r 8b96e43ff299 ChangeLog
--- a/ChangeLog Tue Dec 29 09:32:32 2009 +0100
+++ b/ChangeLog Tue Dec 29 14:41:44 2009 +0100
@@ -1,5 +1,8 @@
2009-12-29 Torbjorn Granlund <tege at gmplib.org>
+ * tune/tuneup.c (tune_mu_div): Set min_size to 6, DC functions require
+ this.
+
* tests/mpn/t-div.c: Call mu_div functions with operands that generate
a high quotient limb.
diff -r 9bff42a9792b -r 8b96e43ff299 tune/tuneup.c
--- a/tune/tuneup.c Tue Dec 29 09:32:32 2009 +0100
+++ b/tune/tuneup.c Tue Dec 29 14:41:44 2009 +0100
@@ -1107,7 +1107,7 @@
param.name = "MU_DIV_QR_THRESHOLD";
param.function = speed_mpn_dcpi1_div_qr;
param.function2 = speed_mpn_mu_div_qr;
- param.min_size = 4;
+ param.min_size = 6;
param.max_size = 5000;
param.step_factor = 0.02;
one (&mu_div_qr_threshold, ¶m);
@@ -1117,7 +1117,7 @@
param.name = "MU_DIVAPPR_Q_THRESHOLD";
param.function = speed_mpn_dcpi1_divappr_q;
param.function2 = speed_mpn_mu_divappr_q;
- param.min_size = 4;
+ param.min_size = 6;
param.max_size = 5000;
param.step_factor = 0.02;
one (&mu_divappr_q_threshold, ¶m);
More information about the gmp-commit
mailing list