Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2020-07

Worse performance with 64bit binary

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Gabor Boros

Hi All,

I cannot show the real application but attached a simple example. If compile with 3.2.0 "ppc386.exe -O3 test.pas" the execution time of the resulting example binary is 0.4s, and 2.2s if compile with "ppcx64.exe -O3 test.pas". Any idea why?

Gabor

Reply by email

Florian Klämpfl
to Gabor Boros
Gabor Boros wrote 6 lines
Hi All, I cannot show the real application but attached a simple example. If compile with 3.2.0 "ppc386.exe -O3 test.pas" the execution time of the resulting example binary is 0.4s, and 2.2s if compile with "ppcx64.exe -O3 test.pas". Any idea why?

Missed optimization. I fixed it in trunk.

Reply by email

Gabor Boros
to Florian Klämpfl: Missed optimization. I fixed it in trunk.

2020. 07. 25. 18:42 keltezéssel, Florian Klämpfl írta:

Show quoted text 9 lines
Am 25.07.20 um 16:49 schrieb Gabor Boros: > Hi All, > > I cannot show the real application but attached a simple example. > If compile with 3.2.0 "ppc386.exe -O3 test.pas" the execution time of > the resulting example binary is 0.4s, and 2.2s if compile with > "ppcx64.exe -O3 test.pas". Any idea why? Missed optimization. I fixed it in trunk.

Thank you for the quick fix!
Now the 64bit binary a little faster than the 32bit. The fix will be backported to the fixes_3_2 branch?

Gabor

Reply by email