summaryrefslogtreecommitdiffstats
path: root/libc/arch-x86_64
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2015-04-23 14:27:10 -0700
committerChih-Hung Hsieh <chh@google.com>2015-05-15 16:28:38 -0700
commit22c21c6b4e789b9013ac472c77f43c91127cf9fa (patch)
tree3c944f00847d2d3c498045f290f3f509d1bde0dc /libc/arch-x86_64
parentfa7ba6227f918dadca787a78ed3269bf86fd234d (diff)
downloadbionic-22c21c6b4e789b9013ac472c77f43c91127cf9fa.zip
bionic-22c21c6b4e789b9013ac472c77f43c91127cf9fa.tar.gz
bionic-22c21c6b4e789b9013ac472c77f43c91127cf9fa.tar.bz2
Fix opcode to compile with both gcc and llvm.
BUG: 17302991 Change-Id: I31febd9ad24312388068803ce247b295bd73b607 (cherry picked from commit 0a93df369cf3f44d40ca1f0cb4a58aeab42fb39c)
Diffstat (limited to 'libc/arch-x86_64')
-rw-r--r--libc/arch-x86_64/string/ssse3-strcmp-slm.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/arch-x86_64/string/ssse3-strcmp-slm.S b/libc/arch-x86_64/string/ssse3-strcmp-slm.S
index 0dd8c27..e8acd5b 100644
--- a/libc/arch-x86_64/string/ssse3-strcmp-slm.S
+++ b/libc/arch-x86_64/string/ssse3-strcmp-slm.S
@@ -1897,8 +1897,8 @@ L(strcmp_exitz):
.p2align 4
L(Byte0):
- movzx (%rsi), %ecx
- movzx (%rdi), %eax
+ movzbl (%rsi), %ecx
+ movzbl (%rdi), %eax
sub %ecx, %eax
ret