[fpc-devel] Optimizations

Florian Klämpfl florian at freepascal.org
Sun Jan 26 09:28:30 CET 2014


Am 25.01.2014 23:33, schrieb Nico Erfurth:
> On 25.01.14 17:09, Florian Klaempfl wrote:
> 
>> Still WIP :) But a lot of my commits from the last weeks are spin-offs
>> of the SSA work.
>>
>> Together with all other improvements this results in significant better
>> code:
>>
>> fpc -l -O3 sha256.pp -S2
>> Free Pascal Compiler version 2.6.2 [2013/02/12] for i386
>> Copyright (c) 1993-2012 by Florian Klaempfl and others
>> Target OS: Win32 for i386
>> Compiling sha256.pp
>> Linking sha256.exe
>> 74 lines compiled, 0.1 sec , 26016 bytes code, 2220 bytes data
>>
>> fptime sha256
>> Expected: 3994057095, got 3994057095
>> 483.000 ms
>>
>> pp -n @c:\fpc\bin\fpc.cfg -l -O4 sha256.pp -S2
>> Free Pascal Compiler version 2.7.1 [2014/01/25] for i386
>> Copyright (c) 1993-2013 by Florian Klaempfl and others
>>
>> fptime sha256
>> Expected: 3994057095, got 3994057095
>> 367.000 ms
> 
> How are the numbers for ARM? :-)

Just try :)? This is trunk.




More information about the fpc-devel mailing list