diff options
author | Kevin B Kenny <kennykb@acm.org> | 2005-04-10 23:54:55 (GMT) |
---|---|---|
committer | Kevin B Kenny <kennykb@acm.org> | 2005-04-10 23:54:55 (GMT) |
commit | 163b211fb73a0d795aa73236805b5b97386dd4f3 (patch) | |
tree | 99103342350cd1fb4776a60684221ad722fdec52 /libtommath/bncore.c | |
parent | 8df47fab3cdd02f03283e22c2b2226f0fe7a2ab4 (diff) | |
download | tcl-163b211fb73a0d795aa73236805b5b97386dd4f3.zip tcl-163b211fb73a0d795aa73236805b5b97386dd4f3.tar.gz tcl-163b211fb73a0d795aa73236805b5b97386dd4f3.tar.bz2 |
Import of tommath 0.35
Diffstat (limited to 'libtommath/bncore.c')
-rw-r--r-- | libtommath/bncore.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libtommath/bncore.c b/libtommath/bncore.c index cf8a15a..82e3132 100644 --- a/libtommath/bncore.c +++ b/libtommath/bncore.c @@ -20,11 +20,12 @@ CPU /Compiler /MUL CUTOFF/SQR CUTOFF ------------------------------------------------------------- Intel P4 Northwood /GCC v3.4.1 / 88/ 128/LTM 0.32 ;-) + AMD Athlon64 /GCC v3.4.4 / 74/ 124/LTM 0.34 */ -int KARATSUBA_MUL_CUTOFF = 88, /* Min. number of digits before Karatsuba multiplication is used. */ - KARATSUBA_SQR_CUTOFF = 128, /* Min. number of digits before Karatsuba squaring is used. */ +int KARATSUBA_MUL_CUTOFF = 74, /* Min. number of digits before Karatsuba multiplication is used. */ + KARATSUBA_SQR_CUTOFF = 124, /* Min. number of digits before Karatsuba squaring is used. */ TOOM_MUL_CUTOFF = 350, /* no optimal values of these are known yet so set em high */ TOOM_SQR_CUTOFF = 400; |