There are two instructs for DecodeNKlass in C2, and the difference is only that which temporary register operand is used by them, xheapbase, t0 or t1. It's too complicated and the effect is almost invisible. So we just simplify the pattern by using a temporary register from the register allocation.
Yadong Wang has updated the pull request incrementally with one additional commit since the last revision: 8278192: riscv: remove unnecessary instruct of DecodeNKlass in C2 (2) ------------- Changes: - all: https://git.openjdk.java.net/riscv-port/pull/22/files - new: https://git.openjdk.java.net/riscv-port/pull/22/files/d22e7729..cffa3d06 Webrevs: - full: https://webrevs.openjdk.java.net/?repo=riscv-port&pr=22&range=01 - incr: https://webrevs.openjdk.java.net/?repo=riscv-port&pr=22&range=00-01 Stats: 18 lines in 2 files changed: 0 ins; 18 del; 0 mod Patch: https://git.openjdk.java.net/riscv-port/pull/22.diff Fetch: git fetch https://git.openjdk.java.net/riscv-port pull/22/head:pull/22 PR: https://git.openjdk.java.net/riscv-port/pull/22