diff options
author | kennykb <kennykb@noemail.net> | 2005-04-10 23:54:55 (GMT) |
---|---|---|
committer | kennykb <kennykb@noemail.net> | 2005-04-10 23:54:55 (GMT) |
commit | e166193bb0278f2339f4d72d07bab3619bde177c (patch) | |
tree | 8809a65920a763a8894572aee81a71eeff4b2c82 /libtommath/bncore.c | |
parent | a5ffd3f1d4695fa8555a77ad4a958188e0a4e39e (diff) | |
download | tcl-e166193bb0278f2339f4d72d07bab3619bde177c.zip tcl-e166193bb0278f2339f4d72d07bab3619bde177c.tar.gz tcl-e166193bb0278f2339f4d72d07bab3619bde177c.tar.bz2 |
Import of tommath 0.35
FossilOrigin-Name: 30c8e6bbc27fa43a9846ce2b975e96ec7ab13ad0
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; |