| 1402 | } |
| 1403 | |
| 1404 | static 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 | |
| 1413 | static bool HandleAtomicMemOp(uint32_t Instr, uint64_t* GPRs, uint32_t* StrictSplitLockMutex) { |
| 1414 | uint32_t Size = 1 << (Instr >> 30); |
no test coverage detected