[riscv-port] RFR: 8278994: riscv: RVC support [v3]

Xiaolin Zheng xlinzheng at openjdk.java.net
Mon Dec 27 02:56:59 UTC 2021


> Hi team,
> 
> This patch includes the basic definition of the RVC instruction set and some cleanups. Tested a simple `test/hotspot/jtreg/compiler/` folder on qemu.
> 
> Using `<JAVA_HOME>/bin/java -XX:+UnlockExperimentalVMOptions -XX:+UseRVC -XX:+UnlockDiagnosticVMOptions -XX:+PrintAssembly -XX:PrintAssemblyOptions=no-aliases,numeric -XX:+PrintStubCode -XX:-TieredCompilation` could show RVC instructions.
> 
> Thanks,
> Xiaolin

Xiaolin Zheng has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains four commits:

 - Cover most RVC instructions by using CompressibleRegion to cover minimal functions in C2
 - Revise as proposed comments, including
   - Fix macros in assembler_riscv_c.hpp
   - Remove UncompressibleRegion
   - Modify comments
   - Change names: C-Ext to RVC
 - Enable RVC instructions (based on the basic patch)
 - RVC: basic instruction set

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

Changes: https://git.openjdk.java.net/riscv-port/pull/34/files
 Webrev: https://webrevs.openjdk.java.net/?repo=riscv-port&pr=34&range=02
  Stats: 1177 lines in 15 files changed: 1061 ins; 10 del; 106 mod
  Patch: https://git.openjdk.java.net/riscv-port/pull/34.diff
  Fetch: git fetch https://git.openjdk.java.net/riscv-port pull/34/head:pull/34

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


More information about the riscv-port-dev mailing list