[hashcash] Re: Speed problem with 1.03 on Mac G4

  • From: Jonathan Morton <chromi@xxxxxxxxxxxxxxxxxxxxx>
  • To: hashcash@xxxxxxxxxxxxx
  • Date: Sun, 22 Aug 2004 18:42:32 +0100

./hashcash -mb 16 -r foo
collisions = 63800
time estimate: 0 seconds (103 milli-seconds)
ERROR: requested 16 bits, reported 16 bits, got 1 bits using AMD64/x86 MMX Standard 1x2-pipe minter: "1:16:040816:foo::09bQn59OYq6RRjso:00000XtE"

I saw this too on my AMD machine, but doing "make 386" instead of "make x86-mmx" fixed it. Maybe the AMD does not have the MMX or the compiler does not do it right for that architecture?

No, I wrote the core using an Athlon-XP, so it should work on any machine which supports MMX. It looks like there's a bug (which would show up on any MMX machine), which I should track down and fix.


--------------------------------------------------------------
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.


Other related posts: