| 5248 | } |
| 5249 | |
| 5250 | static DecodeStatus DecodeVMOVSRR(MCInst *Inst, unsigned Insn, |
| 5251 | uint64_t Address, const void *Decoder) |
| 5252 | { |
| 5253 | DecodeStatus S = MCDisassembler_Success; |
| 5254 | unsigned Rt = fieldFromInstruction_4(Insn, 12, 4); |
| 5255 | unsigned Rt2 = fieldFromInstruction_4(Insn, 16, 4); |
| 5256 | unsigned Rm = fieldFromInstruction_4(Insn, 5, 1); |
| 5257 | unsigned pred = fieldFromInstruction_4(Insn, 28, 4); |
| 5258 | Rm |= fieldFromInstruction_4(Insn, 0, 4) << 1; |
| 5259 | |
| 5260 | if (Rt == 0xF || Rt2 == 0xF || Rm == 0x1F) |
| 5261 | S = MCDisassembler_SoftFail; |
| 5262 | |
| 5263 | if (!Check(&S, DecodeSPRRegisterClass(Inst, Rm , Address, Decoder))) |
| 5264 | return MCDisassembler_Fail; |
| 5265 | |
| 5266 | if (!Check(&S, DecodeSPRRegisterClass(Inst, Rm + 1, Address, Decoder))) |
| 5267 | return MCDisassembler_Fail; |
| 5268 | |
| 5269 | if (!Check(&S, DecodeGPRRegisterClass(Inst, Rt , Address, Decoder))) |
| 5270 | return MCDisassembler_Fail; |
| 5271 | |
| 5272 | if (!Check(&S, DecodeGPRRegisterClass(Inst, Rt2 , Address, Decoder))) |
| 5273 | return MCDisassembler_Fail; |
| 5274 | |
| 5275 | if (!Check(&S, DecodePredicateOperand(Inst, pred, Address, Decoder))) |
| 5276 | return MCDisassembler_Fail; |
| 5277 | |
| 5278 | return S; |
| 5279 | } |
| 5280 | |
| 5281 | static DecodeStatus DecodeVMOVRRS(MCInst *Inst, unsigned Insn, |
| 5282 | uint64_t Address, const void *Decoder) |
nothing calls this directly
no test coverage detected
searching dependent graphs…