Re: [fpc-pascal] Worse performance with 64bit binary

2020-07-25 Thread Gabor Boros
2020. 07. 25. 18:42 keltezéssel, Florian Klämpfl írta: 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 com

Re: [fpc-pascal] Worse performance with 64bit binary

2020-07-25 Thread Graeme Geldenhuys
On 25/07/2020 5:42 pm, Florian Klämpfl wrote: > Missed optimization. I fixed it in trunk. Damn that was quick! Nicely done. :-) Regards, Graeme -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp

Re: [fpc-pascal] Worse performance with 64bit binary

2020-07-25 Thread Florian Klämpfl
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? Mi