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 | d2b645df1ab7b43093f7553808c64fedaa3b3a49 (patch) | |
tree | 99103342350cd1fb4776a60684221ad722fdec52 /libtommath/bncore.c | |
parent | b9cf65a08e6a59e434685e894e3189c201ac6791 (diff) | |
download | tcl-d2b645df1ab7b43093f7553808c64fedaa3b3a49.zip tcl-d2b645df1ab7b43093f7553808c64fedaa3b3a49.tar.gz tcl-d2b645df1ab7b43093f7553808c64fedaa3b3a49.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; |