Merge "Replace ambiguous cmp operator with cmpl."

This commit is contained in:
Chih-Hung Hsieh 2014-10-22 00:55:14 +00:00 committed by Gerrit Code Review
commit 098cf45f4e
2 changed files with 8 additions and 8 deletions

View File

@ -98,13 +98,13 @@ L(WcscpyAtom):
mov STR2(%esp), %ecx
lea (%edi, %eax), %edx
cmp $0, (%ecx)
cmpl $0, (%ecx)
jz L(Exit4)
cmp $0, 4(%ecx)
cmpl $0, 4(%ecx)
jz L(Exit8)
cmp $0, 8(%ecx)
cmpl $0, 8(%ecx)
jz L(Exit12)
cmp $0, 12(%ecx)
cmpl $0, 12(%ecx)
jz L(Exit16)
#undef RETURN

View File

@ -92,13 +92,13 @@ ENTRY (wcscpy)
mov STR1(%esp), %edx
mov STR2(%esp), %ecx
cmp $0, (%ecx)
cmpl $0, (%ecx)
jz L(ExitTail4)
cmp $0, 4(%ecx)
cmpl $0, 4(%ecx)
jz L(ExitTail8)
cmp $0, 8(%ecx)
cmpl $0, 8(%ecx)
jz L(ExitTail12)
cmp $0, 12(%ecx)
cmpl $0, 12(%ecx)
jz L(ExitTail16)
PUSH (%edi)