RFR: 8295948: Support for Zicbop/prefetch instructions on RISC-V [v6]

Ludovic Henry luhenry at openjdk.org
Mon Nov 7 07:30:45 UTC 2022


On Mon, 7 Nov 2022 03:44:20 GMT, Yadong Wang <yadongwang at openjdk.org> wrote:

>> Ludovic Henry has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   fixup! review
>
> src/hotspot/cpu/riscv/riscv.ad line 5202:
> 
>> 5200:       __ addi(t0, as_Register($mem$$base), $mem$$disp);
>> 5201:       __ prefetch_w(t0, 0);
>> 5202:     }
> 
> It'd better to generate the case that handles the imm not fit for instructions like prefetch.w or addi.

I'm not sure I understand what you're suggesting.

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

PR: https://git.openjdk.org/jdk/pull/10884


More information about the hotspot-dev mailing list