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

mercurial at gmplib.org mercurial at gmplib.org
Sun Oct 6 09:34:08 UTC 2019


details:   /var/hg/gmp/rev/688b91c9b765
changeset: 17943:688b91c9b765
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Sun Oct 06 11:34:04 2019 +0200
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 1304759941b9 -r 688b91c9b765 mpn/x86/bt1/gmp-mparam.h
--- a/mpn/x86/bt1/gmp-mparam.h	Wed Oct 02 22:03:29 2019 +0200
+++ b/mpn/x86/bt1/gmp-mparam.h	Sun Oct 06 11:34:04 2019 +0200
@@ -69,7 +69,7 @@
 #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


More information about the gmp-commit mailing list