RFR: 8318217: RISC-V: C2 VectorizedHashCode [v3]
Yuri Gaevsky
duke at openjdk.org
Fri Nov 17 18:37:06 UTC 2023
On Fri, 17 Nov 2023 11:24:30 GMT, Yuri Gaevsky <duke at openjdk.org> wrote:
>> src/hotspot/cpu/riscv/c2_MacroAssembler_riscv.cpp line 1492:
>>
>>> 1490: beqz(cnt, DONE);
>>> 1491:
>>> 1492: lw(pow31_2, ExternalAddress(StubRoutines::riscv::arrays_hashcode_powers_of_31()
>>
>> Now you don't need this `lw` anymore, as 961 will fit in an immediate, so `mv pow31_2, 961` should be fine.
>
> Agreed.
Done.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16629#discussion_r1397723846
More information about the hotspot-dev
mailing list