| 459 | |
| 460 | |
| 461 | static void LoadPairExclusive( |
| 462 | Architecture* arch, |
| 463 | LowLevelILFunction& il, |
| 464 | InstructionOperand& dst1, |
| 465 | InstructionOperand& dst2, |
| 466 | InstructionOperand& src, |
| 467 | size_t addr) |
| 468 | { |
| 469 | ExprId address = ReadAddress(il, src, addr); |
| 470 | size_t srcSize = get_register_size(src.reg); |
| 471 | |
| 472 | il.AddInstruction(il.Intrinsic({ }, |
| 473 | ARMV7_INTRIN_SET_EXCLUSIVE_MONITORS, |
| 474 | { address, il.Const(1, srcSize) })); |
| 475 | LoadPair(arch, il, dst1, dst2, src, addr); |
| 476 | } |
| 477 | |
| 478 | |
| 479 | static void Store( |
no test coverage detected