| 1079 | } |
| 1080 | |
| 1081 | static DecodeStatus DecoderGPRRegisterClass(MCInst *Inst, unsigned RegNo, |
| 1082 | uint64_t Address, const void *Decoder) |
| 1083 | { |
| 1084 | DecodeStatus S = MCDisassembler_Success; |
| 1085 | |
| 1086 | if ((RegNo == 13 && !ARM_getFeatureBits(Inst->csh->mode, ARM_HasV8Ops)) || RegNo == 15) |
| 1087 | S = MCDisassembler_SoftFail; |
| 1088 | |
| 1089 | Check(&S, DecodeGPRRegisterClass(Inst, RegNo, Address, Decoder)); |
| 1090 | |
| 1091 | return S; |
| 1092 | } |
| 1093 | |
| 1094 | static const uint16_t SPRDecoderTable[] = { |
| 1095 | ARM_S0, ARM_S1, ARM_S2, ARM_S3, |
no test coverage detected
searching dependent graphs…