summaryrefslogtreecommitdiff
path: root/tune
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2018-02-21 09:09:32 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2018-02-21 09:09:32 +0000
commit29f25eefa352e01a3dbc954cfe7869c1824a14be (patch)
tree7b70ccef4b4d01e82608b68741ad0f2c668d7873 /tune
parentf44a844c9b46f1f7f630ca8512426dc2b020a8e0 (diff)
downloadmpfr-29f25eefa352e01a3dbc954cfe7869c1824a14be.tar.gz
[src/x86_64/mparam.h] added tuning for generic x86_64
[tune/tuneup.c] mpfr_divhigh now wants n >= 2 git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12351 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tune')
-rw-r--r--tune/tuneup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tune/tuneup.c b/tune/tuneup.c
index a7402e8f7..1ad02e53f 100644
--- a/tune/tuneup.c
+++ b/tune/tuneup.c
@@ -857,7 +857,8 @@ tune_div_mulders_upto (mp_size_t n)
double t, tbest;
MPFR_TMP_DECL (marker);
- if (n == 0)
+ /* we want n>=2 in mpfr_divhigh */
+ if (n <= 1)
return 0;
MPFR_TMP_MARK (marker);