8304293: RISC-V: JDK-8276799 missed atomic intrinsic support for C1
Reviewed-by: fyang, yzhu
This commit is contained in:
parent
e339e183c1
commit
c09f83ec25
@ -35,6 +35,12 @@ const char* VM_Version::_vm_mode = "";
|
|||||||
uint32_t VM_Version::_initial_vector_length = 0;
|
uint32_t VM_Version::_initial_vector_length = 0;
|
||||||
|
|
||||||
void VM_Version::initialize() {
|
void VM_Version::initialize() {
|
||||||
|
_supports_cx8 = true;
|
||||||
|
_supports_atomic_getset4 = true;
|
||||||
|
_supports_atomic_getadd4 = true;
|
||||||
|
_supports_atomic_getset8 = true;
|
||||||
|
_supports_atomic_getadd8 = true;
|
||||||
|
|
||||||
get_os_cpu_info();
|
get_os_cpu_info();
|
||||||
|
|
||||||
// check if satp.mode is supported, currently supports up to SV48(RV64)
|
// check if satp.mode is supported, currently supports up to SV48(RV64)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user