summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gmplib.org>2010-03-26 10:23:46 +0100
committerTorbjorn Granlund <tege@gmplib.org>2010-03-26 10:23:46 +0100
commit4ecaa2343174d7ddd048a468e8069cd5d985c93f (patch)
tree7cec827aa19169e295966012eb13680416f04567
parent94263668097311cc0b2f7db83d7f79867254cd75 (diff)
downloadgmp-4ecaa2343174d7ddd048a468e8069cd5d985c93f.tar.gz
Re-enable mpn_add_n_sub_n calls.
-rw-r--r--ChangeLog3
-rw-r--r--mpn/generic/toom_eval_dgr3_pm2.c2
-rw-r--r--mpn/generic/toom_eval_pm2.c2
3 files changed, 2 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 5eaf499c2..7a0ee62c4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,9 +2,6 @@
* mpn/ia64/add_n_sub_n.asm: New file.
- * mpn/generic/toom_eval_pm2.c: Disable mpn_add_n_sub_n call.
- * mpn/generic/toom_eval_dgr3_pm2.c: Likewise.
-
* mpn/generic/toom33_mul.c: Fix mpn_add_n_sub_n usage.
* mpn/generic/toom3_sqr.c: Likewise.
* mpn/generic/toom63_mul.c: Likewise.
diff --git a/mpn/generic/toom_eval_dgr3_pm2.c b/mpn/generic/toom_eval_dgr3_pm2.c
index 8dcecfe75..0148600c9 100644
--- a/mpn/generic/toom_eval_dgr3_pm2.c
+++ b/mpn/generic/toom_eval_dgr3_pm2.c
@@ -66,7 +66,7 @@ mpn_toom_eval_dgr3_pm2 (mp_ptr xp2, mp_ptr xm2,
neg = (mpn_cmp (xp2, tp, n + 1) < 0) ? ~0 : 0;
-#if 0 && HAVE_NATIVE_mpn_add_n_sub_n
+#if HAVE_NATIVE_mpn_add_n_sub_n
if (neg)
mpn_add_n_sub_n (xp2, xm2, tp, xp2, n + 1);
else
diff --git a/mpn/generic/toom_eval_pm2.c b/mpn/generic/toom_eval_pm2.c
index 0fd10d6e9..7795b0bc0 100644
--- a/mpn/generic/toom_eval_pm2.c
+++ b/mpn/generic/toom_eval_pm2.c
@@ -95,7 +95,7 @@ mpn_toom_eval_pm2 (mp_ptr xp2, mp_ptr xm2, unsigned k,
neg = (mpn_cmp (xp2, tp, n + 1) < 0) ? ~0 : 0;
-#if 0 && HAVE_NATIVE_mpn_add_n_sub_n
+#if HAVE_NATIVE_mpn_add_n_sub_n
if (neg)
mpn_add_n_sub_n (xp2, xm2, tp, xp2, n + 1);
else