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

Xiaolin Zheng xlinzheng at openjdk.java.net
Thu Jan 6 08:12:11 UTC 2022


> 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 incrementally with five additional commits since the last revision:

 - Manually inline all macros into functions as discussions
 - Remove assembler_riscv_c.hpp as discussions
 - Remove COMPRESSIBLE & NOT_COMPRESSIBLE macros by adding one layer as discussions
 - Fix remaining CEXT -> RVC
 - Remove Alignment-related changes as discussions

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

Changes:
  - all: https://git.openjdk.java.net/riscv-port/pull/34/files
  - new: https://git.openjdk.java.net/riscv-port/pull/34/files/84de97e9..e0de8c92

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=riscv-port&pr=34&range=05
 - incr: https://webrevs.openjdk.java.net/?repo=riscv-port&pr=34&range=04-05

  Stats: 2004 lines in 5 files changed: 1016 ins; 902 del; 86 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