[riscv-port] RFR: 8277440: riscv: Move UseVExt from product to experimental

Yadong Wang yadongwang at openjdk.java.net
Fri Nov 19 08:54:56 UTC 2021

On Fri, 19 Nov 2021 08:36:31 GMT, Yanhong Zhu <yzhu at openjdk.org> wrote:

> Currently, riscv port supports vector operations which is fully compatible with vector extension 1.0 spec. And we have passed tier 1-4 tests with option "-XX:+UseVExt" with QEMU.
> Due to lack of native environment which supports vector extension 1.0, we cannot carry out tests for vector operations on real hardware. So we decided to move port-specific option UseVExt from product to experimental for now, and rename UseVExt to UseRVV.
> This also fixes some typos in comments, and  removes unused v extension instructions.
> The test results on HiFive Unleashed board (rv64imafdc) and NeZha D1 board (rv64imafdcvu) are in line with expectations.

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

> 89:           "Extend i for r and o for w in the pred/succ flags of fence;"          \
> 90:           "Extend fence.i to fence.i + fence.")                                  \
> 91:   product(bool, UseRVV, false, "Use RVV instructions")                           \

Is RVV still a product flag?


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

More information about the riscv-port-dev mailing list