[php-src] jit-arm64: Remove useless masking

From: Date: Thu, 22 Apr 2021 20:49:40 +0000
Subject: [php-src] jit-arm64: Remove useless masking
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-115770@lists.php.net to get a copy of this message
Author: Dmitry Stogov (dstogov) Date: 2021-04-22T23:49:42+03:00 Commit: https://github.com/php/php-src/commit/e1f8e0188f85724ed532ff598306f09984c5f0db Raw diff: https://github.com/php/php-src/commit/e1f8e0188f85724ed532ff598306f09984c5f0db.diff Remove useless masking Changed paths: M ext/opcache/jit/zend_jit_x86.dasc Diff: diff --git a/ext/opcache/jit/zend_jit_x86.dasc b/ext/opcache/jit/zend_jit_x86.dasc index 912e70cd6403..c027fb63773b 100644 --- a/ext/opcache/jit/zend_jit_x86.dasc +++ b/ext/opcache/jit/zend_jit_x86.dasc @@ -13688,7 +13688,7 @@ static int zend_jit_assign_obj_op(dasm_State **Dst, | cmp r2, aword [FCARG1a + offsetof(zend_object, ce)] | jne >7 if (!ce || ce_is_instanceof || (ce->ce_flags & ZEND_ACC_HAS_TYPE_HINTS)) { - | cmp aword [r0 + ((opline+1)->extended_value & ~ZEND_FETCH_OBJ_FLAGS) + sizeof(void*) * 2], 0 + | cmp aword [r0 + (opline+1)->extended_value + sizeof(void*) * 2], 0 | jnz >7 } | mov r0, aword [r0 + (opline+1)->extended_value + sizeof(void*)] @@ -14020,7 +14020,7 @@ static int zend_jit_assign_obj(dasm_State **Dst, | cmp r2, aword [FCARG1a + offsetof(zend_object, ce)] | jne >5 if (!ce || ce_is_instanceof || (ce->ce_flags & ZEND_ACC_HAS_TYPE_HINTS)) { - | mov FCARG2a, aword [r0 + (opline->extended_value & ~ZEND_FETCH_OBJ_FLAGS) + sizeof(void*) * 2] + | mov FCARG2a, aword [r0 + opline->extended_value + sizeof(void*) * 2] } | mov r0, aword [r0 + opline->extended_value + sizeof(void*)] | test r0, r0

« previous php.cvs (#115770) next »