Browse Source

[dynarmic] replace mcl::bit_cast with std one

Signed-off-by: lizzie <lizzie@eden-emu.dev>
pull/2866/head
lizzie 3 months ago
parent
commit
2bb64bdfe0
No known key found for this signature in database GPG Key ID: 287378CADCAB13
  1. 2
      src/dynarmic/src/dynarmic/backend/x64/emit_x64_memory.cpp.inc

2
src/dynarmic/src/dynarmic/backend/x64/emit_x64_memory.cpp.inc

@ -434,7 +434,7 @@ void AxxEmitX64::EmitExclusiveWriteMemoryInline(AxxEmitContext& ctx, IR::Inst* i
code.movzx(tmp.cvt32(), code.byte[code.ABI_JIT_PTR + offsetof(AxxJitState, exclusive_state)]);
code.test(tmp.cvt8(), tmp.cvt8());
code.je(*end, code.T_NEAR);
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.cmp(qword[tmp], vaddr);
code.jne(*end, code.T_NEAR);

Loading…
Cancel
Save