RFR: 8302289: RISC-V: Use bgez instruction in arraycopy_simple_check when possible
Gui Cao
gcao at openjdk.org
Mon Feb 13 03:12:06 UTC 2023
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.
## Testing:
- all tier1 on unmatched board without new failures
-------------
Commit messages:
- Merge branch 'master' into JDK-8302289
- Merge branch 'master' into optimize_bgez
- Optimize code with bgez
Changes: https://git.openjdk.org/jdk/pull/12525/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12525&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8302289
Stats: 5 lines in 1 file changed: 1 ins; 2 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/12525.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/12525/head:pull/12525
PR: https://git.openjdk.org/jdk/pull/12525
More information about the hotspot-compiler-dev
mailing list