On 07 Sep 2008, at 21:38, Micha Nelissen wrote:
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?
The program of Tom is compiled by FCP/PPC and emulated on an Intel
machine vs compiled by FPC/Intel and run natively on the same Intel
machine, with the former being 2 times faster than the latter.
Programs written for advocacy purposes by different people in
different languages and compiled by completely different compilers but
for the same target architecture don't really seem to be very relevant
to me in this case.
Jonas
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal