|
|
@ -434,7 +434,7 @@ void AxxEmitX64::EmitExclusiveWriteMemoryInline(AxxEmitContext& ctx, IR::Inst* i |
|
|
|
|
|
|
|
|
SharedLabel end = GenSharedLabel(); |
|
|
SharedLabel end = GenSharedLabel(); |
|
|
|
|
|
|
|
|
code.mov(tmp, mcl::bit_cast<u64>(GetExclusiveMonitorAddressPointer(conf.global_monitor, conf.processor_id))); |
|
|
|
|
|
|
|
|
code.mov(tmp, std::bit_cast<u64>(GetExclusiveMonitorAddressPointer(conf.global_monitor, conf.processor_id))); |
|
|
code.mov(status, u32(1)); |
|
|
code.mov(status, u32(1)); |
|
|
code.cmp(code.byte[code.ABI_JIT_PTR + offsetof(AxxJitState, exclusive_state)], u8(0)); |
|
|
code.cmp(code.byte[code.ABI_JIT_PTR + offsetof(AxxJitState, exclusive_state)], u8(0)); |
|
|
code.je(*end, code.T_NEAR); |
|
|
code.je(*end, code.T_NEAR); |
|
|
|