[fpc-devel] Re: Faster Implementation for IntToStr
Sven Barth
pascaldragon at googlemail.com
Mon Sep 3 14:04:29 CEST 2012
Am 03.09.2012 12:42, schrieb Graeme Geldenhuys:
> On 03/09/12 10:19, Daniƫl Mantione wrote:
>>
>> Certainly, but the code used in that asm implementation is quite out of
>> reach for compilers.
>
> Certainly, but there is always scope for improvements right? eg: Delphi
> is well know for generating more optimised ASM than FPC. I'm by no means
> saying that it is easy, I'm just saying that in the long run it is
> easier to maintain Object Pascal code [in the case of IntToStr and
> similar functions], than ASM code. Not to forget the fact that such
> Object Pascal implementations are much more portable.
It will be interesting to benchmark Delphi's ARM compiler once it comes
out as we had quite some work on the ARM optimizer in the last months
and so there is the chance that FPC performs better on ARM than Delphi :)
Regards,
Sven
More information about the fpc-devel
mailing list