summaryrefslogtreecommitdiff
path: root/mpn/arm
diff options
context:
space:
mode:
authorTorbjorn Granlund <tg@gmplib.org>2017-01-03 20:41:02 +0100
committerTorbjorn Granlund <tg@gmplib.org>2017-01-03 20:41:02 +0100
commit590095cf5fa8135ccfb0b6048ef683ea513fbf43 (patch)
treeb358dcb3bd89258e2be6ce915021815c6055d175 /mpn/arm
parent5bd0d52a61fa5d62b34fefac7fbdfe6a83dc4779 (diff)
downloadgmp-590095cf5fa8135ccfb0b6048ef683ea513fbf43.tar.gz
Retune (mainly for DIV_1_VS_MUL_1_PERCENT).
Diffstat (limited to 'mpn/arm')
-rw-r--r--mpn/arm/v7a/cora5/gmp-mparam.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mpn/arm/v7a/cora5/gmp-mparam.h b/mpn/arm/v7a/cora5/gmp-mparam.h
index fbb3c412d..dbadd94fc 100644
--- a/mpn/arm/v7a/cora5/gmp-mparam.h
+++ b/mpn/arm/v7a/cora5/gmp-mparam.h
@@ -50,6 +50,8 @@ see https://www.gnu.org/licenses/. */
#define DIVEXACT_1_THRESHOLD 0 /* always (native) */
#define BMOD_1_TO_MOD_1_THRESHOLD 51
+#define DIV_1_VS_MUL_1_PERCENT 178
+
#define MUL_TOOM22_THRESHOLD 45
#define MUL_TOOM33_THRESHOLD 149
#define MUL_TOOM44_THRESHOLD 242