RFR: 8302289: RISC-V: Use bgez instruction in arraycopy_simple_check when possible

Gui Cao gcao at openjdk.org
Mon Feb 13 09:14:29 UTC 2023


On Mon, 13 Feb 2023 03:05:37 GMT, Gui Cao <gcao at openjdk.org> wrote:

> HI,
> 
> Refer to src/hotspot/cpu/s390/c1_LIRAssembler_s390.cpp, because Klass::_lh_neutral_value is always 0, we can use bgez here instead of the combination of mv and bge.
> 
> Please take a look and have some reviews. Thanks a lot.
> ## Testing:
> - all tier1 on unmatched board without new failures

Thanks all for the review.

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

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


More information about the hotspot-compiler-dev mailing list