Jonas Maebe wrote:
You can use -vd to have the compiler print out all compiler options it interprets (both from configuration files and from the command line). In general, to get the best code for an Intel Core family processor, use something like

-O3ppentium4 -Cppentium4 -Cfsse2

i doubt it'll speed up your program by a factor of 2 in any case though.

Hmm there are weak spots in FPC. E.g. fannkuch in the shootout:

http://shootout.alioth.debian.org/u32/benchmark.php?test=fannkuch&lang=fpascal&id=5

FPC is 2.1 times slower than gcc here. Maybe this program is like it?

It's still quite unlikely that an assembly emulator would optimize it run so much better than the original compiler could.

Micha
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to