[fpc-devel] Re: Faster Implementation for IntToStr

Mark Morgan Lloyd markMLl.fpc-devel at telemetry.co.uk
Mon Sep 3 15:05:56 CEST 2012


Graeme Geldenhuys wrote:
> On 03/09/12 08:33, Michael Schnell wrote:
>>
>> OTOH, for such a low-level stuff ASM _might_ provide a speed advantage.
> 
> Or it means the FPC compiler has place for improvement converting Object 
> Pascal code to ASM - generating more optimised ASM with -O2 or -O3 
> parameters.

Except that modifying the compiler to generate highly-optimised code for 
specific high-level tasks is probably more work than having a fragment 
of assembler that needs to be written once per target CPU.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]



More information about the fpc-devel mailing list