Skip to content

Commit c09f83e

Browse files
feilongjiangRealFYang
authored andcommitted
8304293: RISC-V: JDK-8276799 missed atomic intrinsic support for C1
Reviewed-by: fyang, yzhu
1 parent e339e18 commit c09f83e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/hotspot/cpu/riscv/vm_version_riscv.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ const char* VM_Version::_vm_mode = "";
3535
uint32_t VM_Version::_initial_vector_length = 0;
3636

3737
void VM_Version::initialize() {
38+
_supports_cx8 = true;
39+
_supports_atomic_getset4 = true;
40+
_supports_atomic_getadd4 = true;
41+
_supports_atomic_getset8 = true;
42+
_supports_atomic_getadd8 = true;
43+
3844
get_os_cpu_info();
3945

4046
// check if satp.mode is supported, currently supports up to SV48(RV64)

0 commit comments

Comments
 (0)