[hashcash] Re: athlon-64 hashcash perf?

It was a PITA to convince fastmint to use the mmx routines in a -m64
executable, but I eventually got it to work.  As expected, the timings
were the same as in a -m32 executable, but before I got that far, I
got this from a -m64 binary w/o mmx working:

Best minter: ANSI Standard 2-pipe (2989185 hashes/sec)

with xxm working it is:

Best minter: AMD64/x86 MMX Standard 1x2-pipe (3145246 hashes/sec)

I used:

make "CFLAGS= -DREGEXP_POSIX -O3 -funroll-loops -m64 -march=opteron 
-D_REENTRANT -D_THREAD_SAFE -fPIC " build

Almost as good as a 32bit executable w/ mmx.

Reworking that code for sse2 should be a significant benefit for
recent x86 and all amd64 processors.

Unfortunately I misread the cpuinfo before I spent the time on it;
this was also a 1.6 GHz box.

-JimC
-- 
James H. Cloos, Jr. <cloos@xxxxxxxxxxx>

Other related posts: