diff options
author | Niels M?ller <nisse@lysator.liu.se> | 2014-02-17 22:04:45 +0100 |
---|---|---|
committer | Niels M?ller <nisse@lysator.liu.se> | 2014-02-17 22:04:45 +0100 |
commit | faf23d38a2bc38f205c61f348449f93d7744a8c7 (patch) | |
tree | 6f4d0effe2717981202b4b2d97145fe4f3747143 /tune/tuneup.c | |
parent | 94a1c3cc1f04e0ebc36b43ef75a2da07d1482ac6 (diff) | |
download | gmp-faf23d38a2bc38f205c61f348449f93d7744a8c7.tar.gz |
Ensure DIV_QR_1_NORM_THRESHOLD, DIV_QR_1_UNNORM_THRESHOLD >= 1.
Diffstat (limited to 'tune/tuneup.c')
-rw-r--r-- | tune/tuneup.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tune/tuneup.c b/tune/tuneup.c index bfd619a00..2fba6b295 100644 --- a/tune/tuneup.c +++ b/tune/tuneup.c @@ -2083,6 +2083,8 @@ tune_div_qr_1 (void) static struct param_t param; param.name = "DIV_QR_1_NORM_THRESHOLD"; DIV_1_PARAMS; + param.min_size = 1; + param.min_is_always = 0; s.r = randlimb_norm (); param.function = speed_mpn_div_qr_1_tune; one (&div_qr_1_norm_threshold, ¶m); @@ -2091,6 +2093,8 @@ tune_div_qr_1 (void) static struct param_t param; param.name = "DIV_QR_1_UNNORM_THRESHOLD"; DIV_1_PARAMS; + param.min_size = 1; + param.min_is_always = 0; s.r = randlimb_half(); param.function = speed_mpn_div_qr_1_tune; one (&div_qr_1_unnorm_threshold, ¶m); |