[php-src] jit-arm64: Fixed copy/paste error
| From: | Dmitry Stogov | Date: | Thu, 22 Apr 2021 06:42:33 +0000 |
| Subject: | [php-src] jit-arm64: Fixed copy/paste error | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-115740@lists.php.net to get a copy of this message | ||
Author: Dmitry Stogov (dstogov)
Date: 2021-04-22T09:42:12+03:00
Commit: https://github.com/php/php-src/commit/dc585e84d793726ed41e5af2b66128a2ae577e5e
Raw diff: https://github.com/php/php-src/commit/dc585e84d793726ed41e5af2b66128a2ae577e5e.diff
Fixed copy/paste error
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 0d7bd76a6e22..604a969fee9c 100644
--- a/ext/opcache/jit/zend_jit_arm64.dasc
+++ b/ext/opcache/jit/zend_jit_arm64.dasc
@@ -3230,7 +3230,7 @@ static int zend_jit_math_long_long(dasm_State **Dst,
}
} else {
| GET_ZVAL_LVAL result_reg, op2_addr, TMP1
- | mov TMP1, #floor_log2(Z_LVAL_P(Z_ZV(op2_addr)))
+ | mov TMP1, #floor_log2(Z_LVAL_P(Z_ZV(op1_addr)))
| lsl Rx(result_reg), Rx(result_reg), TMP1
| // TODO: overflow may be missed
}