Skip to content

Commit

Permalink
8333245: RISC-V: UseRVV option can't be enabled after JDK-8316859
Browse files Browse the repository at this point in the history
  • Loading branch information
zifeihan committed May 30, 2024
1 parent 286cc16 commit e547a25
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/hotspot/cpu/riscv/vm_version_riscv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,13 +216,8 @@ void VM_Version::initialize() {
}

if (UseRVV) {
if (!ext_V.enabled()) {
warning("RVV is not supported on this CPU");
FLAG_SET_DEFAULT(UseRVV, false);
} else {
// read vector length from vector CSR vlenb
_initial_vector_length = cpu_vector_length();
}
// read vector length from vector CSR vlenb
_initial_vector_length = cpu_vector_length();
}

#ifdef COMPILER2
Expand Down

0 comments on commit e547a25

Please sign in to comment.