mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-04 06:58:34 +02:00
* fixed CompareByte for x86-64 after r37528
git-svn-id: trunk@37535 -
This commit is contained in:
parent
3bcf774c7b
commit
5b766a1e67
@ -648,8 +648,13 @@ asm
|
||||
|
||||
.balign 16
|
||||
.LCmpbyteLoop:
|
||||
movb (%rcx,%r8), %al
|
||||
cmpb (%rdx,%r8), %al
|
||||
{$ifdef oldbinutils}
|
||||
// for the reason why this alternate coding of movzbl is given here
|
||||
// see the comments in FillChar above
|
||||
.byte 0x42,0x0F,0xB6,0x04,0x01
|
||||
{$else}
|
||||
movzbl (%rcx,%r8), %eax
|
||||
{$endif} cmpb (%rdx,%r8), %al
|
||||
jne .LCmpbyteExitFast
|
||||
incq %r8
|
||||
jne .LCmpbyteLoop
|
||||
|
Loading…
Reference in New Issue
Block a user