RFR: 8295282: Use Zicboz/cbo.zero to zero-out memory on RISC-V [v11]
Fei Yang
fyang at openjdk.org
Mon Oct 24 08:40:52 UTC 2022
On Mon, 24 Oct 2022 08:20:13 GMT, Ludovic Henry <luhenry at openjdk.org> wrote:
>> src/hotspot/cpu/riscv/stubGenerator_riscv.cpp line 671:
>>
>>> 669: // x29 < MacroAssembler::zero_words_block_size.
>>> 670:
>>> 671: address generate_zero_blocks() {
>>
>> Could you please correct the comment at line #669 please? It looks to me that x29 is bigger than MacroAssembler::zero_words_block_size.
>
> With the loop "Clear the remaining blocks", `x29` will be smaller than `MacroAssembler::zero_words_block_size`.
I see. It is describing the output instead of input here. Thanks.
-------------
PR: https://git.openjdk.org/jdk/pull/10718
More information about the hotspot-dev
mailing list