[fpc-pascal] Speed difference between intel/ppc on intel Mac
micha at neli.hopto.org
Sun Sep 7 22:38:26 CEST 2008
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:
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.
More information about the fpc-pascal