[hashcash] Re: benchmark

  • From: Adam Back <adam@xxxxxxxxxxxxxxx>
  • To: hashcash@xxxxxxxxxxxxx
  • Date: Tue, 14 Sep 2004 09:04:55 -0400

Hi

The -mmmx question I think is as Linus said: you have an old gcc
compiler which appeas not to support this option.

I also tried an AMD chip and the mmx code works.  Your chip
capabilities confirms this listing "MMX".

The -mcpu=pentium just tells it to optimize for pentium (but code is
still runnable on 486s etc).

Adam

On Mon, Sep 13, 2004 at 04:35:59AM -0400, Atom 'Smasher' wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> On Mon, 13 Sep 2004, Adam Back wrote:
> 
> >Does compiling with make x86 work on BSD?
> =========
> 
> that doesn't get far, at all... pretty much the same error with gmake...
> 
> 
> # make x86
> make "CFLAGS=-DREGEXP_POSIX -O3 -funroll-loops -march=i386 -mcpu=pentium 
> -mmmx  -D_REENTRANT -D_THREAD_SAFE -fPIC " build
> cc -DREGEXP_POSIX -O3 -funroll-loops -march=i386 -mcpu=pentium -mmmx  
> -D_REENTRANT -D_THREAD_SAFE -fPIC  -c hashcash.c
> cc1: Invalid option `mmx'
> *** Error code 1

Other related posts: