[fpc-pascal] Optimizer in 2.0

Adrian Veith adrian at veith-system.de
Wed Jun 1 16:47:57 CEST 2005


Florian Klaempfl schrieb:

>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?
>  
>
Intel Pentium M 730.

I will do the test on a Athlon XP as well. Maybe the picture changes.






More information about the fpc-pascal mailing list