| 2327 | } |
| 2328 | |
| 2329 | static DecodeStatus DecodeTSTInstruction(MCInst *Inst, unsigned Insn, |
| 2330 | uint64_t Address, const void *Decoder) |
| 2331 | { |
| 2332 | DecodeStatus S = MCDisassembler_Success; |
| 2333 | unsigned Pred = fieldFromInstruction_4(Insn, 28, 4); |
| 2334 | unsigned Rn = fieldFromInstruction_4(Insn, 16, 4); |
| 2335 | unsigned Rm = fieldFromInstruction_4(Insn, 0, 4); |
| 2336 | |
| 2337 | if (Pred == 0xF) |
| 2338 | return DecodeSETPANInstruction(Inst, Insn, Address, Decoder); |
| 2339 | |
| 2340 | if (!Check(&S, DecodeGPRRegisterClass(Inst, Rn, Address, Decoder))) |
| 2341 | return MCDisassembler_Fail; |
| 2342 | |
| 2343 | if (!Check(&S, DecodeGPRRegisterClass(Inst, Rm, Address, Decoder))) |
| 2344 | return MCDisassembler_Fail; |
| 2345 | |
| 2346 | if (!Check(&S, DecodePredicateOperand(Inst, Pred, Address, Decoder))) |
| 2347 | return MCDisassembler_Fail; |
| 2348 | |
| 2349 | return S; |
| 2350 | } |
| 2351 | |
| 2352 | static DecodeStatus DecodeSETPANInstruction(MCInst *Inst, unsigned Insn, |
| 2353 | uint64_t Address, const void *Decoder) |
nothing calls this directly
no test coverage detected
searching dependent graphs…