[php-src] jit-arm64: Use TST_32_WITH_CONST macro
| From: | Dmitry Stogov | Date: | Thu, 29 Apr 2021 06:40:29 +0000 |
| Subject: | [php-src] jit-arm64: Use TST_32_WITH_CONST macro | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-115942@lists.php.net to get a copy of this message | ||
Author: Dmitry Stogov (dstogov)
Date: 2021-04-29T09:40:23+03:00
Commit: https://github.com/php/php-src/commit/9ff6c3445f2acb303b75f9175292a77f76ba137f
Raw diff: https://github.com/php/php-src/commit/9ff6c3445f2acb303b75f9175292a77f76ba137f.diff
Use TST_32_WITH_CONST macro
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 ebda65e479a0..ea9450be5663 100644
--- a/ext/opcache/jit/zend_jit_arm64.dasc
+++ b/ext/opcache/jit/zend_jit_arm64.dasc
@@ -3554,7 +3554,7 @@ static int zend_jit_free_trampoline(dasm_State **Dst)
{
| // if (UNEXPECTED(func->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE))
| ldr TMP1w, [REG0, #offsetof(zend_function, common.fn_flags)]
- | tst TMP1w, #ZEND_ACC_CALL_VIA_TRAMPOLINE
+ | TST_32_WITH_CONST TMP1w, ZEND_ACC_CALL_VIA_TRAMPOLINE, TMP2w
| beq >1
| mov FCARG1x, REG0
| EXT_CALL zend_jit_free_trampoline_helper, REG0