[hashcash] Re: cpu detection, disabling mmx code on non mmx cpu (Re: Re: status of hashcash version 1?)

  • From: Hubert Chan <hubert@xxxxxxxxx>
  • To: hashcash@xxxxxxxxxxxxx
  • Date: Tue, 03 Aug 2004 19:52:10 -0400

>>>>> "Jonathan" == Jonathan Morton <chromi@xxxxxxxxxxxxxxxxxxxxx> writes:

[...]

Jonathan> Yes, that's correct.  The detection code relies on the CPUID
Jonathan> instruction being present (which is why it'll probably break
Jonathan> nastily on old CPUs like the 386), but it can in turn be
Jonathan> short-circuited out by compiling without MMX support.

Does it work on 486?  IIRC, under Debian, we're now allowed to compile
for i486 (though I'll have to double-check).

-- 
Hubert Chan <hubert@xxxxxxxxx> - http://www.uhoreg.ca/
PGP/GnuPG key: 1024D/124B61FA
Fingerprint: 96C5 012F 5F74 A5F7 1FF7  5291 AF29 C719 124B 61FA
Key available at wwwkeys.pgp.net.   Encrypted e-mail preferred.


Other related posts: