libfastmint update 20040914

Jonathan Morton <[email protected]>
Newsgroups gmane.mail.spam.hashcash
Message-ID <[email protected]>
This patch (against hashcash 1.08) cleans up the MMX and Altivec 
detection code, moving it all into one place and ensuring it only needs 
to be called once.  The minter test functions now read a bitfield of 
flags which is set up by the init routine.  It also attempts to fix a 
bug where the benchmark routine would crash on machines supporting 
CPUID but not MMX (late model 486s, Pentium Classic, etc).

The benchmark itself has been modified to use the optimal counting 
position, rather than the suboptimal counting position used in previous 
versions.  Benchmark results from this version will therefore normally 
be significantly higher (about 15% in most cases) than previously.

The minting routine is still using suboptimal counting positions, but 
this should be corrected shortly.

--------------------------------------------------------------
from:     Jonathan "Chromatix" Morton
mail:     [email protected]
website:  http://www.chromatix.uklinux.net/
tagline:  The key to knowledge is not to rely on people to teach you it.
detection_cleanup.patch.gz (application/x-gzip, 3.5 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.