| 474 | } |
| 475 | |
| 476 | static void ByteReversedStore(LowLevelILFunction &il, struct cs_ppc* ppc, size_t size, size_t addressSize_a=4) |
| 477 | { |
| 478 | ExprId addr = operToIL(il, &ppc->operands[1], OTI_GPR0_ZERO, PPC_IL_EXTRA_DEFAULT, addressSize_a); // (rA|0) |
| 479 | addr = il.Add(addressSize_a, addr, operToIL_a(il, &ppc->operands[2], addressSize_a)); // (rA|0) + (rB) |
| 480 | ExprId val = ByteReverseRegister(il, ppc->operands[0].reg, size); // rS = swap(rS) |
| 481 | il.AddInstruction(il.Store(size, addr, val)); // [(rA|0) + (rB)] = swap(rS) |
| 482 | } |
| 483 | |
| 484 | static void loadstoreppcfs(LowLevelILFunction& il, |
| 485 | int load_store_sz, |
nothing calls this directly
no test coverage detected