[php-src] PHP-8.3: Merge branch 'PHP-8.2' of https://github.com/php/php-src into PHP-8.3
| From: | Bob Weinand | Date: | Wed, 10 Apr 2024 18:38:38 +0000 |
| Subject: | [php-src] PHP-8.3: Merge branch 'PHP-8.2' of https://github.com/php/php-src into PHP-8.3 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-128062@lists.php.net to get a copy of this message | ||
Author: Bob Weinand (bwoebi)
Date: 2024-04-10T20:38:23+02:00
Commit: https://github.com/php/php-src/commit/639a0d78d722397588bd2c180adfa3d89f1c799c
Raw diff: https://github.com/php/php-src/commit/639a0d78d722397588bd2c180adfa3d89f1c799c.diff
Merge branch 'PHP-8.2' of https://github.com/php/php-src into PHP-8.3
Changed paths:
M ext/opcache/jit/zend_jit_arm64.dasc
M ext/opcache/jit/zend_jit_x86.dasc
Diff:
diff --git a/ext/opcache/jit/zend_jit_arm64.dasc b/ext/opcache/jit/zend_jit_arm64.dasc
index eee1525d3622..bb5597d6a425 100644
--- a/ext/opcache/jit/zend_jit_arm64.dasc
+++ b/ext/opcache/jit/zend_jit_arm64.dasc
@@ -688,7 +688,7 @@ static bool logical_immediate_p(uint64_t value, uint32_t reg_size)
| .if ZTS
|| if (GCC_GLOBAL_REGS) {
| LOAD_TSRM_CACHE IP
-| MEM_ACCESS_64_WITH_UOFFSET ldr, IP, IP, (struct.._offset+offsetof(zend_..struct, field)),
tmp_reg
+| ADD_SUB_64_WITH_CONST_32 add, IP, IP, (struct.._offset+offsetof(zend_..struct, field)),
tmp_reg
|| } else {
| LOAD_TSRM_CACHE RX
| ADD_SUB_64_WITH_CONST_32 add, RX, RX, (struct.._offset+offsetof(zend_..struct, field)), tmp_reg
@@ -1935,6 +1935,7 @@ static int zend_jit_leave_throw_stub(dasm_State **Dst)
|5:
| // opline = EG(exception_op);
| LOAD_IP_ADDR_ZTS executor_globals, exception_op, TMP2
+ | str IP, EX->opline
| // HANDLE_EXCEPTION()
| b ->exception_handler
} else {
diff --git a/ext/opcache/jit/zend_jit_x86.dasc b/ext/opcache/jit/zend_jit_x86.dasc
index 78042a8ac882..6e59b9e3e05d 100644
--- a/ext/opcache/jit/zend_jit_x86.dasc
+++ b/ext/opcache/jit/zend_jit_x86.dasc
@@ -406,7 +406,7 @@ static size_t tsrm_tls_offset;
| .if ZTS
|| if (GCC_GLOBAL_REGS) {
| LOAD_TSRM_CACHE IP
-| mov IP, aword [IP + (struct.._offset + offsetof(zend_..struct, field))]
+| lea IP, aword [IP + (struct.._offset + offsetof(zend_..struct, field))]
|| } else {
| LOAD_TSRM_CACHE RX
| lea RX, aword [RX + (struct.._offset + offsetof(zend_..struct, field))]
@@ -1884,6 +1884,7 @@ static int zend_jit_leave_throw_stub(dasm_State **Dst)
|5:
| // opline = EG(exception_op);
| LOAD_IP_ADDR_ZTS executor_globals, exception_op
+ | mov aword EX->opline, IP
| // HANDLE_EXCEPTION()
| jmp ->exception_handler
} else {