summaryrefslogtreecommitdiff
path: root/mpn/x86
diff options
context:
space:
mode:
authorTorbjorn Granlund <tg@gmplib.org>2019-11-03 15:54:46 +0100
committerTorbjorn Granlund <tg@gmplib.org>2019-11-03 15:54:46 +0100
commit380db8d5169e9881ad9e11915e66ffe29f33cd7d (patch)
tree4be1cbd886359cfe28fecc2df2af6aa8d2265490 /mpn/x86
parent00032102a8c49c8ff713edf3189c259de4d1379f (diff)
downloadgmp-380db8d5169e9881ad9e11915e66ffe29f33cd7d.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 907c31686..302dbc6c1 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 143
#define SQR_BASECASE_THRESHOLD 0 /* always (native) */
-#define SQR_TOOM2_THRESHOLD 52
+#define SQR_TOOM2_THRESHOLD 50
#define SQR_TOOM3_THRESHOLD 89
#define SQR_TOOM4_THRESHOLD 248
#define SQR_TOOM6_THRESHOLD 342