[Gmp-commit] /home/hgfiles/gmp: Cleared spurious product from toom53.

mercurial at gmplib.org mercurial at gmplib.org
Tue Dec 1 16:07:11 CET 2009


details:   /home/hgfiles/gmp/rev/268292737a65
changeset: 12947:268292737a65
user:      Marco Bodrato <bodrato at mail.dm.unipi.it>
date:      Tue Dec 01 16:07:04 2009 +0100
description:
Cleared spurious product from toom53.

diffstat:

 ChangeLog                |  4 ++++
 mpn/generic/toom53_mul.c |  4 ----
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (25 lines):

diff -r a9df9de27d66 -r 268292737a65 ChangeLog
--- a/ChangeLog	Tue Dec 01 14:41:16 2009 +0100
+++ b/ChangeLog	Tue Dec 01 16:07:04 2009 +0100
@@ -1,3 +1,7 @@
+2009-12-01  Marco Bodrato <bodrato at mail.dm.unipi.it>
+
+	* mpn/generic/toom53_mul.c: Removed double computation of vinf.
+
 2009-12-01  Torbjorn Granlund  <tege at gmplib.org>
 
 	* tune/speed.c (routine): Fix typo in last change.
diff -r a9df9de27d66 -r 268292737a65 mpn/generic/toom53_mul.c
--- a/mpn/generic/toom53_mul.c	Tue Dec 01 14:41:16 2009 +0100
+++ b/mpn/generic/toom53_mul.c	Tue Dec 01 16:07:04 2009 +0100
@@ -270,10 +270,6 @@
   mpn_mul_n (vm1, asm1, bsm1, n + ((asm1[n] | bsm1[n]) != 0));
 #endif /* SMALLER_RECURSION */
 
-  /* vinf, s+t limbs */
-  if (s > t)  mpn_mul (vinf, a4, s, b2, t);
-  else        mpn_mul (vinf, b2, t, a4, s);
-
   /* v1, 2n+1 limbs */
 #ifdef SMALLER_RECURSION
   mpn_mul_n (v1, as1, bs1, n);


More information about the gmp-commit mailing list