From: Nikita Popov Date: Wed, 6 Dec 2017 22:15:09 +0000 (+0100) Subject: Fix movzb operand size X-Git-Tag: php-7.3.0alpha1~869 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4e6b80ca549f5db9c0bdcd60e46cc5e03ae488d2;p=php Fix movzb operand size --- diff --git a/Zend/zend_string.c b/Zend/zend_string.c index b070e52660..f5573dfd25 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),