libfastmint update 20040902

Jonathan Morton <[email protected]>
Newsgroups gmane.mail.spam.hashcash
Message-ID <[email protected]>
The attached patch (against 1.03pr6) includes a new 
hashcash_quickbench() routine.  Adam, I'm leaving it up to you to 
integrate this in the main program.  It will probably still 
underestimate speed a bit, but it should now be in the right ballpark, 
and is a *lot* faster than hashcash_benchtest().  I also fixed a small 
bug in each minter that caused them to return (unsigned)(-1) if they 
found nothing at all in the allowed number of iterations - they now 
return 0 in that case.

The patch also includes an untested SIGILL handler for the MMX 
detectors, essentially lifted straight from Apple's recommended code 
for detecting Altivec on UNIX-like systems that aren't OSX.  This 
should allow operation of MMX-enabled binaries on old x86 CPUs that 
don't support CPUID.

--------------------------------------------------------------
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.
quickbench.patch.gz (application/x-gzip, 2.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.