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
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel