diff --git a/src/hotspot/cpu/riscv/assembler_riscv.hpp b/src/hotspot/cpu/riscv/assembler_riscv.hpp index 03bb0b9ff85..1b077c91a8c 100644 --- a/src/hotspot/cpu/riscv/assembler_riscv.hpp +++ b/src/hotspot/cpu/riscv/assembler_riscv.hpp @@ -2715,7 +2715,6 @@ enum Nf { INSN(minu, 0b0110011, 0b101, 0b0000101); INSN(clmul, 0b0110011, 0b001, 0b0000101); INSN(clmulh, 0b0110011, 0b011, 0b0000101); - INSN(clmulr, 0b0110011, 0b010, 0b0000101); #undef INSN diff --git a/src/hotspot/cpu/riscv/vm_version_riscv.hpp b/src/hotspot/cpu/riscv/vm_version_riscv.hpp index 38de795ebd1..4996823e2ca 100644 --- a/src/hotspot/cpu/riscv/vm_version_riscv.hpp +++ b/src/hotspot/cpu/riscv/vm_version_riscv.hpp @@ -434,7 +434,6 @@ private: RV_ENABLE_EXTENSION(UseRVV) \ RV_ENABLE_EXTENSION(UseZba) \ RV_ENABLE_EXTENSION(UseZbb) \ - RV_ENABLE_EXTENSION(UseZbc) \ RV_ENABLE_EXTENSION(UseZbs) \ RV_ENABLE_EXTENSION(UseZcb) \ RV_ENABLE_EXTENSION(UseZfa) \ diff --git a/src/hotspot/os_cpu/linux_riscv/riscv_hwprobe.cpp b/src/hotspot/os_cpu/linux_riscv/riscv_hwprobe.cpp index 94db4e27b87..0d299c46db2 100644 --- a/src/hotspot/os_cpu/linux_riscv/riscv_hwprobe.cpp +++ b/src/hotspot/os_cpu/linux_riscv/riscv_hwprobe.cpp @@ -207,10 +207,10 @@ void RiscvHwprobe::add_features_from_query_result() { if (is_set(RISCV_HWPROBE_KEY_IMA_EXT_0, RISCV_HWPROBE_EXT_ZBB)) { VM_Version::ext_Zbb.enable_feature(); } +#ifndef PRODUCT if (is_set(RISCV_HWPROBE_KEY_IMA_EXT_0, RISCV_HWPROBE_EXT_ZBC)) { VM_Version::ext_Zbc.enable_feature(); } -#ifndef PRODUCT if (is_set(RISCV_HWPROBE_KEY_IMA_EXT_0, RISCV_HWPROBE_EXT_ZBKB)) { VM_Version::ext_Zbkb.enable_feature(); }