| 1103 | }; |
| 1104 | |
| 1105 | static DecodeStatus DecodeSPRRegisterClass(MCInst *Inst, unsigned RegNo, |
| 1106 | uint64_t Address, const void *Decoder) |
| 1107 | { |
| 1108 | unsigned Register; |
| 1109 | |
| 1110 | if (RegNo > 31) |
| 1111 | return MCDisassembler_Fail; |
| 1112 | |
| 1113 | Register = SPRDecoderTable[RegNo]; |
| 1114 | MCOperand_CreateReg0(Inst, Register); |
| 1115 | |
| 1116 | return MCDisassembler_Success; |
| 1117 | } |
| 1118 | |
| 1119 | static DecodeStatus DecodeHPRRegisterClass(MCInst *Inst, unsigned RegNo, |
| 1120 | uint64_t Address, const void *Decoder) |
no test coverage detected
searching dependent graphs…