Re: [fpc-pascal] Optimizer in 2.0

2005-06-01 Thread Adrian Veith
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

Re: [fpc-pascal] Optimizer in 2.0

2005-06-01 Thread Florian Klaempfl
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_Angrif

Re: [fpc-pascal] Optimizer in 2.0

2005-05-31 Thread Peter Vreman
> 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 > >

Re: [fpc-pascal] Optimizer in 2.0

2005-05-31 Thread Adrian Veith
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

Re: [fpc-pascal] Optimizer in 2.0

2005-05-31 Thread Florian Klaempfl
Adrian Veith wrote: > Hi, > > I am newbie with fpc (but not with pascal, which I use more than 20y now). > We have lot of existing delphi code, which some of it, I want to port to > new platforms - and fpc looks like the right tool for it. But I am > concerned about the speed. I did some basic be

[fpc-pascal] Optimizer in 2.0

2005-05-31 Thread Adrian Veith
Hi, I am newbie with fpc (but not with pascal, which I use more than 20y now). We have lot of existing delphi code, which some of it, I want to port to new platforms - and fpc looks like the right tool for it. But I am concerned about the speed. I did some basic benchmarks and it seems, that t