From 4e6b80ca549f5db9c0bdcd60e46cc5e03ae488d2 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Wed, 6 Dec 2017 23:15:09 +0100 Subject: [PATCH] Fix movzb operand size --- Zend/zend_string.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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), -- 2.40.0