MCPcopy Create free account
hub / github.com/FEX-Emu/FEX / HandleCASAL

Function HandleCASAL

FEXCore/Source/Utils/ArchHelpers/Arm64.cpp:1404–1411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1402}
1403
1404static bool HandleCASAL(uint64_t* GPRs, uint32_t Instr, uint32_t* StrictSplitLockMutex) {
1405 uint32_t Size = 1 << (Instr >> 30);
1406
1407 uint32_t DesiredReg = Instr & 0b11111;
1408 uint32_t ExpectedReg = (Instr >> 16) & 0b11111;
1409 uint32_t AddressReg = (Instr >> 5) & 0b11111;
1410 return RunCASAL(GPRs, Size, DesiredReg, ExpectedReg, AddressReg, StrictSplitLockMutex);
1411}
1412
1413static bool HandleAtomicMemOp(uint32_t Instr, uint64_t* GPRs, uint32_t* StrictSplitLockMutex) {
1414 uint32_t Size = 1 << (Instr >> 30);

Callers 1

HandleUnalignedAccessFunction · 0.85

Calls 1

RunCASALFunction · 0.85

Tested by

no test coverage detected