mirror of
https://github.com/openjdk/jdk.git
synced 2026-07-24 01:49:20 +00:00
8388075: RISC-V: Auto-enable Zvbc extension features
Reviewed-by: fyang, dzhang
This commit is contained in:
parent
e065824fbd
commit
e487b0dd02
@ -118,7 +118,7 @@ define_pd_global(intx, InlineSmallCode, 1000);
|
||||
"Use Zihintpause instructions") \
|
||||
product(bool, UseZtso, false, EXPERIMENTAL, "Assume Ztso memory model") \
|
||||
product(bool, UseZvbb, false, DIAGNOSTIC, "Use Zvbb instructions") \
|
||||
product(bool, UseZvbc, false, EXPERIMENTAL, "Use Zvbc instructions") \
|
||||
product(bool, UseZvbc, false, DIAGNOSTIC, "Use Zvbc instructions") \
|
||||
product(bool, UseZvfh, false, DIAGNOSTIC, "Use Zvfh instructions") \
|
||||
product(bool, UseZvfhmin, false, DIAGNOSTIC, "Use Zvfhmin instructions") \
|
||||
product(bool, UseZvkg, false, DIAGNOSTIC, "Use Zvkg instructions") \
|
||||
|
||||
@ -237,10 +237,10 @@ void RiscvHwprobe::add_features_from_query_result() {
|
||||
if (is_set(RISCV_HWPROBE_KEY_IMA_EXT_0, RISCV_HWPROBE_EXT_ZTSO)) {
|
||||
VM_Version::ext_Ztso.enable_feature();
|
||||
}
|
||||
#endif
|
||||
if (is_set(RISCV_HWPROBE_KEY_IMA_EXT_0, RISCV_HWPROBE_EXT_ZVBC)) {
|
||||
VM_Version::ext_Zvbc.enable_feature();
|
||||
}
|
||||
#endif
|
||||
if (is_set(RISCV_HWPROBE_KEY_IMA_EXT_0, RISCV_HWPROBE_EXT_ZVBB)) {
|
||||
VM_Version::ext_Zvbb.enable_feature();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user