[Gmp-commit] /var/hg/gmp: (SQR_TOOM2_THRESHOLD): Revert to bogus value to acc...

mercurial at gmplib.org mercurial at gmplib.org
Mon Feb 6 18:45:41 UTC 2017


details:   /var/hg/gmp/rev/551809881860
changeset: 17225:551809881860
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Mon Feb 06 19:45:13 2017 +0100
description:
(SQR_TOOM2_THRESHOLD): Revert to bogus value to accomodate p6/sqr_basecase.asm fragility.

diffstat:

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

diffs (12 lines):

diff -r 5a6706c3817f -r 551809881860 mpn/x86/p6/mmx/gmp-mparam.h
--- a/mpn/x86/p6/mmx/gmp-mparam.h	Fri Feb 03 18:56:09 2017 +0100
+++ b/mpn/x86/p6/mmx/gmp-mparam.h	Mon Feb 06 19:45:13 2017 +0100
@@ -72,7 +72,7 @@
 #define MUL_TOOM43_TO_TOOM54_THRESHOLD     100
 
 #define SQR_BASECASE_THRESHOLD               0  /* always (native) */
-#define SQR_TOOM2_THRESHOLD                 48
+#define SQR_TOOM2_THRESHOLD                 30	/* WRONG value, see comment above */
 #define SQR_TOOM3_THRESHOLD                 83
 #define SQR_TOOM4_THRESHOLD                196
 #define SQR_TOOM6_THRESHOLD                214


More information about the gmp-commit mailing list