[fpc-devel] *** GMX Spamverdacht *** Re: Broken frac function in FPC3.1.1 / Windows x86_64

Florian Klaempfl florian at freepascal.org
Sun Apr 29 20:28:24 CEST 2018


Am 28.04.2018 um 17:57 schrieb Thorsten Engler:
>> -----Original Message-----
>> From: fpc-devel <fpc-devel-bounces at lists.freepascal.org> On Behalf
>> Of Florian Klämpfl
>> So something like
>>
>>   cmp       edx, $43300000
>>   jge      @@zero
>>   cmp       edx, $3FE00000
>>   .align   16
>>   jbe      @@skip
>>
>> might be much better.
> 
> That ended up making things worse in some cases.

Can you take a look at the generated machine code if delphi uses proper
multi byte nops. If  not, the align might make things indeed worse.



More information about the fpc-devel mailing list