| 409 | |
| 410 | |
| 411 | static void LoadExclusive( |
| 412 | LowLevelILFunction& il, |
| 413 | bool sx, |
| 414 | size_t size, |
| 415 | InstructionOperand& dst, |
| 416 | InstructionOperand& src, |
| 417 | size_t addr) |
| 418 | { |
| 419 | ExprId address = ReadAddress(il, src, addr); |
| 420 | size_t srcSize = get_register_size(src.reg); |
| 421 | |
| 422 | il.AddInstruction(il.Intrinsic({ }, |
| 423 | ARMV7_INTRIN_SET_EXCLUSIVE_MONITORS, |
| 424 | { address, il.Const(1, srcSize) })); |
| 425 | Load(il, sx, size, dst, src, addr); |
| 426 | } |
| 427 | |
| 428 | |
| 429 | static void LoadPair( |
no test coverage detected