[riscv-port] Integrated: 8280423: riscv: Unnecessary i2l conversion in LIRGenerator::emit_array_address
Feilong Jiang
fjiang at openjdk.java.net
Fri Jan 21 08:36:23 UTC 2022
On Fri, 21 Jan 2022 07:08:50 GMT, Feilong Jiang <fjiang at openjdk.org> wrote:
> On RISC-V, operands with `T_INT` type are sign-extended implicitly when defined, so i2l conversion is unnecessary.
> This fix is similar with JDK-8278417, which calls generate_address directly to generate address for array access.
>
> All jtregs were tested on QEMU without new failures.
This pull request has now been integrated.
Changeset: c9b0030b
Author: Feilong Jiang <fjiang at openjdk.org>
Committer: Yanhong Zhu <yzhu at openjdk.org>
URL: https://git.openjdk.java.net/riscv-port/commit/c9b0030b26040fa0934ca58e8b92cc6781148af2
Stats: 18 lines in 1 file changed: 3 ins; 14 del; 1 mod
8280423: riscv: Unnecessary i2l conversion in LIRGenerator::emit_array_address
Reviewed-by: fyang, yzhu
-------------
PR: https://git.openjdk.java.net/riscv-port/pull/51
More information about the riscv-port-dev
mailing list