summaryrefslogtreecommitdiff
path: root/mpn/x86
diff options
context:
space:
mode:
authorTorbjorn Granlund <tg@gmplib.org>2019-10-06 11:34:04 +0200
committerTorbjorn Granlund <tg@gmplib.org>2019-10-06 11:34:04 +0200
commit8c0956694e80e76ff2df4bd4abb1d75801e445a7 (patch)
treee811cac1d065d59b6ebf26715f959d548ced169f /mpn/x86
parent3fce7ecf216dad61c2682813ce9ee64d3fd905e5 (diff)
downloadgmp-8c0956694e80e76ff2df4bd4abb1d75801e445a7.tar.gz
(SQR_TOOM2_THRESHOLD): Adjust down to k7's limit as per comment.
Diffstat (limited to 'mpn/x86')
-rw-r--r--mpn/x86/bt1/gmp-mparam.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpn/x86/bt1/gmp-mparam.h b/mpn/x86/bt1/gmp-mparam.h
index b7aa8ce2c..3c9ec2dbe 100644
--- a/mpn/x86/bt1/gmp-mparam.h
+++ b/mpn/x86/bt1/gmp-mparam.h
@@ -69,7 +69,7 @@ see https://www.gnu.org/licenses/. */
#define MUL_TOOM43_TO_TOOM54_THRESHOLD 147
#define SQR_BASECASE_THRESHOLD 0 /* always (native) */
-#define SQR_TOOM2_THRESHOLD 52
+#define SQR_TOOM2_THRESHOLD 50
#define SQR_TOOM3_THRESHOLD 90
#define SQR_TOOM4_THRESHOLD 244
#define SQR_TOOM6_THRESHOLD 351