com php-src: Fix movzb operand size: Zend/zend_string.c
| From: | Nikita Popov | Date: | Wed, 06 Dec 2017 22:15:35 +0000 |
| Subject: | com php-src: Fix movzb operand size: Zend/zend_string.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-100511@lists.php.net to get a copy of this message | ||
Commit: 4e6b80ca549f5db9c0bdcd60e46cc5e03ae488d2
Author: Nikita Popov <nikita.ppv@gmail.com> Wed, 6 Dec 2017 23:15:09 +0100
Parents: 0ba315f4835c6bc4b61100838a9bef02da148d94
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4e6b80ca549f5db9c0bdcd60e46cc5e03ae488d2
Log:
Fix movzb operand size
Changed paths:
M Zend/zend_string.c
Diff:
diff --git a/Zend/zend_string.c b/Zend/zend_string.c
index b070e52..f5573df 100644
--- a/Zend/zend_string.c
+++ b/Zend/zend_string.c
@@ -409,7 +409,7 @@ ZEND_API zend_bool ZEND_FASTCALL zend_string_equal_val(zend_string *s1, zend_str
"lea 0x3c(,%1,8), %1\n\t"
"shlq %b1, %0\n\t"
"sete %b0\n\t"
- "movzbl %b0, %0\n\t"
+ "movzbq %b0, %0\n\t"
".L3%=:\n"
: "=&a"(ret),
"+c"(len),
@@ -437,7 +437,7 @@ ZEND_API zend_bool ZEND_FASTCALL I_WRAP_SONAME_FNNAME_ZU(NONE,zend_string_equal_
"rep\n\t"
"cmpsb\n\t"
"sete %b0\n\t"
- "movzbl %b0, %0\n\t"
+ "movzbq %b0, %0\n\t"
".L2%=:\n"
: "=a"(ret),
"+c"(len),