Merge "Replace ambiguous cmp instruction with cmpl."

This commit is contained in:
Chih-Hung Hsieh 2014-08-27 22:46:06 +00:00 committed by Gerrit Code Review
commit 4f8268e38f

View File

@ -65,21 +65,21 @@ name: \
ENTRY (wcslen)
mov STR(%esp), %edx
#endif
cmp $0, (%edx)
cmpl $0, (%edx)
jz L(exit_tail0)
cmp $0, 4(%edx)
cmpl $0, 4(%edx)
jz L(exit_tail1)
cmp $0, 8(%edx)
cmpl $0, 8(%edx)
jz L(exit_tail2)
cmp $0, 12(%edx)
cmpl $0, 12(%edx)
jz L(exit_tail3)
cmp $0, 16(%edx)
cmpl $0, 16(%edx)
jz L(exit_tail4)
cmp $0, 20(%edx)
cmpl $0, 20(%edx)
jz L(exit_tail5)
cmp $0, 24(%edx)
cmpl $0, 24(%edx)
jz L(exit_tail6)
cmp $0, 28(%edx)
cmpl $0, 28(%edx)
jz L(exit_tail7)
pxor %xmm0, %xmm0