[fpc-pascal] Speed difference between intel/ppc on intel Mac
    Micha Nelissen 
    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:
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
    
    
More information about the fpc-pascal
mailing list