[Gmp-commit] /var/hg/gmp: (BMOD_1_TO_MOD_1_THRESHOLD): Default for fat builds.

mercurial at gmplib.org mercurial at gmplib.org
Mon May 9 14:12:46 CEST 2011


details:   /var/hg/gmp/rev/50f3d8f175d8
changeset: 14178:50f3d8f175d8
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Mon May 09 14:12:34 2011 +0200
description:
(BMOD_1_TO_MOD_1_THRESHOLD): Default for fat builds.

diffstat:

 ChangeLog                   |  5 +++++
 mpn/x86/fat/gmp-mparam.h    |  6 ++++--
 mpn/x86_64/fat/gmp-mparam.h |  4 +++-
 3 files changed, 12 insertions(+), 3 deletions(-)

diffs (54 lines):

diff -r cc3096512a6c -r 50f3d8f175d8 ChangeLog
--- a/ChangeLog	Sun May 08 14:40:47 2011 +0200
+++ b/ChangeLog	Mon May 09 14:12:34 2011 +0200
@@ -1,3 +1,8 @@
+2011-05-09  Torbjorn Granlund  <tege at gmplib.org>
+
+	* mpn/x86/fat/gmp-mparam.h (BMOD_1_TO_MOD_1_THRESHOLD): Define.
+	* mpn/x86_64/fat/gmp-mparam.h (BMOD_1_TO_MOD_1_THRESHOLD): Define.
+
 2011-05-08  Marc Glisse  <marc.glisse at inria.fr>
 
 	* gmpxx.h: Replace unsigned long with mp_bitcnt_t in many places.
diff -r cc3096512a6c -r 50f3d8f175d8 mpn/x86/fat/gmp-mparam.h
--- a/mpn/x86/fat/gmp-mparam.h	Sun May 08 14:40:47 2011 +0200
+++ b/mpn/x86/fat/gmp-mparam.h	Mon May 09 14:12:34 2011 +0200
@@ -1,7 +1,7 @@
 /* Fat binary x86 gmp-mparam.h -- Compiler/machine parameter header file.
 
-Copyright 1991, 1993, 1994, 2000, 2001, 2002, 2003 Free Software Foundation,
-Inc.
+Copyright 1991, 1993, 1994, 2000, 2001, 2002, 2003, 2011 Free Software
+Foundation, Inc.
 
 This file is part of the GNU MP Library.
 
@@ -34,6 +34,8 @@
    preinv.  */
 #define USE_PREINV_DIVREM_1   1
 
+#define BMOD_1_TO_MOD_1_THRESHOLD           20
+
 /* mpn_sqr_basecase is faster than mpn_mul_basecase at all sizes, no need
    for mpn_sqr to call the latter.  */
 #define SQR_BASECASE_THRESHOLD 0
diff -r cc3096512a6c -r 50f3d8f175d8 mpn/x86_64/fat/gmp-mparam.h
--- a/mpn/x86_64/fat/gmp-mparam.h	Sun May 08 14:40:47 2011 +0200
+++ b/mpn/x86_64/fat/gmp-mparam.h	Mon May 09 14:12:34 2011 +0200
@@ -1,6 +1,6 @@
 /* Fat binary x86_64 gmp-mparam.h -- Compiler/machine parameter header file.
 
-Copyright 1991, 1993, 1994, 2000, 2001, 2002, 2003, 2009 Free Software
+Copyright 1991, 1993, 1994, 2000, 2001, 2002, 2003, 2009, 2011 Free Software
 Foundation, Inc.
 
 This file is part of the GNU MP Library.
@@ -34,6 +34,8 @@
    preinv.  */
 #define USE_PREINV_DIVREM_1   1
 
+#define BMOD_1_TO_MOD_1_THRESHOLD           20
+
 /* mpn_sqr_basecase is faster than mpn_mul_basecase at all sizes, no need
    for mpn_sqr to call the latter.  */
 #define SQR_BASECASE_THRESHOLD 0


More information about the gmp-commit mailing list