summaryrefslogtreecommitdiff
path: root/tune
diff options
context:
space:
mode:
authorTorbjorn Granlund <tg@gmplib.org>2017-02-08 00:29:12 +0100
committerTorbjorn Granlund <tg@gmplib.org>2017-02-08 00:29:12 +0100
commitbe5f46bb4c33959af4bac863a3327eb0e8062bc1 (patch)
tree70054279c958172fd0d3accd11b0023b830ae9c6 /tune
parent99c761b89601c9fa6419980dd5616a26f2549b1b (diff)
downloadgmp-be5f46bb4c33959af4bac863a3327eb0e8062bc1.tar.gz
Amend last change: Tweak pi1_bdiv_q_1 / divexact_1 criterion.
Diffstat (limited to 'tune')
-rw-r--r--tune/tuneup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tune/tuneup.c b/tune/tuneup.c
index 404dc6d6e..fd2bf833a 100644
--- a/tune/tuneup.c
+++ b/tune/tuneup.c
@@ -1225,7 +1225,7 @@ relspeed_div_1_vs_mul_1 (void)
/* Make input divisible for good measure. */
ap[n - 1] = mpn_mul_1 (ap, ap, n - 1, MP_BASES_BIG_BASE_10);
-#if HAVE_NATIVE_mpn_pi1_bdiv_q_1
+#if HAVE_NATIVE_mpn_pi1_bdiv_q_1 || ! HAVE_NATIVE_mpn_divexact_1
mpn_pi1_bdiv_q_1 (rp, ap, n, MP_BASES_BIG_BASE_10,
MP_BASES_BIG_BASE_BINVERTED_10,
MP_BASES_BIG_BASE_CTZ_10);
@@ -1235,7 +1235,7 @@ relspeed_div_1_vs_mul_1 (void)
speed_starttime ();
for (j = speed_precision; j != 0 ; j--)
{
-#if HAVE_NATIVE_mpn_pi1_bdiv_q_1
+#if HAVE_NATIVE_mpn_pi1_bdiv_q_1 || ! HAVE_NATIVE_mpn_divexact_1
mpn_pi1_bdiv_q_1 (rp, ap, n, MP_BASES_BIG_BASE_10,
MP_BASES_BIG_BASE_BINVERTED_10,
MP_BASES_BIG_BASE_CTZ_10);