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: chromi@xxxxxxxxxxxxxxxxxxxxx website: http://www.chromatix.uklinux.net/ tagline: The key to knowledge is not to rely on people to teach you it.