commit | 0a93df369cf3f44d40ca1f0cb4a58aeab42fb39c | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Thu Apr 23 14:27:10 2015 -0700 |
committer | Chih-hung Hsieh <chh@google.com> | Thu Apr 23 21:40:31 2015 +0000 |
tree | 76ac32a264a8a007634eb2067e7b9607c8aab93b | |
parent | 913fe559f69395aaf160653c1d3994df3272810b [diff] |
Fix opcode to compile with both gcc and llvm. BUG: 17302991 Change-Id: I31febd9ad24312388068803ce247b295bd73b607
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 @@ .p2align 4 L(Byte0): - movzx (%rsi), %ecx - movzx (%rdi), %eax + movzbl (%rsi), %ecx + movzbl (%rdi), %eax sub %ecx, %eax ret