[Gmp-commit] /var/hg/gmp: (SQR_TOOM2_THRESHOLD): Adjust down to k7's limit as...

mercurial at gmplib.org mercurial at gmplib.org
Sun Nov 3 14:55:10 UTC 2019


details:   /var/hg/gmp/rev/9d6f7043c471
changeset: 17945:9d6f7043c471
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Sun Nov 03 15:54:46 2019 +0100
description:
(SQR_TOOM2_THRESHOLD): Adjust down to k7's limit as per comment.

diffstat:

 mpn/x86/bt1/gmp-mparam.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 71f136eea376 -r 9d6f7043c471 mpn/x86/bt1/gmp-mparam.h
--- a/mpn/x86/bt1/gmp-mparam.h	Sat Nov 02 16:17:44 2019 +0100
+++ b/mpn/x86/bt1/gmp-mparam.h	Sun Nov 03 15:54:46 2019 +0100
@@ -69,7 +69,7 @@
 #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


More information about the gmp-commit mailing list