MCPcopy Create free account
hub / github.com/capstone-engine/capstone / DecodeQPRRegisterClass

Function DecodeQPRRegisterClass

arch/ARM/ARMDisassembler.c:1175–1189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1173};
1174
1175static DecodeStatus DecodeQPRRegisterClass(MCInst *Inst, unsigned RegNo,
1176 uint64_t Address, const void *Decoder)
1177{
1178 unsigned Register;
1179
1180 if (RegNo > 31 || (RegNo & 1) != 0)
1181 return MCDisassembler_Fail;
1182
1183 RegNo >>= 1;
1184
1185 Register = QPRDecoderTable[RegNo];
1186 MCOperand_CreateReg0(Inst, Register);
1187
1188 return MCDisassembler_Success;
1189}
1190
1191static const uint16_t DPairDecoderTable[] = {
1192 ARM_Q0, ARM_D1_D2, ARM_Q1, ARM_D3_D4, ARM_Q2, ARM_D5_D6,

Callers 4

DecodeVSHLMaxInstructionFunction · 0.85
DecodeVCVTQFunction · 0.85

Calls 1

MCOperand_CreateReg0Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…