[Gmp-commit] /var/hg/gmp: 2 new changesets

mercurial at gmplib.org mercurial at gmplib.org
Sat May 5 18:08:03 CEST 2012


details:   /var/hg/gmp/rev/1a1fdee536cd
changeset: 14944:1a1fdee536cd
user:      Marco Bodrato <bodrato at mail.dm.unipi.it>
date:      Sat May 05 17:57:32 2012 +0200
description:
mpn/generic/toom22_mul.c: Disable MAYBE_ if WANT_FAT_BINARY.

details:   /var/hg/gmp/rev/0e37be20dfcf
changeset: 14945:0e37be20dfcf
user:      Marco Bodrato <bodrato at mail.dm.unipi.it>
date:      Sat May 05 18:07:56 2012 +0200
description:
Disable MAYBE_ if WANT_FAT_BINARY. In toom2 and toom3 code.

diffstat:

 ChangeLog                |  5 +++++
 mpn/generic/toom22_mul.c |  2 +-
 mpn/generic/toom2_sqr.c  |  2 +-
 mpn/generic/toom33_mul.c |  2 +-
 mpn/generic/toom3_sqr.c  |  2 +-
 5 files changed, 9 insertions(+), 4 deletions(-)

diffs (63 lines):

diff -r 0ff9ec48c13d -r 0e37be20dfcf ChangeLog
--- a/ChangeLog	Sat May 05 17:36:33 2012 +0200
+++ b/ChangeLog	Sat May 05 18:07:56 2012 +0200
@@ -5,6 +5,11 @@
 	* gmp-impl.h (FAC_???_THRESHOLD): Update default values.
 	(ABOVE_THRESHOLD): New definition with __builtin_constant_p.
 
+	* mpn/generic/toom22_mul.c: Disable MAYBE_ if WANT_FAT_BINARY.
+	* mpn/generic/toom33_mul.c: Likewise.
+	* mpn/generic/toom2_sqr.c: Likewise.
+	* mpn/generic/toom3_sqr.c: Likewise.
+
 2012-05-04  Torbjorn Granlund  <tege at gmplib.org>
 
 	* tune/tuneup.c: Measure POWM_SEC_TABLE after the REDC thresholds.
diff -r 0ff9ec48c13d -r 0e37be20dfcf mpn/generic/toom22_mul.c
--- a/mpn/generic/toom22_mul.c	Sat May 05 17:36:33 2012 +0200
+++ b/mpn/generic/toom22_mul.c	Sat May 05 18:07:56 2012 +0200
@@ -41,7 +41,7 @@
   vinf=      a1 *     b1   # A(inf)*B(inf)
 */
 
-#if TUNE_PROGRAM_BUILD
+#if TUNE_PROGRAM_BUILD || WANT_FAT_BINARY
 #define MAYBE_mul_toom22   1
 #else
 #define MAYBE_mul_toom22						\
diff -r 0ff9ec48c13d -r 0e37be20dfcf mpn/generic/toom2_sqr.c
--- a/mpn/generic/toom2_sqr.c	Sat May 05 17:36:33 2012 +0200
+++ b/mpn/generic/toom2_sqr.c	Sat May 05 18:07:56 2012 +0200
@@ -38,7 +38,7 @@
   vinf=      a1 ^2  # A(inf)^2
 */
 
-#if TUNE_PROGRAM_BUILD
+#if TUNE_PROGRAM_BUILD || WANT_FAT_BINARY
 #define MAYBE_sqr_toom2   1
 #else
 #define MAYBE_sqr_toom2							\
diff -r 0ff9ec48c13d -r 0e37be20dfcf mpn/generic/toom33_mul.c
--- a/mpn/generic/toom33_mul.c	Sat May 05 17:36:33 2012 +0200
+++ b/mpn/generic/toom33_mul.c	Sat May 05 18:07:56 2012 +0200
@@ -44,7 +44,7 @@
   vinf=          a2 *         b2  # A(inf)*B(inf)
 */
 
-#if TUNE_PROGRAM_BUILD
+#if TUNE_PROGRAM_BUILD || WANT_FAT_BINARY
 #define MAYBE_mul_basecase 1
 #define MAYBE_mul_toom33   1
 #else
diff -r 0ff9ec48c13d -r 0e37be20dfcf mpn/generic/toom3_sqr.c
--- a/mpn/generic/toom3_sqr.c	Sat May 05 17:36:33 2012 +0200
+++ b/mpn/generic/toom3_sqr.c	Sat May 05 18:07:56 2012 +0200
@@ -41,7 +41,7 @@
   vinf=          a2 ^2 # A(inf)^2
 */
 
-#if TUNE_PROGRAM_BUILD
+#if TUNE_PROGRAM_BUILD || WANT_FAT_BINARY
 #define MAYBE_sqr_basecase 1
 #define MAYBE_sqr_toom3   1
 #else


More information about the gmp-commit mailing list