| 1028 | }; |
| 1029 | |
| 1030 | static DecodeStatus DecodeGPRPairRegisterClass(MCInst *Inst, unsigned RegNo, |
| 1031 | uint64_t Address, const void *Decoder) |
| 1032 | { |
| 1033 | unsigned RegisterPair; |
| 1034 | DecodeStatus S = MCDisassembler_Success; |
| 1035 | |
| 1036 | if (RegNo > 13) |
| 1037 | return MCDisassembler_Fail; |
| 1038 | |
| 1039 | if ((RegNo & 1) || RegNo == 0xe) |
| 1040 | S = MCDisassembler_SoftFail; |
| 1041 | |
| 1042 | RegisterPair = GPRPairDecoderTable[RegNo / 2]; |
| 1043 | MCOperand_CreateReg0(Inst, RegisterPair); |
| 1044 | |
| 1045 | return S; |
| 1046 | } |
| 1047 | |
| 1048 | static DecodeStatus DecodetcGPRRegisterClass(MCInst *Inst, unsigned RegNo, |
| 1049 | uint64_t Address, const void *Decoder) |
no test coverage detected
searching dependent graphs…