[php-src] jit-arm64: Fixed INC/DEC_PROP (tests/classes/incdec_property_*.phpt)
| From: | Dmitry Stogov | Date: | Fri, 23 Apr 2021 05:58:05 +0000 |
| Subject: | [php-src] jit-arm64: Fixed INC/DEC_PROP (tests/classes/incdec_property_*.phpt) | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-115775@lists.php.net to get a copy of this message | ||
Author: Dmitry Stogov (dstogov)
Date: 2021-04-23T08:57:13+03:00
Commit: https://github.com/php/php-src/commit/3347f341ec57926700479fb214f87e95fbe52201
Raw diff: https://github.com/php/php-src/commit/3347f341ec57926700479fb214f87e95fbe52201.diff
Fixed INC/DEC_PROP (tests/classes/incdec_property_*.phpt)
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 b6a9060c9d22..1d1d418478ab 100644
--- a/ext/opcache/jit/zend_jit_arm64.dasc
+++ b/ext/opcache/jit/zend_jit_arm64.dasc
@@ -12008,7 +12008,8 @@ static int zend_jit_incdec_obj(dasm_State **Dst,
| // value = zobj->handlers->write_property(zobj, name, value,
CACHE_ADDR(opline->extended_value));
| LOAD_ADDR FCARG2x, name
| ldr CARG3, EX->run_time_cache
- | LOAD_32BIT_VAL CARG3, opline->extended_value
+ | LOAD_32BIT_VAL TMP1, opline->extended_value
+ | add CARG3, CARG3, TMP1
if (opline->result_type == IS_UNUSED) {
| mov CARG4, xzr
} else {