[php-src] jit-arm64: Fixed assertion
| From: | Dmitry Stogov | Date: | Wed, 28 Apr 2021 07:06:54 +0000 |
| Subject: | [php-src] jit-arm64: Fixed assertion | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-115910@lists.php.net to get a copy of this message | ||
Author: Dmitry Stogov (dstogov)
Date: 2021-04-28T10:06:36+03:00
Commit: https://github.com/php/php-src/commit/813aa7c1815fc0a64c8863563d8140d776e499d0
Raw diff: https://github.com/php/php-src/commit/813aa7c1815fc0a64c8863563d8140d776e499d0.diff
Fixed assertion
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 d85bfcccdb46..258aa6f5a36b 100644
--- a/ext/opcache/jit/zend_jit_arm64.dasc
+++ b/ext/opcache/jit/zend_jit_arm64.dasc
@@ -302,7 +302,7 @@ static int logical_immediate_p (uint64_t value, uint32_t reg_size)
|.macro LOAD_TSRM_CACHE, reg
| //.byte 0x4d, 0xd0, 0x3b, 0xd5 // TODO: hard-coded: mrs TMP3, tpidr_el0
| .long 0xd53bd04d // TODO: hard-coded: mrs TMP3, tpidr_el0
-|| ZEND_ASSERT(tsrm_ls_cache_tcb_offset <= ADD_SUB_IMM);
+|| ZEND_ASSERT(tsrm_ls_cache_tcb_offset <= LDR_STR_PIMM64);
| ldr reg, [TMP3, #tsrm_ls_cache_tcb_offset]
|.endmacro