RFR: 8296602: RISC-V: improve performance of copy_memory stub [v2]

Vladimir Kempik vkempik at openjdk.org
Thu Nov 17 08:21:41 UTC 2022


On Thu, 17 Nov 2022 07:28:51 GMT, Fei Yang <fyang at openjdk.org> wrote:

>> Vladimir Kempik has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   remove excessive comments
>
> src/hotspot/cpu/riscv/stubGenerator_riscv.cpp line 1059:
> 
>> 1057:       __ addi(dst, dst, wordSize*4);
>> 1058:     }
>> 1059:     __ addi(tmp4, cnt, -(32+wordSize*4));
> 
> Can we use 'tmp' instead of 'tmp4' here? Then it will be consistent in register usage with other places where we check 'cnt'.

done, here and few other places

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

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


More information about the hotspot-compiler-dev mailing list