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

Fei Yang fyang at openjdk.java.net
Thu Jan 6 09:58:33 UTC 2022


On Thu, 6 Jan 2022 09:30:19 GMT, Xiaolin Zheng <xlinzheng at openjdk.org> wrote:

>> 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 one additional commit since the last revision:
> 
>   Remove remaining macros as discussions

src/hotspot/cpu/riscv/globals_riscv.hpp line 95:

> 93:   product(bool, UseRVV, false, EXPERIMENTAL, "Use RVV instructions")             \
> 94:   product(bool, UseRVB, false, EXPERIMENTAL, "Use RVB instructions")             \
> 95:   product(bool, UseRVC, false, EXPERIMENTAL, "Use RVC instructions")             \

redundant '' at end of line, we should remove it.

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

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


More information about the riscv-port-dev mailing list