[Gmp-commit] /var/hg/gmp: Remove test for old GMP release.
mercurial at gmplib.org
mercurial at gmplib.org
Mon Nov 12 20:52:37 CET 2012
details: /var/hg/gmp/rev/16951630978f
changeset: 15108:16951630978f
user: Torbjorn Granlund <tege at gmplib.org>
date: Mon Nov 12 20:52:35 2012 +0100
description:
Remove test for old GMP release.
diffstat:
mpn/generic/trialdiv.c | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
diffs (17 lines):
diff -r 176bf5aec761 -r 16951630978f mpn/generic/trialdiv.c
--- a/mpn/generic/trialdiv.c Mon Nov 12 20:25:26 2012 +0100
+++ b/mpn/generic/trialdiv.c Mon Nov 12 20:52:35 2012 +0100
@@ -82,12 +82,7 @@
ppp = gmp_primes_ptab[i].ppp;
cps = gmp_primes_ptab[i].cps;
-#if __GNU_MP_VERSION == 4 && __GNU_MP_VERSION_MINOR < 4
- if (tn < 4)
- r = mpn_mod_1 (tp, tn, ppp); /* FIXME */
- else
-#endif
- r = mpn_mod_1s_4p (tp, tn, ppp << cps[1], cps);
+ r = mpn_mod_1s_4p (tp, tn, ppp << cps[1], cps);
idx = gmp_primes_ptab[i].idx;
np = gmp_primes_ptab[i].np;
More information about the gmp-commit
mailing list