- 
    Enhancement 
- 
    Resolution: Fixed
- 
     P4 P4
- 
    21
- 
        b10
- 
        riscv
- 
        linux
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-8311754 | 17.0.9 | Fei Yang | P4 | Resolved | Fixed | b01 | 
                    Because Klass::_lh_neutral_value is always 0, we can use 'bgez' instead of the combination of 'mv' and 'bge' here for riscv. This could help save one instruction.
s390 port did similar optimization, refer to src/hotspot/cpu/s390/c1_LIRAssembler_s390.cpp.
s390 port did similar optimization, refer to src/hotspot/cpu/s390/c1_LIRAssembler_s390.cpp.
- backported by
- 
                    JDK-8311754 RISC-V: Use bgez instruction in arraycopy_simple_check when possible -           
- Resolved
 
-         
- links to
- 
                     Commit
        openjdk/jdk17u-dev/966fc82d Commit
        openjdk/jdk17u-dev/966fc82d
- 
                     Commit
        openjdk/jdk/99b6c0eb Commit
        openjdk/jdk/99b6c0eb
- 
                     Commit
        openjdk/riscv-port-jdk17u/b324ba6d Commit
        openjdk/riscv-port-jdk17u/b324ba6d
- 
                     Review
        openjdk/jdk17u-dev/1427 Review
        openjdk/jdk17u-dev/1427
- 
                     Review
        openjdk/jdk/12525 Review
        openjdk/jdk/12525
- 
                     Review
        openjdk/riscv-port-jdk17u/64 Review
        openjdk/riscv-port-jdk17u/64
             (2 links to)