[Gmp-commit] /home/hgfiles/gmp: Add BMOD_1_TO_MOD_1_THRESHOLD to fat thresholds.

mercurial at gmplib.org mercurial at gmplib.org
Fri Jan 14 00:21:24 CET 2011


details:   /home/hgfiles/gmp/rev/8432d89e0e57
changeset: 13743:8432d89e0e57
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Fri Jan 14 00:21:19 2011 +0100
description:
Add BMOD_1_TO_MOD_1_THRESHOLD to fat thresholds.

diffstat:

 ChangeLog    |  5 +++++
 configure.in |  3 ++-
 gmp-impl.h   |  1 +
 3 files changed, 8 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r 79014e0bd4e6 -r 8432d89e0e57 ChangeLog
--- a/ChangeLog	Thu Jan 13 10:47:21 2011 +0100
+++ b/ChangeLog	Fri Jan 14 00:21:19 2011 +0100
@@ -1,3 +1,8 @@
+2011-01-14  Torbjorn Granlund  <tege at gmplib.org>
+
+	* gmp-impl.h (struct cpuvec_t): Add field bmod_1_to_mod_1_threshold.
+	* configure.in (fat_thresholds): Add BMOD_1_TO_MOD_1_THRESHOLD.
+
 2011-01-13 Marco Bodrato <bodrato at mail.dm.unipi.it>
 
 	* mpz/mul.c: Remove redundant size computation.
diff -r 79014e0bd4e6 -r 8432d89e0e57 configure.in
--- a/configure.in	Thu Jan 13 10:47:21 2011 +0100
+++ b/configure.in	Fri Jan 14 00:21:19 2011 +0100
@@ -1835,7 +1835,8 @@
 		     pre_divrem_1 pre_mod_1 rshift
 		     sqr_basecase sub_n submul_1"
       fat_thresholds="MUL_TOOM22_THRESHOLD MUL_TOOM33_THRESHOLD
-		      SQR_TOOM2_THRESHOLD SQR_TOOM3_THRESHOLD"
+		      SQR_TOOM2_THRESHOLD SQR_TOOM3_THRESHOLD
+		      BMOD_1_TO_MOD_1_THRESHOLD"
     fi
     ;;
 esac
diff -r 79014e0bd4e6 -r 8432d89e0e57 gmp-impl.h
--- a/gmp-impl.h	Thu Jan 13 10:47:21 2011 +0100
+++ b/gmp-impl.h	Fri Jan 14 00:21:19 2011 +0100
@@ -4235,6 +4235,7 @@
   mp_size_t            mul_toom33_threshold;
   mp_size_t            sqr_toom2_threshold;
   mp_size_t            sqr_toom3_threshold;
+  mp_size_t            bmod_1_to_mod_1_threshold;
 };
 __GMP_DECLSPEC extern struct cpuvec_t __gmpn_cpuvec;
 #endif /* x86 fat binary */


More information about the gmp-commit mailing list