1
0
mirror of https://github.com/php/php-src.git synced 2026-04-01 05:02:27 +02:00

JIT/AArch64: Use LSL instruction (DynAsm was fixed by

2963214c15)
This commit is contained in:
Dmitry Stogov
2021-06-07 11:24:34 +03:00
parent c995a359ff
commit 4e0165e779

View File

@@ -4571,9 +4571,7 @@ static int zend_jit_long_math_helper(dasm_State **Dst,
| add Rx(result_reg), Rx(Z_REG(op1_addr)), Rx(Z_REG(op1_addr))
} else {
| GET_ZVAL_LVAL result_reg, op1_addr, TMP1
| // TODO: DynAsm can't encode "lsl/ubfm", use "add+lsl" instead
| //lsl Rx(result_reg), Rx(result_reg), #op2_lval
| add Rx(result_reg), xzr, Rx(result_reg), lsl #op2_lval
| lsl Rx(result_reg), Rx(result_reg), #op2_lval
}
} else {
zend_reg op2_reg;