RFR: 8367048: RISC-V: Correct pipeline descriptions of the architecture

Fei Yang fyang at openjdk.org
Mon Sep 8 06:39:12 UTC 2025


On Mon, 8 Sep 2025 05:13:32 GMT, Dingli Zhang <dzhang at openjdk.org> wrote:

> Hi,
> Can you help to review this patch? Thanks!
> 
> This patch updates the RISC-V pipeline attributes to variable_size_instructions to properly account for the 2-byte compressed instructions from the C extension. 
> Furthermore, it increases the max_instructions_per_bundle to 4 and adjusts the instruction_unit_size to match 4-issue RISC-V hardware like the UR-CP100.
> 
> ### Test
> - [x] Run tier1 and tier2 on sg2042

Looks good. Seems a leftover when adding support for compressed instructions.

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

Marked as reviewed by fyang (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/27134#pullrequestreview-3195142444


More information about the hotspot-compiler-dev mailing list