mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-13 05:40:20 +02:00
+ enabled the i386 asm optimized strcomp (was previously disabled due to wrong ifndef)
git-svn-id: trunk@37614 -
This commit is contained in:
parent
c464f7fa56
commit
3d108d5e51
@ -183,7 +183,7 @@ end;
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
{$ifndef FPC_UNIT_HAS_STREND}
|
{$ifndef FPC_UNIT_HAS_STRCOMP}
|
||||||
{$define FPC_UNIT_HAS_STRCOMP}
|
{$define FPC_UNIT_HAS_STRCOMP}
|
||||||
function strcomp(str1,str2 : pchar) : longint;assembler;
|
function strcomp(str1,str2 : pchar) : longint;assembler;
|
||||||
var
|
var
|
||||||
@ -212,7 +212,7 @@ asm
|
|||||||
movl saveedi,%edi
|
movl saveedi,%edi
|
||||||
movl saveesi,%esi
|
movl saveesi,%esi
|
||||||
end;
|
end;
|
||||||
{$endif FPC_UNIT_HAS_STREND}
|
{$endif FPC_UNIT_HAS_STRCOMP}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user