[fpc-pascal] Optimizer in 2.0
peter at freepascal.org
Tue May 31 16:40:56 CEST 2005
> 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
> My results are with:
> fpc -Sd -OG3rp3 -XX RSA_Angriff_D5.dpr
> 5266 ms
> fpc -Sd -XX RSA_Angriff_D5.dpr
> 4844 ms
> The unoptimized code is faster than the optimized code.
Try without regvars. It is a known issue that register variables don't
produce better code on intel cpus because it increase register pressure.
More information about the fpc-pascal