[riscv-port] Integrated: 8278192: riscv: remove unnecessary instruct of DecodeNKlass in C2

Yadong Wang yadongwang at openjdk.java.net
Tue Dec 7 01:45:39 UTC 2021


On Fri, 3 Dec 2021 08:20:17 GMT, Yadong Wang <yadongwang at openjdk.org> wrote:

> 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.
> Hotspot and jdk tier1 passed on the unmatched board. And all jtreg tests were tested on qemu without new failures.

This pull request has now been integrated.

Changeset: 63b0d52d
Author:    Yadong Wang <yadongwang at openjdk.org>
Committer: Fei Yang <fyang at openjdk.org>
URL:       https://git.openjdk.java.net/riscv-port/commit/63b0d52d287cb2a8f3bb1aa3a7eeff89645b9615
Stats:     69 lines in 4 files changed: 3 ins; 48 del; 18 mod

8278192: riscv: remove unnecessary instruct of DecodeNKlass in C2

Reviewed-by: fyang

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

PR: https://git.openjdk.java.net/riscv-port/pull/22


More information about the riscv-port-dev mailing list