[fpc-devel] CompareMem slower in FPC 2.4.4
Sergei Gorelkin
sergei_gorelkin at mail.ru
Thu Jun 2 18:17:21 CEST 2011
02.06.2011 19:49, Sven Barth пишет:
>
> Maybe it's better if you or someone else would try to improve the performance of the i386 assembler
> code that makes up the Compare(Byte/Word/DWord) functions (it's located in rtl/i386/i386.inc btw).
>
I tend to agree. The string instructions used there (rep cmpsb, etc.) are known to be not the
fastest solution on modern x86 CPUs.
Sergei
More information about the fpc-devel
mailing list