[php-src] jit-arm64: Support for FREE and FE_FREE

From: Date: Thu, 22 Apr 2021 13:06:51 +0000
Subject: [php-src] jit-arm64: Support for FREE and FE_FREE
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-115756@lists.php.net to get a copy of this message
Author: Dmitry Stogov (dstogov) Date: 2021-04-22T16:03:23+03:00 Commit: https://github.com/php/php-src/commit/2f944d384fa498b5f05e6999262c6663bc0a0cc8 Raw diff: https://github.com/php/php-src/commit/2f944d384fa498b5f05e6999262c6663bc0a0cc8.diff Support for FREE and FE_FREE Changed paths: M ext/opcache/jit/zend_jit_arm64.dasc Diff: diff --git a/ext/opcache/jit/zend_jit_arm64.dasc b/ext/opcache/jit/zend_jit_arm64.dasc index 136322647c52..754bdb33dda9 100644 --- a/ext/opcache/jit/zend_jit_arm64.dasc +++ b/ext/opcache/jit/zend_jit_arm64.dasc @@ -11465,19 +11465,15 @@ static int zend_jit_free(dasm_State **Dst, const zend_op *opline, uint32_t op1_i if (op1_info & (MAY_BE_STRING|MAY_BE_ARRAY|MAY_BE_OBJECT|MAY_BE_RESOURCE|MAY_BE_REF)) { if (may_throw) { - | NIY // TODO | SET_EX_OPLINE opline, REG0 } if (opline->opcode == ZEND_FE_FREE && (op1_info & (MAY_BE_OBJECT|MAY_BE_REF))) { if (op1_info & MAY_BE_ARRAY) { - | NIY // TODO | IF_ZVAL_TYPE op1_addr, IS_ARRAY, >7, TMP1w, TMP2 } - | NIY // TODO - int val = -1; - | LOAD_32BIT_VAL TMP1w, opline->op1.var + offsetof(zval, u2.fe_iter_idx) + | LOAD_32BIT_VAL TMP1w, (opline->op1.var + offsetof(zval, u2.fe_iter_idx)) | ldr FCARG1w, [FP, TMP1] - | LOAD_32BIT_VAL TMP1w, val + | mvn TMP1w, wzr // TODO: DynAsm fails loading #-1 | cmp FCARG1w, TMP1w | beq >7 | EXT_CALL zend_hash_iterator_del, REG0

« previous php.cvs (#115756) next »