Isaac Gouy wrote: > --- Florian Klaempfl <[EMAIL PROTECTED]> wrote: > >> Isaac Gouy schrieb: >>> Suggestions please on what I've done wrong here >>> >>> > http://shootout.alioth.debian.org/u64q/benchmark.php?test=mandelbrot&lang=fpascal&id=3#log >>> > http://shootout.alioth.debian.org/u64q/benchmark.php?test=meteor&lang=fpascal&id=1#log >> x86-64 needs no sse2 as fpu type, it uses sse2 by default. > > > Are there compiler options equivalent to {$FPUTYPE SSE2}{$I-} that > would allow the same program to be compiled for different hardware > without source code changes?
FPUTYPE is a cpu specific switch. You can either write {$ifdef cpui386}{$FPUTYPE SSE2}{$endif cpui386}{$I-} or only {$I-} and pass the FPU type with -Cfsse2 at the command line. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal