[fpc-pascal] Optimizer in 2.0

Florian Klaempfl florian at freepascal.org
Wed Jun 1 14:06:44 CEST 2005


Adrian Veith wrote:
> It shows with useless code like simple nested for .. to loops, but also
> with some more useful code like the attached RSA_Angriff from the C'T
> magazine.
> 
> My results are with:
> 
> fpc -Sd -OG3rp3 -XX RSA_Angriff_D5.dpr
> 
> 5266 ms
> 
> with:
> 
> fpc -Sd -XX RSA_Angriff_D5.dpr
> 
> 4844 ms
> 
> The unoptimized code is faster than the optimized code.

For me the version compiled with -OG3rp3 is the fastest (AthlonXP). Just
curious, what CPU do you use?




More information about the fpc-pascal mailing list