RFR: 8318217: RISC-V: C2 VectorizedHashCode [v2]

Yuri Gaevsky duke at openjdk.org
Wed Nov 15 16:07:31 UTC 2023


On Tue, 14 Nov 2023 15:41:04 GMT, Hamlin Li <mli at openjdk.org> wrote:

>> Yuri Gaevsky has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Minor cosmetic fixes.
>
> src/hotspot/cpu/riscv/c2_MacroAssembler_riscv.cpp line 1540:
> 
>> 1538:   addw(result, result, tmp1); // result = result + ary[i]
>> 1539:   subw(cnt, cnt, 1);
>> 1540:   add(ary, ary, elsize);
> 
> Similar comment for cnt and ary as chunk and ary above.

As above, please advice how to do that. IIUC, that's possible with INDEX-REG addressing which is absent in RISC-V. :-(

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/16629#discussion_r1394424021


More information about the hotspot-dev mailing list