MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / casal

Method casal

source/emulation/cpu/armv8/jitArmV8CodeGen.cpp:5794–5808  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5792}
5793
5794void JitArmV8CodeGen::casal(JitWidth width, asmjit::a64::Gp src, asmjit::a64::Gp dst, Mem mem) {
5795 switch (width) {
5796 case JitWidth::b8:
5797 compiler.casalb(src, dst, mem);
5798 break;
5799 case JitWidth::b16:
5800 compiler.casalh(src, dst, mem);
5801 break;
5802 case JitWidth::b32:
5803 compiler.casal(src, dst, mem);
5804 break;
5805 default:
5806 kpanic("JitArmV8CodeGen::casal");
5807 }
5808}
5809
5810void JitArmV8CodeGen::dynamic_xchge32r32_lock(DecodedOp* op) {
5811 JitCodeGen::write(JitWidth::b32, calculateEaa(op), nullptr, [op, this](MemPtr mem) {

Callers 2

dynamic_cmpxchg_lockMethod · 0.80

Calls 1

kpanicFunction · 0.85

Tested by

no test coverage detected