[Gmp-commit] /var/hg/gmp: 4 new changesets

mercurial at gmplib.org mercurial at gmplib.org
Tue Apr 18 19:41:35 UTC 2017


details:   /var/hg/gmp/rev/37e8a2319209
changeset: 17357:37e8a2319209
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Tue Apr 18 21:33:31 2017 +0200
description:
Add SQRLO values.

details:   /var/hg/gmp/rev/477d562debc2
changeset: 17358:477d562debc2
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Tue Apr 18 21:37:14 2017 +0200
description:
Reorder thresholds.

details:   /var/hg/gmp/rev/4ff1c4fbc952
changeset: 17359:4ff1c4fbc952
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Tue Apr 18 21:39:45 2017 +0200
description:
Add SQRLO thresholds.

details:   /var/hg/gmp/rev/9f111f3e758f
changeset: 17360:9f111f3e758f
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Tue Apr 18 21:41:24 2017 +0200
description:
Add SQRLO thresholds.

diffstat:

 mpn/powerpc32/p4/gmp-mparam.h      |  19 +++++++++++--------
 mpn/x86/k10/gmp-mparam.h           |  16 ++++++++--------
 mpn/x86/k8/gmp-mparam.h            |  19 +++++++++++--------
 mpn/x86/pentium4/sse2/gmp-mparam.h |  19 +++++++++++--------
 4 files changed, 41 insertions(+), 32 deletions(-)

diffs (150 lines):

diff -r 29aa6ce22797 -r 9f111f3e758f mpn/powerpc32/p4/gmp-mparam.h
--- a/mpn/powerpc32/p4/gmp-mparam.h	Mon Apr 17 04:10:32 2017 +0200
+++ b/mpn/powerpc32/p4/gmp-mparam.h	Tue Apr 18 21:41:24 2017 +0200
@@ -168,6 +168,9 @@
 #define MULLO_BASECASE_THRESHOLD             0  /* always */
 #define MULLO_DC_THRESHOLD                  55
 #define MULLO_MUL_N_THRESHOLD            13463
+#define SQRLO_BASECASE_THRESHOLD             4
+#define SQRLO_DC_THRESHOLD                 169
+#define SQRLO_SQR_THRESHOLD               9335
 
 #define DC_DIV_QR_THRESHOLD                 50
 #define DC_DIVAPPR_Q_THRESHOLD             196
@@ -189,6 +192,14 @@
 
 #define POWM_SEC_TABLE  3,28,78,480,1099
 
+#define GET_STR_DC_THRESHOLD                11
+#define GET_STR_PRECOMPUTE_THRESHOLD        24
+#define SET_STR_DC_THRESHOLD               381
+#define SET_STR_PRECOMPUTE_THRESHOLD      1002
+
+#define FAC_DSC_THRESHOLD                  179
+#define FAC_ODD_THRESHOLD                   28
+
 #define MATRIX22_STRASSEN_THRESHOLD          9
 #define HGCD_THRESHOLD                      93
 #define HGCD_APPR_THRESHOLD                109
@@ -196,11 +207,3 @@
 #define GCD_DC_THRESHOLD                   379
 #define GCDEXT_DC_THRESHOLD                273
 #define JACOBI_BASE_METHOD                   4
-
-#define GET_STR_DC_THRESHOLD                11
-#define GET_STR_PRECOMPUTE_THRESHOLD        24
-#define SET_STR_DC_THRESHOLD               381
-#define SET_STR_PRECOMPUTE_THRESHOLD      1002
-
-#define FAC_DSC_THRESHOLD                  179
-#define FAC_ODD_THRESHOLD                   28
diff -r 29aa6ce22797 -r 9f111f3e758f mpn/x86/k10/gmp-mparam.h
--- a/mpn/x86/k10/gmp-mparam.h	Mon Apr 17 04:10:32 2017 +0200
+++ b/mpn/x86/k10/gmp-mparam.h	Tue Apr 18 21:41:24 2017 +0200
@@ -199,6 +199,14 @@
 
 #define POWM_SEC_TABLE  1,16,114,428,1240
 
+#define GET_STR_DC_THRESHOLD                15
+#define GET_STR_PRECOMPUTE_THRESHOLD        28
+#define SET_STR_DC_THRESHOLD               100
+#define SET_STR_PRECOMPUTE_THRESHOLD      1360
+
+#define FAC_DSC_THRESHOLD                  224
+#define FAC_ODD_THRESHOLD                   29
+
 #define MATRIX22_STRASSEN_THRESHOLD         19
 #define HGCD_THRESHOLD                     136
 #define HGCD_APPR_THRESHOLD                175
@@ -206,11 +214,3 @@
 #define GCD_DC_THRESHOLD                   595
 #define GCDEXT_DC_THRESHOLD                424
 #define JACOBI_BASE_METHOD                   4
-
-#define GET_STR_DC_THRESHOLD                15
-#define GET_STR_PRECOMPUTE_THRESHOLD        28
-#define SET_STR_DC_THRESHOLD               100
-#define SET_STR_PRECOMPUTE_THRESHOLD      1360
-
-#define FAC_DSC_THRESHOLD                  224
-#define FAC_ODD_THRESHOLD                   29
diff -r 29aa6ce22797 -r 9f111f3e758f mpn/x86/k8/gmp-mparam.h
--- a/mpn/x86/k8/gmp-mparam.h	Mon Apr 17 04:10:32 2017 +0200
+++ b/mpn/x86/k8/gmp-mparam.h	Tue Apr 18 21:41:24 2017 +0200
@@ -162,6 +162,9 @@
 #define MULLO_BASECASE_THRESHOLD             8
 #define MULLO_DC_THRESHOLD                  31
 #define MULLO_MUL_N_THRESHOLD            14281
+#define SQRLO_BASECASE_THRESHOLD             6
+#define SQRLO_DC_THRESHOLD                 193
+#define SQRLO_SQR_THRESHOLD              10704
 
 #define DC_DIV_QR_THRESHOLD                 91
 #define DC_DIVAPPR_Q_THRESHOLD             280
@@ -183,6 +186,14 @@
 
 #define POWM_SEC_TABLE  1,22,114,416,1464
 
+#define GET_STR_DC_THRESHOLD                13
+#define GET_STR_PRECOMPUTE_THRESHOLD        28
+#define SET_STR_DC_THRESHOLD               270
+#define SET_STR_PRECOMPUTE_THRESHOLD      1367
+
+#define FAC_DSC_THRESHOLD                  348
+#define FAC_ODD_THRESHOLD                   24
+
 #define MATRIX22_STRASSEN_THRESHOLD         16
 #define HGCD_THRESHOLD                     149
 #define HGCD_APPR_THRESHOLD                204
@@ -190,11 +201,3 @@
 #define GCD_DC_THRESHOLD                   599
 #define GCDEXT_DC_THRESHOLD                403
 #define JACOBI_BASE_METHOD                   4
-
-#define GET_STR_DC_THRESHOLD                13
-#define GET_STR_PRECOMPUTE_THRESHOLD        28
-#define SET_STR_DC_THRESHOLD               270
-#define SET_STR_PRECOMPUTE_THRESHOLD      1367
-
-#define FAC_DSC_THRESHOLD                  348
-#define FAC_ODD_THRESHOLD                   24
diff -r 29aa6ce22797 -r 9f111f3e758f mpn/x86/pentium4/sse2/gmp-mparam.h
--- a/mpn/x86/pentium4/sse2/gmp-mparam.h	Mon Apr 17 04:10:32 2017 +0200
+++ b/mpn/x86/pentium4/sse2/gmp-mparam.h	Tue Apr 18 21:41:24 2017 +0200
@@ -170,6 +170,9 @@
 #define MULLO_BASECASE_THRESHOLD            12
 #define MULLO_DC_THRESHOLD                  55
 #define MULLO_MUL_N_THRESHOLD            14709
+#define SQRLO_BASECASE_THRESHOLD             8
+#define SQRLO_DC_THRESHOLD                  74
+#define SQRLO_SQR_THRESHOLD               8706
 
 #define DC_DIV_QR_THRESHOLD                 38
 #define DC_DIVAPPR_Q_THRESHOLD              77
@@ -191,6 +194,14 @@
 
 #define POWM_SEC_TABLE  1,19,102,615,2111
 
+#define GET_STR_DC_THRESHOLD                12
+#define GET_STR_PRECOMPUTE_THRESHOLD        26
+#define SET_STR_DC_THRESHOLD               147
+#define SET_STR_PRECOMPUTE_THRESHOLD       894
+
+#define FAC_DSC_THRESHOLD                  906
+#define FAC_ODD_THRESHOLD                   28
+
 #define MATRIX22_STRASSEN_THRESHOLD         23
 #define HGCD_THRESHOLD                      88
 #define HGCD_APPR_THRESHOLD                 93
@@ -198,11 +209,3 @@
 #define GCD_DC_THRESHOLD                   379
 #define GCDEXT_DC_THRESHOLD                258
 #define JACOBI_BASE_METHOD                   4
-
-#define GET_STR_DC_THRESHOLD                12
-#define GET_STR_PRECOMPUTE_THRESHOLD        26
-#define SET_STR_DC_THRESHOLD               147
-#define SET_STR_PRECOMPUTE_THRESHOLD       894
-
-#define FAC_DSC_THRESHOLD                  906
-#define FAC_ODD_THRESHOLD                   28


More information about the gmp-commit mailing list