Lines Matching refs:Insn
192 static DecodeStatus DecodeBitfieldMaskOperand(MCInst &Inst, unsigned Insn,
194 static DecodeStatus DecodeCopMemInstruction(MCInst &Inst, unsigned Insn,
197 unsigned Insn,
200 static DecodeStatus DecodeSORegMemOperand(MCInst &Inst, unsigned Insn,
202 static DecodeStatus DecodeAddrMode3Instruction(MCInst &Inst,unsigned Insn,
204 static DecodeStatus DecodeSORegImmOperand(MCInst &Inst, unsigned Insn,
206 static DecodeStatus DecodeSORegRegOperand(MCInst &Inst, unsigned Insn,
210 unsigned Insn,
213 static DecodeStatus DecodeT2MOVTWInstruction(MCInst &Inst, unsigned Insn,
215 static DecodeStatus DecodeArmMOVTWInstruction(MCInst &Inst, unsigned Insn,
217 static DecodeStatus DecodeSMLAInstruction(MCInst &Inst, unsigned Insn,
219 static DecodeStatus DecodeHINTInstruction(MCInst &Inst, unsigned Insn,
221 static DecodeStatus DecodeCPSInstruction(MCInst &Inst, unsigned Insn,
223 static DecodeStatus DecodeTSTInstruction(MCInst &Inst, unsigned Insn,
225 static DecodeStatus DecodeSETPANInstruction(MCInst &Inst, unsigned Insn,
227 static DecodeStatus DecodeT2CPSInstruction(MCInst &Inst, unsigned Insn,
237 static DecodeStatus DecodeT2BInstruction(MCInst &Inst, unsigned Insn,
239 static DecodeStatus DecodeBranchImmInstruction(MCInst &Inst,unsigned Insn,
275 static DecodeStatus DecodeTBLInstruction(MCInst &Inst, unsigned Insn,
277 static DecodeStatus DecodePostIdxReg(MCInst &Inst, unsigned Insn,
279 static DecodeStatus DecodeCoprocessor(MCInst &Inst, unsigned Insn,
281 static DecodeStatus DecodeMemBarrierOption(MCInst &Inst, unsigned Insn,
283 static DecodeStatus DecodeInstSyncBarrierOption(MCInst &Inst, unsigned Insn,
285 static DecodeStatus DecodeMSRMask(MCInst &Inst, unsigned Insn,
287 static DecodeStatus DecodeBankedReg(MCInst &Inst, unsigned Insn,
289 static DecodeStatus DecodeDoubleRegLoad(MCInst &Inst, unsigned Insn,
291 static DecodeStatus DecodeDoubleRegStore(MCInst &Inst, unsigned Insn,
293 static DecodeStatus DecodeLDRPreImm(MCInst &Inst, unsigned Insn,
295 static DecodeStatus DecodeLDRPreReg(MCInst &Inst, unsigned Insn,
297 static DecodeStatus DecodeSTRPreImm(MCInst &Inst, unsigned Insn,
299 static DecodeStatus DecodeSTRPreReg(MCInst &Inst, unsigned Insn,
301 static DecodeStatus DecodeVLD1LN(MCInst &Inst, unsigned Insn,
303 static DecodeStatus DecodeVLD2LN(MCInst &Inst, unsigned Insn,
305 static DecodeStatus DecodeVLD3LN(MCInst &Inst, unsigned Insn,
307 static DecodeStatus DecodeVLD4LN(MCInst &Inst, unsigned Insn,
309 static DecodeStatus DecodeVST1LN(MCInst &Inst, unsigned Insn,
311 static DecodeStatus DecodeVST2LN(MCInst &Inst, unsigned Insn,
313 static DecodeStatus DecodeVST3LN(MCInst &Inst, unsigned Insn,
315 static DecodeStatus DecodeVST4LN(MCInst &Inst, unsigned Insn,
317 static DecodeStatus DecodeVMOVSRR(MCInst &Inst, unsigned Insn,
319 static DecodeStatus DecodeVMOVRRS(MCInst &Inst, unsigned Insn,
321 static DecodeStatus DecodeSwap(MCInst &Inst, unsigned Insn,
323 static DecodeStatus DecodeVCVTD(MCInst &Inst, unsigned Insn,
325 static DecodeStatus DecodeVCVTQ(MCInst &Inst, unsigned Insn,
332 static DecodeStatus DecodeThumbAddSpecialReg(MCInst &Inst, uint16_t Insn,
352 static DecodeStatus DecodeT2LoadImm8(MCInst &Inst, unsigned Insn,
354 static DecodeStatus DecodeT2LoadImm12(MCInst &Inst, unsigned Insn,
356 static DecodeStatus DecodeT2LoadT(MCInst &Inst, unsigned Insn,
358 static DecodeStatus DecodeT2LoadLabel(MCInst &Inst, unsigned Insn,
372 static DecodeStatus DecodeThumbAddSPReg(MCInst &Inst, uint16_t Insn,
374 static DecodeStatus DecodeThumbCPS(MCInst &Inst, uint16_t Insn,
376 static DecodeStatus DecodeQADDInstruction(MCInst &Inst, unsigned Insn,
378 static DecodeStatus DecodeThumbBLXOffset(MCInst &Inst, unsigned Insn,
394 static DecodeStatus DecodeT2LDRDPreInstruction(MCInst &Inst,unsigned Insn,
396 static DecodeStatus DecodeT2STRDPreInstruction(MCInst &Inst,unsigned Insn,
430 uint32_t Insn, in checkDecodedInstruction() argument
436 uint32_t Cond = (Insn >> 28) & 0xF; in checkDecodedInstruction()
464 uint32_t Insn = in getInstruction() local
469 decodeInstruction(DecoderTableARM32, MI, Insn, Address, this, STI); in getInstruction()
472 return checkDecodedInstruction(MI, Size, Address, OS, CS, Insn, Result); in getInstruction()
488 Result = decodeInstruction(Table.P, MI, Insn, Address, this, STI); in getInstruction()
500 decodeInstruction(DecoderTableCoProc32, MI, Insn, Address, this, STI); in getInstruction()
503 return checkDecodedInstruction(MI, Size, Address, OS, CS, Insn, Result); in getInstruction()
1320 static DecodeStatus DecodeCopMemInstruction(MCInst &Inst, unsigned Insn, in DecodeCopMemInstruction() argument
1324 unsigned pred = fieldFromInstruction(Insn, 28, 4); in DecodeCopMemInstruction()
1325 unsigned CRd = fieldFromInstruction(Insn, 12, 4); in DecodeCopMemInstruction()
1326 unsigned coproc = fieldFromInstruction(Insn, 8, 4); in DecodeCopMemInstruction()
1327 unsigned imm = fieldFromInstruction(Insn, 0, 8); in DecodeCopMemInstruction()
1328 unsigned Rn = fieldFromInstruction(Insn, 16, 4); in DecodeCopMemInstruction()
1329 unsigned U = fieldFromInstruction(Insn, 23, 1); in DecodeCopMemInstruction()
1470 DecodeAddrMode2IdxInstruction(MCInst &Inst, unsigned Insn, in DecodeAddrMode2IdxInstruction() argument
1474 unsigned Rn = fieldFromInstruction(Insn, 16, 4); in DecodeAddrMode2IdxInstruction()
1475 unsigned Rt = fieldFromInstruction(Insn, 12, 4); in DecodeAddrMode2IdxInstruction()
1476 unsigned Rm = fieldFromInstruction(Insn, 0, 4); in DecodeAddrMode2IdxInstruction()
1477 unsigned imm = fieldFromInstruction(Insn, 0, 12); in DecodeAddrMode2IdxInstruction()
1478 unsigned pred = fieldFromInstruction(Insn, 28, 4); in DecodeAddrMode2IdxInstruction()
1479 unsigned reg = fieldFromInstruction(Insn, 25, 1); in DecodeAddrMode2IdxInstruction()
1480 unsigned P = fieldFromInstruction(Insn, 24, 1); in DecodeAddrMode2IdxInstruction()
1481 unsigned W = fieldFromInstruction(Insn, 21, 1); in DecodeAddrMode2IdxInstruction()
1524 if (!fieldFromInstruction(Insn, 23, 1)) in DecodeAddrMode2IdxInstruction()
1541 switch( fieldFromInstruction(Insn, 5, 2)) { in DecodeAddrMode2IdxInstruction()
1557 unsigned amt = fieldFromInstruction(Insn, 7, 5); in DecodeAddrMode2IdxInstruction()
1619 DecodeAddrMode3Instruction(MCInst &Inst, unsigned Insn, in DecodeAddrMode3Instruction() argument
1623 unsigned Rt = fieldFromInstruction(Insn, 12, 4); in DecodeAddrMode3Instruction()
1624 unsigned Rn = fieldFromInstruction(Insn, 16, 4); in DecodeAddrMode3Instruction()
1625 unsigned Rm = fieldFromInstruction(Insn, 0, 4); in DecodeAddrMode3Instruction()
1626 unsigned type = fieldFromInstruction(Insn, 22, 1); in DecodeAddrMode3Instruction()
1627 unsigned imm = fieldFromInstruction(Insn, 8, 4); in DecodeAddrMode3Instruction()
1628 unsigned U = ((~fieldFromInstruction(Insn, 23, 1)) & 1) << 8; in DecodeAddrMode3Instruction()
1629 unsigned pred = fieldFromInstruction(Insn, 28, 4); in DecodeAddrMode3Instruction()
1630 unsigned W = fieldFromInstruction(Insn, 21, 1); in DecodeAddrMode3Instruction()
1631 unsigned P = fieldFromInstruction(Insn, 24, 1); in DecodeAddrMode3Instruction()
1662 if (!type && fieldFromInstruction(Insn, 8, 4)) in DecodeAddrMode3Instruction()
1810 static DecodeStatus DecodeRFEInstruction(MCInst &Inst, unsigned Insn, in DecodeRFEInstruction() argument
1814 unsigned Rn = fieldFromInstruction(Insn, 16, 4); in DecodeRFEInstruction()
1815 unsigned mode = fieldFromInstruction(Insn, 23, 2); in DecodeRFEInstruction()
1839 static DecodeStatus DecodeQADDInstruction(MCInst &Inst, unsigned Insn, in DecodeQADDInstruction() argument
1843 unsigned Rd = fieldFromInstruction(Insn, 12, 4); in DecodeQADDInstruction()
1844 unsigned Rm = fieldFromInstruction(Insn, 0, 4); in DecodeQADDInstruction()
1845 unsigned Rn = fieldFromInstruction(Insn, 16, 4); in DecodeQADDInstruction()
1846 unsigned pred = fieldFromInstruction(Insn, 28, 4); in DecodeQADDInstruction()
1849 return DecodeCPSInstruction(Inst, Insn, Address, Decoder); in DecodeQADDInstruction()
1863 unsigned Insn, in DecodeMemMultipleWritebackInstruction() argument
1867 unsigned Rn = fieldFromInstruction(Insn, 16, 4); in DecodeMemMultipleWritebackInstruction()
1868 unsigned pred = fieldFromInstruction(Insn, 28, 4); in DecodeMemMultipleWritebackInstruction()
1869 unsigned reglist = fieldFromInstruction(Insn, 0, 16); in DecodeMemMultipleWritebackInstruction()
1927 if (fieldFromInstruction(Insn, 20, 1) == 0) { in DecodeMemMultipleWritebackInstruction()
1929 if (!(fieldFromInstruction(Insn, 22, 1) == 1 && in DecodeMemMultipleWritebackInstruction()
1930 fieldFromInstruction(Insn, 20, 1) == 0)) in DecodeMemMultipleWritebackInstruction()
1934 MCOperand::createImm(fieldFromInstruction(Insn, 0, 4))); in DecodeMemMultipleWritebackInstruction()
1938 return DecodeRFEInstruction(Inst, Insn, Address, Decoder); in DecodeMemMultipleWritebackInstruction()
1954 static DecodeStatus DecodeHINTInstruction(MCInst &Inst, unsigned Insn, in DecodeHINTInstruction() argument
1956 unsigned pred = fieldFromInstruction(Insn, 28, 4); in DecodeHINTInstruction()
1957 unsigned imm8 = fieldFromInstruction(Insn, 0, 8); in DecodeHINTInstruction()
1976 static DecodeStatus DecodeCPSInstruction(MCInst &Inst, unsigned Insn, in DecodeCPSInstruction() argument
1978 unsigned imod = fieldFromInstruction(Insn, 18, 2); in DecodeCPSInstruction()
1979 unsigned M = fieldFromInstruction(Insn, 17, 1); in DecodeCPSInstruction()
1980 unsigned iflags = fieldFromInstruction(Insn, 6, 3); in DecodeCPSInstruction()
1981 unsigned mode = fieldFromInstruction(Insn, 0, 5); in DecodeCPSInstruction()
1987 if (fieldFromInstruction(Insn, 5, 1) != 0 || in DecodeCPSInstruction()
1988 fieldFromInstruction(Insn, 16, 1) != 0 || in DecodeCPSInstruction()
1989 fieldFromInstruction(Insn, 20, 8) != 0x10) in DecodeCPSInstruction()
2023 static DecodeStatus DecodeT2CPSInstruction(MCInst &Inst, unsigned Insn, in DecodeT2CPSInstruction() argument
2025 unsigned imod = fieldFromInstruction(Insn, 9, 2); in DecodeT2CPSInstruction()
2026 unsigned M = fieldFromInstruction(Insn, 8, 1); in DecodeT2CPSInstruction()
2027 unsigned iflags = fieldFromInstruction(Insn, 5, 3); in DecodeT2CPSInstruction()
2028 unsigned mode = fieldFromInstruction(Insn, 0, 5); in DecodeT2CPSInstruction()
2055 int imm = fieldFromInstruction(Insn, 0, 8); in DecodeT2CPSInstruction()
2065 static DecodeStatus DecodeT2MOVTWInstruction(MCInst &Inst, unsigned Insn, in DecodeT2MOVTWInstruction() argument
2069 unsigned Rd = fieldFromInstruction(Insn, 8, 4); in DecodeT2MOVTWInstruction()
2072 imm |= (fieldFromInstruction(Insn, 0, 8) << 0); in DecodeT2MOVTWInstruction()
2073 imm |= (fieldFromInstruction(Insn, 12, 3) << 8); in DecodeT2MOVTWInstruction()
2074 imm |= (fieldFromInstruction(Insn, 16, 4) << 12); in DecodeT2MOVTWInstruction()
2075 imm |= (fieldFromInstruction(Insn, 26, 1) << 11); in DecodeT2MOVTWInstruction()
2089 static DecodeStatus DecodeArmMOVTWInstruction(MCInst &Inst, unsigned Insn, in DecodeArmMOVTWInstruction() argument
2093 unsigned Rd = fieldFromInstruction(Insn, 12, 4); in DecodeArmMOVTWInstruction()
2094 unsigned pred = fieldFromInstruction(Insn, 28, 4); in DecodeArmMOVTWInstruction()
2097 imm |= (fieldFromInstruction(Insn, 0, 12) << 0); in DecodeArmMOVTWInstruction()
2098 imm |= (fieldFromInstruction(Insn, 16, 4) << 12); in DecodeArmMOVTWInstruction()
2116 static DecodeStatus DecodeSMLAInstruction(MCInst &Inst, unsigned Insn, in DecodeSMLAInstruction() argument
2120 unsigned Rd = fieldFromInstruction(Insn, 16, 4); in DecodeSMLAInstruction()
2121 unsigned Rn = fieldFromInstruction(Insn, 0, 4); in DecodeSMLAInstruction()
2122 unsigned Rm = fieldFromInstruction(Insn, 8, 4); in DecodeSMLAInstruction()
2123 unsigned Ra = fieldFromInstruction(Insn, 12, 4); in DecodeSMLAInstruction()
2124 unsigned pred = fieldFromInstruction(Insn, 28, 4); in DecodeSMLAInstruction()
2127 return DecodeCPSInstruction(Inst, Insn, Address, Decoder); in DecodeSMLAInstruction()
2144 static DecodeStatus DecodeTSTInstruction(MCInst &Inst, unsigned Insn, in DecodeTSTInstruction() argument
2148 unsigned Pred = fieldFromInstruction(Insn, 28, 4); in DecodeTSTInstruction()
2149 unsigned Rn = fieldFromInstruction(Insn, 16, 4); in DecodeTSTInstruction()
2150 unsigned Rm = fieldFromInstruction(Insn, 0, 4); in DecodeTSTInstruction()
2153 return DecodeSETPANInstruction(Inst, Insn, Address, Decoder); in DecodeTSTInstruction()
2165 static DecodeStatus DecodeSETPANInstruction(MCInst &Inst, unsigned Insn, in DecodeSETPANInstruction() argument
2169 unsigned Imm = fieldFromInstruction(Insn, 9, 1); in DecodeSETPANInstruction()
2180 if (fieldFromInstruction(Insn, 20,12) != 0xf11 || in DecodeSETPANInstruction()
2181 fieldFromInstruction(Insn, 4,4) != 0) in DecodeSETPANInstruction()
2183 if (fieldFromInstruction(Insn, 10,10) != 0 || in DecodeSETPANInstruction()
2184 fieldFromInstruction(Insn, 0,4) != 0) in DecodeSETPANInstruction()
2259 DecodeT2BInstruction(MCInst &Inst, unsigned Insn, in DecodeT2BInstruction() argument
2269 unsigned S = fieldFromInstruction(Insn, 26, 1); in DecodeT2BInstruction()
2270 unsigned J1 = fieldFromInstruction(Insn, 13, 1); in DecodeT2BInstruction()
2271 unsigned J2 = fieldFromInstruction(Insn, 11, 1); in DecodeT2BInstruction()
2274 unsigned imm10 = fieldFromInstruction(Insn, 16, 10); in DecodeT2BInstruction()
2275 unsigned imm11 = fieldFromInstruction(Insn, 0, 11); in DecodeT2BInstruction()
2286 DecodeBranchImmInstruction(MCInst &Inst, unsigned Insn, in DecodeBranchImmInstruction() argument
2290 unsigned pred = fieldFromInstruction(Insn, 28, 4); in DecodeBranchImmInstruction()
2291 unsigned imm = fieldFromInstruction(Insn, 0, 24) << 2; in DecodeBranchImmInstruction()
2295 imm |= fieldFromInstruction(Insn, 24, 1) << 1; in DecodeBranchImmInstruction()
2328 static DecodeStatus DecodeVLDInstruction(MCInst &Inst, unsigned Insn, in DecodeVLDInstruction() argument
2332 unsigned Rd = fieldFromInstruction(Insn, 12, 4); in DecodeVLDInstruction()
2333 Rd |= fieldFromInstruction(Insn, 22, 1) << 4; in DecodeVLDInstruction()
2334 unsigned wb = fieldFromInstruction(Insn, 16, 4); in DecodeVLDInstruction()
2335 unsigned Rn = fieldFromInstruction(Insn, 16, 4); in DecodeVLDInstruction()
2336 Rn |= fieldFromInstruction(Insn, 4, 2) << 4; in DecodeVLDInstruction()
2337 unsigned Rm = fieldFromInstruction(Insn, 0, 4); in DecodeVLDInstruction()
2604 static DecodeStatus DecodeVLDST1Instruction(MCInst &Inst, unsigned Insn, in DecodeVLDST1Instruction() argument
2606 unsigned type = fieldFromInstruction(Insn, 8, 4); in DecodeVLDST1Instruction()
2607 unsigned align = fieldFromInstruction(Insn, 4, 2); in DecodeVLDST1Instruction()
2612 unsigned load = fieldFromInstruction(Insn, 21, 1); in DecodeVLDST1Instruction()
2613 return load ? DecodeVLDInstruction(Inst, Insn, Address, Decoder) in DecodeVLDST1Instruction()
2614 : DecodeVSTInstruction(Inst, Insn, Address, Decoder); in DecodeVLDST1Instruction()
2617 static DecodeStatus DecodeVLDST2Instruction(MCInst &Inst, unsigned Insn, in DecodeVLDST2Instruction() argument
2619 unsigned size = fieldFromInstruction(Insn, 6, 2); in DecodeVLDST2Instruction()
2622 unsigned type = fieldFromInstruction(Insn, 8, 4); in DecodeVLDST2Instruction()
2623 unsigned align = fieldFromInstruction(Insn, 4, 2); in DecodeVLDST2Instruction()
2627 unsigned load = fieldFromInstruction(Insn, 21, 1); in DecodeVLDST2Instruction()
2628 return load ? DecodeVLDInstruction(Inst, Insn, Address, Decoder) in DecodeVLDST2Instruction()
2629 : DecodeVSTInstruction(Inst, Insn, Address, Decoder); in DecodeVLDST2Instruction()
2632 static DecodeStatus DecodeVLDST3Instruction(MCInst &Inst, unsigned Insn, in DecodeVLDST3Instruction() argument
2634 unsigned size = fieldFromInstruction(Insn, 6, 2); in DecodeVLDST3Instruction()
2637 unsigned align = fieldFromInstruction(Insn, 4, 2); in DecodeVLDST3Instruction()
2640 unsigned load = fieldFromInstruction(Insn, 21, 1); in DecodeVLDST3Instruction()
2641 return load ? DecodeVLDInstruction(Inst, Insn, Address, Decoder) in DecodeVLDST3Instruction()
2642 : DecodeVSTInstruction(Inst, Insn, Address, Decoder); in DecodeVLDST3Instruction()
2645 static DecodeStatus DecodeVLDST4Instruction(MCInst &Inst, unsigned Insn, in DecodeVLDST4Instruction() argument
2647 unsigned size = fieldFromInstruction(Insn, 6, 2); in DecodeVLDST4Instruction()
2650 unsigned load = fieldFromInstruction(Insn, 21, 1); in DecodeVLDST4Instruction()
2651 return load ? DecodeVLDInstruction(Inst, Insn, Address, Decoder) in DecodeVLDST4Instruction()
2652 : DecodeVSTInstruction(Inst, Insn, Address, Decoder); in DecodeVLDST4Instruction()
2655 static DecodeStatus DecodeVSTInstruction(MCInst &Inst, unsigned Insn, in DecodeVSTInstruction() argument
2659 unsigned Rd = fieldFromInstruction(Insn, 12, 4); in DecodeVSTInstruction()
2660 Rd |= fieldFromInstruction(Insn, 22, 1) << 4; in DecodeVSTInstruction()
2661 unsigned wb = fieldFromInstruction(Insn, 16, 4); in DecodeVSTInstruction()
2662 unsigned Rn = fieldFromInstruction(Insn, 16, 4); in DecodeVSTInstruction()
2663 Rn |= fieldFromInstruction(Insn, 4, 2) << 4; in DecodeVSTInstruction()
2664 unsigned Rm = fieldFromInstruction(Insn, 0, 4); in DecodeVSTInstruction()
2925 static DecodeStatus DecodeVLD1DupInstruction(MCInst &Inst, unsigned Insn, in DecodeVLD1DupInstruction() argument
2929 unsigned Rd = fieldFromInstruction(Insn, 12, 4); in DecodeVLD1DupInstruction()
2930 Rd |= fieldFromInstruction(Insn, 22, 1) << 4; in DecodeVLD1DupInstruction()
2931 unsigned Rn = fieldFromInstruction(Insn, 16, 4); in DecodeVLD1DupInstruction()
2932 unsigned Rm = fieldFromInstruction(Insn, 0, 4); in DecodeVLD1DupInstruction()
2933 unsigned align = fieldFromInstruction(Insn, 4, 1); in DecodeVLD1DupInstruction()
2934 unsigned size = fieldFromInstruction(Insn, 6, 2); in DecodeVLD1DupInstruction()
2972 static DecodeStatus DecodeVLD2DupInstruction(MCInst &Inst, unsigned Insn, in DecodeVLD2DupInstruction() argument
2976 unsigned Rd = fieldFromInstruction(Insn, 12, 4); in DecodeVLD2DupInstruction()
2977 Rd |= fieldFromInstruction(Insn, 22, 1) << 4; in DecodeVLD2DupInstruction()
2978 unsigned Rn = fieldFromInstruction(Insn, 16, 4); in DecodeVLD2DupInstruction()
2979 unsigned Rm = fieldFromInstruction(Insn, 0, 4); in DecodeVLD2DupInstruction()
2980 unsigned align = fieldFromInstruction(Insn, 4, 1); in DecodeVLD2DupInstruction()
2981 unsigned size = 1 << fieldFromInstruction(Insn, 6, 2); in DecodeVLD2DupInstruction()
3020 static DecodeStatus DecodeVLD3DupInstruction(MCInst &Inst, unsigned Insn, in DecodeVLD3DupInstruction() argument
3024 unsigned Rd = fieldFromInstruction(Insn, 12, 4); in DecodeVLD3DupInstruction()
3025 Rd |= fieldFromInstruction(Insn, 22, 1) << 4; in DecodeVLD3DupInstruction()
3026 unsigned Rn = fieldFromInstruction(Insn, 16, 4); in DecodeVLD3DupInstruction()
3027 unsigned Rm = fieldFromInstruction(Insn, 0, 4); in DecodeVLD3DupInstruction()
3028 unsigned inc = fieldFromInstruction(Insn, 5, 1) + 1; in DecodeVLD3DupInstruction()
3055 static DecodeStatus DecodeVLD4DupInstruction(MCInst &Inst, unsigned Insn, in DecodeVLD4DupInstruction() argument
3059 unsigned Rd = fieldFromInstruction(Insn, 12, 4); in DecodeVLD4DupInstruction()
3060 Rd |= fieldFromInstruction(Insn, 22, 1) << 4; in DecodeVLD4DupInstruction()
3061 unsigned Rn = fieldFromInstruction(Insn, 16, 4); in DecodeVLD4DupInstruction()
3062 unsigned Rm = fieldFromInstruction(Insn, 0, 4); in DecodeVLD4DupInstruction()
3063 unsigned size = fieldFromInstruction(Insn, 6, 2); in DecodeVLD4DupInstruction()
3064 unsigned inc = fieldFromInstruction(Insn, 5, 1) + 1; in DecodeVLD4DupInstruction()
3065 unsigned align = fieldFromInstruction(Insn, 4, 1); in DecodeVLD4DupInstruction()
3108 DecodeNEONModImmInstruction(MCInst &Inst, unsigned Insn, in DecodeNEONModImmInstruction() argument
3112 unsigned Rd = fieldFromInstruction(Insn, 12, 4); in DecodeNEONModImmInstruction()
3113 Rd |= fieldFromInstruction(Insn, 22, 1) << 4; in DecodeNEONModImmInstruction()
3114 unsigned imm = fieldFromInstruction(Insn, 0, 4); in DecodeNEONModImmInstruction()
3115 imm |= fieldFromInstruction(Insn, 16, 3) << 4; in DecodeNEONModImmInstruction()
3116 imm |= fieldFromInstruction(Insn, 24, 1) << 7; in DecodeNEONModImmInstruction()
3117 imm |= fieldFromInstruction(Insn, 8, 4) << 8; in DecodeNEONModImmInstruction()
3118 imm |= fieldFromInstruction(Insn, 5, 1) << 12; in DecodeNEONModImmInstruction()
3119 unsigned Q = fieldFromInstruction(Insn, 6, 1); in DecodeNEONModImmInstruction()
3153 static DecodeStatus DecodeVSHLMaxInstruction(MCInst &Inst, unsigned Insn, in DecodeVSHLMaxInstruction() argument
3157 unsigned Rd = fieldFromInstruction(Insn, 12, 4); in DecodeVSHLMaxInstruction()
3158 Rd |= fieldFromInstruction(Insn, 22, 1) << 4; in DecodeVSHLMaxInstruction()
3159 unsigned Rm = fieldFromInstruction(Insn, 0, 4); in DecodeVSHLMaxInstruction()
3160 Rm |= fieldFromInstruction(Insn, 5, 1) << 4; in DecodeVSHLMaxInstruction()
3161 unsigned size = fieldFromInstruction(Insn, 18, 2); in DecodeVSHLMaxInstruction()
3196 static DecodeStatus DecodeTBLInstruction(MCInst &Inst, unsigned Insn, in DecodeTBLInstruction() argument
3200 unsigned Rd = fieldFromInstruction(Insn, 12, 4); in DecodeTBLInstruction()
3201 Rd |= fieldFromInstruction(Insn, 22, 1) << 4; in DecodeTBLInstruction()
3202 unsigned Rn = fieldFromInstruction(Insn, 16, 4); in DecodeTBLInstruction()
3203 Rn |= fieldFromInstruction(Insn, 7, 1) << 4; in DecodeTBLInstruction()
3204 unsigned Rm = fieldFromInstruction(Insn, 0, 4); in DecodeTBLInstruction()
3205 Rm |= fieldFromInstruction(Insn, 5, 1) << 4; in DecodeTBLInstruction()
3206 unsigned op = fieldFromInstruction(Insn, 6, 1); in DecodeTBLInstruction()
3232 static DecodeStatus DecodeThumbAddSpecialReg(MCInst &Inst, uint16_t Insn, in DecodeThumbAddSpecialReg() argument
3236 unsigned dst = fieldFromInstruction(Insn, 8, 3); in DecodeThumbAddSpecialReg()
3237 unsigned imm = fieldFromInstruction(Insn, 0, 8); in DecodeThumbAddSpecialReg()
3356 static DecodeStatus DecodeT2LoadShift(MCInst &Inst, unsigned Insn, in DecodeT2LoadShift() argument
3360 unsigned Rt = fieldFromInstruction(Insn, 12, 4); in DecodeT2LoadShift()
3361 unsigned Rn = fieldFromInstruction(Insn, 16, 4); in DecodeT2LoadShift()
3396 return DecodeT2LoadLabel(Inst, Insn, Address, Decoder); in DecodeT2LoadShift()
3430 unsigned addrmode = fieldFromInstruction(Insn, 4, 2); in DecodeT2LoadShift()
3431 addrmode |= fieldFromInstruction(Insn, 0, 4) << 2; in DecodeT2LoadShift()
3432 addrmode |= fieldFromInstruction(Insn, 16, 4) << 6; in DecodeT2LoadShift()
3439 static DecodeStatus DecodeT2LoadImm8(MCInst &Inst, unsigned Insn, in DecodeT2LoadImm8() argument
3443 unsigned Rn = fieldFromInstruction(Insn, 16, 4); in DecodeT2LoadImm8()
3444 unsigned Rt = fieldFromInstruction(Insn, 12, 4); in DecodeT2LoadImm8()
3445 unsigned U = fieldFromInstruction(Insn, 9, 1); in DecodeT2LoadImm8()
3446 unsigned imm = fieldFromInstruction(Insn, 0, 8); in DecodeT2LoadImm8()
3449 unsigned add = fieldFromInstruction(Insn, 9, 1); in DecodeT2LoadImm8()
3483 return DecodeT2LoadLabel(Inst, Insn, Address, Decoder); in DecodeT2LoadImm8()
3523 static DecodeStatus DecodeT2LoadImm12(MCInst &Inst, unsigned Insn, in DecodeT2LoadImm12() argument
3527 unsigned Rn = fieldFromInstruction(Insn, 16, 4); in DecodeT2LoadImm12()
3528 unsigned Rt = fieldFromInstruction(Insn, 12, 4); in DecodeT2LoadImm12()
3529 unsigned imm = fieldFromInstruction(Insn, 0, 12); in DecodeT2LoadImm12()
3564 return DecodeT2LoadLabel(Inst, Insn, Address, Decoder); in DecodeT2LoadImm12()
3603 static DecodeStatus DecodeT2LoadT(MCInst &Inst, unsigned Insn, in DecodeT2LoadT() argument
3607 unsigned Rn = fieldFromInstruction(Insn, 16, 4); in DecodeT2LoadT()
3608 unsigned Rt = fieldFromInstruction(Insn, 12, 4); in DecodeT2LoadT()
3609 unsigned imm = fieldFromInstruction(Insn, 0, 8); in DecodeT2LoadT()
3632 return DecodeT2LoadLabel(Inst, Insn, Address, Decoder); in DecodeT2LoadT()
3642 static DecodeStatus DecodeT2LoadLabel(MCInst &Inst, unsigned Insn, in DecodeT2LoadLabel() argument
3646 unsigned Rt = fieldFromInstruction(Insn, 12, 4); in DecodeT2LoadLabel()
3647 unsigned U = fieldFromInstruction(Insn, 23, 1); in DecodeT2LoadLabel()
3648 int imm = fieldFromInstruction(Insn, 0, 12); in DecodeT2LoadLabel()
3797 static DecodeStatus DecodeT2LdStPre(MCInst &Inst, unsigned Insn, in DecodeT2LdStPre() argument
3801 unsigned Rt = fieldFromInstruction(Insn, 12, 4); in DecodeT2LdStPre()
3802 unsigned Rn = fieldFromInstruction(Insn, 16, 4); in DecodeT2LdStPre()
3803 unsigned addr = fieldFromInstruction(Insn, 0, 8); in DecodeT2LdStPre()
3804 addr |= fieldFromInstruction(Insn, 9, 1) << 8; in DecodeT2LdStPre()
3806 unsigned load = fieldFromInstruction(Insn, 20, 1); in DecodeT2LdStPre()
3836 return DecodeT2LoadLabel(Inst, Insn, Address, Decoder); in DecodeT2LdStPre()
3884 static DecodeStatus DecodeThumbAddSPImm(MCInst &Inst, uint16_t Insn, in DecodeThumbAddSPImm() argument
3886 unsigned imm = fieldFromInstruction(Insn, 0, 7); in DecodeThumbAddSPImm()
3895 static DecodeStatus DecodeThumbAddSPReg(MCInst &Inst, uint16_t Insn, in DecodeThumbAddSPReg() argument
3900 unsigned Rdm = fieldFromInstruction(Insn, 0, 3); in DecodeThumbAddSPReg()
3901 Rdm |= fieldFromInstruction(Insn, 7, 1) << 3; in DecodeThumbAddSPReg()
3909 unsigned Rm = fieldFromInstruction(Insn, 3, 4); in DecodeThumbAddSPReg()
3920 static DecodeStatus DecodeThumbCPS(MCInst &Inst, uint16_t Insn, in DecodeThumbCPS() argument
3922 unsigned imod = fieldFromInstruction(Insn, 4, 1) | 0x2; in DecodeThumbCPS()
3923 unsigned flags = fieldFromInstruction(Insn, 0, 3); in DecodeThumbCPS()
3931 static DecodeStatus DecodePostIdxReg(MCInst &Inst, unsigned Insn, in DecodePostIdxReg() argument
3934 unsigned Rm = fieldFromInstruction(Insn, 0, 4); in DecodePostIdxReg()
3935 unsigned add = fieldFromInstruction(Insn, 4, 1); in DecodePostIdxReg()
3984 DecodeThumbTableBranch(MCInst &Inst, unsigned Insn, in DecodeThumbTableBranch() argument
3988 unsigned Rn = fieldFromInstruction(Insn, 16, 4); in DecodeThumbTableBranch()
3989 unsigned Rm = fieldFromInstruction(Insn, 0, 4); in DecodeThumbTableBranch()
4000 DecodeThumb2BCCInstruction(MCInst &Inst, unsigned Insn, in DecodeThumb2BCCInstruction() argument
4004 unsigned pred = fieldFromInstruction(Insn, 22, 4); in DecodeThumb2BCCInstruction()
4006 unsigned opc = fieldFromInstruction(Insn, 4, 28); in DecodeThumb2BCCInstruction()
4021 unsigned imm = fieldFromInstruction(Insn, 0, 4); in DecodeThumb2BCCInstruction()
4025 unsigned brtarget = fieldFromInstruction(Insn, 0, 11) << 1; in DecodeThumb2BCCInstruction()
4026 brtarget |= fieldFromInstruction(Insn, 11, 1) << 19; in DecodeThumb2BCCInstruction()
4027 brtarget |= fieldFromInstruction(Insn, 13, 1) << 18; in DecodeThumb2BCCInstruction()
4028 brtarget |= fieldFromInstruction(Insn, 16, 6) << 12; in DecodeThumb2BCCInstruction()
4029 brtarget |= fieldFromInstruction(Insn, 26, 1) << 20; in DecodeThumb2BCCInstruction()
4221 static DecodeStatus DecodeDoubleRegLoad(MCInst &Inst, unsigned Insn, in DecodeDoubleRegLoad() argument
4225 unsigned Rt = fieldFromInstruction(Insn, 12, 4); in DecodeDoubleRegLoad()
4226 unsigned Rn = fieldFromInstruction(Insn, 16, 4); in DecodeDoubleRegLoad()
4227 unsigned pred = fieldFromInstruction(Insn, 28, 4); in DecodeDoubleRegLoad()
4242 static DecodeStatus DecodeDoubleRegStore(MCInst &Inst, unsigned Insn, in DecodeDoubleRegStore() argument
4247 unsigned Rd = fieldFromInstruction(Insn, 12, 4); in DecodeDoubleRegStore()
4248 unsigned Rt = fieldFromInstruction(Insn, 0, 4); in DecodeDoubleRegStore()
4249 unsigned Rn = fieldFromInstruction(Insn, 16, 4); in DecodeDoubleRegStore()
4250 unsigned pred = fieldFromInstruction(Insn, 28, 4); in DecodeDoubleRegStore()
4268 static DecodeStatus DecodeLDRPreImm(MCInst &Inst, unsigned Insn, in DecodeLDRPreImm() argument
4272 unsigned Rn = fieldFromInstruction(Insn, 16, 4); in DecodeLDRPreImm()
4273 unsigned Rt = fieldFromInstruction(Insn, 12, 4); in DecodeLDRPreImm()
4274 unsigned imm = fieldFromInstruction(Insn, 0, 12); in DecodeLDRPreImm()
4275 imm |= fieldFromInstruction(Insn, 16, 4) << 13; in DecodeLDRPreImm()
4276 imm |= fieldFromInstruction(Insn, 23, 1) << 12; in DecodeLDRPreImm()
4277 unsigned pred = fieldFromInstruction(Insn, 28, 4); in DecodeLDRPreImm()
4293 static DecodeStatus DecodeLDRPreReg(MCInst &Inst, unsigned Insn, in DecodeLDRPreReg() argument
4297 unsigned Rn = fieldFromInstruction(Insn, 16, 4); in DecodeLDRPreReg()
4298 unsigned Rt = fieldFromInstruction(Insn, 12, 4); in DecodeLDRPreReg()
4299 unsigned imm = fieldFromInstruction(Insn, 0, 12); in DecodeLDRPreReg()
4300 imm |= fieldFromInstruction(Insn, 16, 4) << 13; in DecodeLDRPreReg()
4301 imm |= fieldFromInstruction(Insn, 23, 1) << 12; in DecodeLDRPreReg()
4302 unsigned pred = fieldFromInstruction(Insn, 28, 4); in DecodeLDRPreReg()
4303 unsigned Rm = fieldFromInstruction(Insn, 0, 4); in DecodeLDRPreReg()
4320 static DecodeStatus DecodeSTRPreImm(MCInst &Inst, unsigned Insn, in DecodeSTRPreImm() argument
4324 unsigned Rn = fieldFromInstruction(Insn, 16, 4); in DecodeSTRPreImm()
4325 unsigned Rt = fieldFromInstruction(Insn, 12, 4); in DecodeSTRPreImm()
4326 unsigned imm = fieldFromInstruction(Insn, 0, 12); in DecodeSTRPreImm()
4327 imm |= fieldFromInstruction(Insn, 16, 4) << 13; in DecodeSTRPreImm()
4328 imm |= fieldFromInstruction(Insn, 23, 1) << 12; in DecodeSTRPreImm()
4329 unsigned pred = fieldFromInstruction(Insn, 28, 4); in DecodeSTRPreImm()
4345 static DecodeStatus DecodeSTRPreReg(MCInst &Inst, unsigned Insn, in DecodeSTRPreReg() argument
4349 unsigned Rn = fieldFromInstruction(Insn, 16, 4); in DecodeSTRPreReg()
4350 unsigned Rt = fieldFromInstruction(Insn, 12, 4); in DecodeSTRPreReg()
4351 unsigned imm = fieldFromInstruction(Insn, 0, 12); in DecodeSTRPreReg()
4352 imm |= fieldFromInstruction(Insn, 16, 4) << 13; in DecodeSTRPreReg()
4353 imm |= fieldFromInstruction(Insn, 23, 1) << 12; in DecodeSTRPreReg()
4354 unsigned pred = fieldFromInstruction(Insn, 28, 4); in DecodeSTRPreReg()
4370 static DecodeStatus DecodeVLD1LN(MCInst &Inst, unsigned Insn, in DecodeVLD1LN() argument
4374 unsigned Rn = fieldFromInstruction(Insn, 16, 4); in DecodeVLD1LN()
4375 unsigned Rm = fieldFromInstruction(Insn, 0, 4); in DecodeVLD1LN()
4376 unsigned Rd = fieldFromInstruction(Insn, 12, 4); in DecodeVLD1LN()
4377 Rd |= fieldFromInstruction(Insn, 22, 1) << 4; in DecodeVLD1LN()
4378 unsigned size = fieldFromInstruction(Insn, 10, 2); in DecodeVLD1LN()
4386 if (fieldFromInstruction(Insn, 4, 1)) in DecodeVLD1LN()
4388 index = fieldFromInstruction(Insn, 5, 3); in DecodeVLD1LN()
4391 if (fieldFromInstruction(Insn, 5, 1)) in DecodeVLD1LN()
4393 index = fieldFromInstruction(Insn, 6, 2); in DecodeVLD1LN()
4394 if (fieldFromInstruction(Insn, 4, 1)) in DecodeVLD1LN()
4398 if (fieldFromInstruction(Insn, 6, 1)) in DecodeVLD1LN()
4400 index = fieldFromInstruction(Insn, 7, 1); in DecodeVLD1LN()
4402 switch (fieldFromInstruction(Insn, 4, 2)) { in DecodeVLD1LN()
4437 static DecodeStatus DecodeVST1LN(MCInst &Inst, unsigned Insn, in DecodeVST1LN() argument
4441 unsigned Rn = fieldFromInstruction(Insn, 16, 4); in DecodeVST1LN()
4442 unsigned Rm = fieldFromInstruction(Insn, 0, 4); in DecodeVST1LN()
4443 unsigned Rd = fieldFromInstruction(Insn, 12, 4); in DecodeVST1LN()
4444 Rd |= fieldFromInstruction(Insn, 22, 1) << 4; in DecodeVST1LN()
4445 unsigned size = fieldFromInstruction(Insn, 10, 2); in DecodeVST1LN()
4453 if (fieldFromInstruction(Insn, 4, 1)) in DecodeVST1LN()
4455 index = fieldFromInstruction(Insn, 5, 3); in DecodeVST1LN()
4458 if (fieldFromInstruction(Insn, 5, 1)) in DecodeVST1LN()
4460 index = fieldFromInstruction(Insn, 6, 2); in DecodeVST1LN()
4461 if (fieldFromInstruction(Insn, 4, 1)) in DecodeVST1LN()
4465 if (fieldFromInstruction(Insn, 6, 1)) in DecodeVST1LN()
4467 index = fieldFromInstruction(Insn, 7, 1); in DecodeVST1LN()
4469 switch (fieldFromInstruction(Insn, 4, 2)) { in DecodeVST1LN()
4502 static DecodeStatus DecodeVLD2LN(MCInst &Inst, unsigned Insn, in DecodeVLD2LN() argument
4506 unsigned Rn = fieldFromInstruction(Insn, 16, 4); in DecodeVLD2LN()
4507 unsigned Rm = fieldFromInstruction(Insn, 0, 4); in DecodeVLD2LN()
4508 unsigned Rd = fieldFromInstruction(Insn, 12, 4); in DecodeVLD2LN()
4509 Rd |= fieldFromInstruction(Insn, 22, 1) << 4; in DecodeVLD2LN()
4510 unsigned size = fieldFromInstruction(Insn, 10, 2); in DecodeVLD2LN()
4519 index = fieldFromInstruction(Insn, 5, 3); in DecodeVLD2LN()
4520 if (fieldFromInstruction(Insn, 4, 1)) in DecodeVLD2LN()
4524 index = fieldFromInstruction(Insn, 6, 2); in DecodeVLD2LN()
4525 if (fieldFromInstruction(Insn, 4, 1)) in DecodeVLD2LN()
4527 if (fieldFromInstruction(Insn, 5, 1)) in DecodeVLD2LN()
4531 if (fieldFromInstruction(Insn, 5, 1)) in DecodeVLD2LN()
4533 index = fieldFromInstruction(Insn, 7, 1); in DecodeVLD2LN()
4534 if (fieldFromInstruction(Insn, 4, 1) != 0) in DecodeVLD2LN()
4536 if (fieldFromInstruction(Insn, 6, 1)) in DecodeVLD2LN()
4569 static DecodeStatus DecodeVST2LN(MCInst &Inst, unsigned Insn, in DecodeVST2LN() argument
4573 unsigned Rn = fieldFromInstruction(Insn, 16, 4); in DecodeVST2LN()
4574 unsigned Rm = fieldFromInstruction(Insn, 0, 4); in DecodeVST2LN()
4575 unsigned Rd = fieldFromInstruction(Insn, 12, 4); in DecodeVST2LN()
4576 Rd |= fieldFromInstruction(Insn, 22, 1) << 4; in DecodeVST2LN()
4577 unsigned size = fieldFromInstruction(Insn, 10, 2); in DecodeVST2LN()
4586 index = fieldFromInstruction(Insn, 5, 3); in DecodeVST2LN()
4587 if (fieldFromInstruction(Insn, 4, 1)) in DecodeVST2LN()
4591 index = fieldFromInstruction(Insn, 6, 2); in DecodeVST2LN()
4592 if (fieldFromInstruction(Insn, 4, 1)) in DecodeVST2LN()
4594 if (fieldFromInstruction(Insn, 5, 1)) in DecodeVST2LN()
4598 if (fieldFromInstruction(Insn, 5, 1)) in DecodeVST2LN()
4600 index = fieldFromInstruction(Insn, 7, 1); in DecodeVST2LN()
4601 if (fieldFromInstruction(Insn, 4, 1) != 0) in DecodeVST2LN()
4603 if (fieldFromInstruction(Insn, 6, 1)) in DecodeVST2LN()
4632 static DecodeStatus DecodeVLD3LN(MCInst &Inst, unsigned Insn, in DecodeVLD3LN() argument
4636 unsigned Rn = fieldFromInstruction(Insn, 16, 4); in DecodeVLD3LN()
4637 unsigned Rm = fieldFromInstruction(Insn, 0, 4); in DecodeVLD3LN()
4638 unsigned Rd = fieldFromInstruction(Insn, 12, 4); in DecodeVLD3LN()
4639 Rd |= fieldFromInstruction(Insn, 22, 1) << 4; in DecodeVLD3LN()
4640 unsigned size = fieldFromInstruction(Insn, 10, 2); in DecodeVLD3LN()
4649 if (fieldFromInstruction(Insn, 4, 1)) in DecodeVLD3LN()
4651 index = fieldFromInstruction(Insn, 5, 3); in DecodeVLD3LN()
4654 if (fieldFromInstruction(Insn, 4, 1)) in DecodeVLD3LN()
4656 index = fieldFromInstruction(Insn, 6, 2); in DecodeVLD3LN()
4657 if (fieldFromInstruction(Insn, 5, 1)) in DecodeVLD3LN()
4661 if (fieldFromInstruction(Insn, 4, 2)) in DecodeVLD3LN()
4663 index = fieldFromInstruction(Insn, 7, 1); in DecodeVLD3LN()
4664 if (fieldFromInstruction(Insn, 6, 1)) in DecodeVLD3LN()
4702 static DecodeStatus DecodeVST3LN(MCInst &Inst, unsigned Insn, in DecodeVST3LN() argument
4706 unsigned Rn = fieldFromInstruction(Insn, 16, 4); in DecodeVST3LN()
4707 unsigned Rm = fieldFromInstruction(Insn, 0, 4); in DecodeVST3LN()
4708 unsigned Rd = fieldFromInstruction(Insn, 12, 4); in DecodeVST3LN()
4709 Rd |= fieldFromInstruction(Insn, 22, 1) << 4; in DecodeVST3LN()
4710 unsigned size = fieldFromInstruction(Insn, 10, 2); in DecodeVST3LN()
4719 if (fieldFromInstruction(Insn, 4, 1)) in DecodeVST3LN()
4721 index = fieldFromInstruction(Insn, 5, 3); in DecodeVST3LN()
4724 if (fieldFromInstruction(Insn, 4, 1)) in DecodeVST3LN()
4726 index = fieldFromInstruction(Insn, 6, 2); in DecodeVST3LN()
4727 if (fieldFromInstruction(Insn, 5, 1)) in DecodeVST3LN()
4731 if (fieldFromInstruction(Insn, 4, 2)) in DecodeVST3LN()
4733 index = fieldFromInstruction(Insn, 7, 1); in DecodeVST3LN()
4734 if (fieldFromInstruction(Insn, 6, 1)) in DecodeVST3LN()
4765 static DecodeStatus DecodeVLD4LN(MCInst &Inst, unsigned Insn, in DecodeVLD4LN() argument
4769 unsigned Rn = fieldFromInstruction(Insn, 16, 4); in DecodeVLD4LN()
4770 unsigned Rm = fieldFromInstruction(Insn, 0, 4); in DecodeVLD4LN()
4771 unsigned Rd = fieldFromInstruction(Insn, 12, 4); in DecodeVLD4LN()
4772 Rd |= fieldFromInstruction(Insn, 22, 1) << 4; in DecodeVLD4LN()
4773 unsigned size = fieldFromInstruction(Insn, 10, 2); in DecodeVLD4LN()
4782 if (fieldFromInstruction(Insn, 4, 1)) in DecodeVLD4LN()
4784 index = fieldFromInstruction(Insn, 5, 3); in DecodeVLD4LN()
4787 if (fieldFromInstruction(Insn, 4, 1)) in DecodeVLD4LN()
4789 index = fieldFromInstruction(Insn, 6, 2); in DecodeVLD4LN()
4790 if (fieldFromInstruction(Insn, 5, 1)) in DecodeVLD4LN()
4794 switch (fieldFromInstruction(Insn, 4, 2)) { in DecodeVLD4LN()
4800 align = 4 << fieldFromInstruction(Insn, 4, 2); break; in DecodeVLD4LN()
4803 index = fieldFromInstruction(Insn, 7, 1); in DecodeVLD4LN()
4804 if (fieldFromInstruction(Insn, 6, 1)) in DecodeVLD4LN()
4846 static DecodeStatus DecodeVST4LN(MCInst &Inst, unsigned Insn, in DecodeVST4LN() argument
4850 unsigned Rn = fieldFromInstruction(Insn, 16, 4); in DecodeVST4LN()
4851 unsigned Rm = fieldFromInstruction(Insn, 0, 4); in DecodeVST4LN()
4852 unsigned Rd = fieldFromInstruction(Insn, 12, 4); in DecodeVST4LN()
4853 Rd |= fieldFromInstruction(Insn, 22, 1) << 4; in DecodeVST4LN()
4854 unsigned size = fieldFromInstruction(Insn, 10, 2); in DecodeVST4LN()
4863 if (fieldFromInstruction(Insn, 4, 1)) in DecodeVST4LN()
4865 index = fieldFromInstruction(Insn, 5, 3); in DecodeVST4LN()
4868 if (fieldFromInstruction(Insn, 4, 1)) in DecodeVST4LN()
4870 index = fieldFromInstruction(Insn, 6, 2); in DecodeVST4LN()
4871 if (fieldFromInstruction(Insn, 5, 1)) in DecodeVST4LN()
4875 switch (fieldFromInstruction(Insn, 4, 2)) { in DecodeVST4LN()
4881 align = 4 << fieldFromInstruction(Insn, 4, 2); break; in DecodeVST4LN()
4884 index = fieldFromInstruction(Insn, 7, 1); in DecodeVST4LN()
4885 if (fieldFromInstruction(Insn, 6, 1)) in DecodeVST4LN()
4918 static DecodeStatus DecodeVMOVSRR(MCInst &Inst, unsigned Insn, in DecodeVMOVSRR() argument
4921 unsigned Rt = fieldFromInstruction(Insn, 12, 4); in DecodeVMOVSRR()
4922 unsigned Rt2 = fieldFromInstruction(Insn, 16, 4); in DecodeVMOVSRR()
4923 unsigned Rm = fieldFromInstruction(Insn, 5, 1); in DecodeVMOVSRR()
4924 unsigned pred = fieldFromInstruction(Insn, 28, 4); in DecodeVMOVSRR()
4925 Rm |= fieldFromInstruction(Insn, 0, 4) << 1; in DecodeVMOVSRR()
4944 static DecodeStatus DecodeVMOVRRS(MCInst &Inst, unsigned Insn, in DecodeVMOVRRS() argument
4947 unsigned Rt = fieldFromInstruction(Insn, 12, 4); in DecodeVMOVRRS()
4948 unsigned Rt2 = fieldFromInstruction(Insn, 16, 4); in DecodeVMOVRRS()
4949 unsigned Rm = fieldFromInstruction(Insn, 5, 1); in DecodeVMOVRRS()
4950 unsigned pred = fieldFromInstruction(Insn, 28, 4); in DecodeVMOVRRS()
4951 Rm |= fieldFromInstruction(Insn, 0, 4) << 1; in DecodeVMOVRRS()
4970 static DecodeStatus DecodeIT(MCInst &Inst, unsigned Insn, in DecodeIT() argument
4973 unsigned pred = fieldFromInstruction(Insn, 4, 4); in DecodeIT()
4974 unsigned mask = fieldFromInstruction(Insn, 0, 4); in DecodeIT()
4990 DecodeT2LDRDPreInstruction(MCInst &Inst, unsigned Insn, in DecodeT2LDRDPreInstruction() argument
4994 unsigned Rt = fieldFromInstruction(Insn, 12, 4); in DecodeT2LDRDPreInstruction()
4995 unsigned Rt2 = fieldFromInstruction(Insn, 8, 4); in DecodeT2LDRDPreInstruction()
4996 unsigned Rn = fieldFromInstruction(Insn, 16, 4); in DecodeT2LDRDPreInstruction()
4997 unsigned addr = fieldFromInstruction(Insn, 0, 8); in DecodeT2LDRDPreInstruction()
4998 unsigned W = fieldFromInstruction(Insn, 21, 1); in DecodeT2LDRDPreInstruction()
4999 unsigned U = fieldFromInstruction(Insn, 23, 1); in DecodeT2LDRDPreInstruction()
5000 unsigned P = fieldFromInstruction(Insn, 24, 1); in DecodeT2LDRDPreInstruction()
5027 DecodeT2STRDPreInstruction(MCInst &Inst, unsigned Insn, in DecodeT2STRDPreInstruction() argument
5031 unsigned Rt = fieldFromInstruction(Insn, 12, 4); in DecodeT2STRDPreInstruction()
5032 unsigned Rt2 = fieldFromInstruction(Insn, 8, 4); in DecodeT2STRDPreInstruction()
5033 unsigned Rn = fieldFromInstruction(Insn, 16, 4); in DecodeT2STRDPreInstruction()
5034 unsigned addr = fieldFromInstruction(Insn, 0, 8); in DecodeT2STRDPreInstruction()
5035 unsigned W = fieldFromInstruction(Insn, 21, 1); in DecodeT2STRDPreInstruction()
5036 unsigned U = fieldFromInstruction(Insn, 23, 1); in DecodeT2STRDPreInstruction()
5037 unsigned P = fieldFromInstruction(Insn, 24, 1); in DecodeT2STRDPreInstruction()
5061 static DecodeStatus DecodeT2Adr(MCInst &Inst, uint32_t Insn, in DecodeT2Adr() argument
5063 unsigned sign1 = fieldFromInstruction(Insn, 21, 1); in DecodeT2Adr()
5064 unsigned sign2 = fieldFromInstruction(Insn, 23, 1); in DecodeT2Adr()
5067 unsigned Val = fieldFromInstruction(Insn, 0, 8); in DecodeT2Adr()
5068 Val |= fieldFromInstruction(Insn, 12, 3) << 8; in DecodeT2Adr()
5069 Val |= fieldFromInstruction(Insn, 26, 1) << 11; in DecodeT2Adr()
5087 static DecodeStatus DecodeSwap(MCInst &Inst, unsigned Insn, in DecodeSwap() argument
5089 unsigned Rt = fieldFromInstruction(Insn, 12, 4); in DecodeSwap()
5090 unsigned Rt2 = fieldFromInstruction(Insn, 0, 4); in DecodeSwap()
5091 unsigned Rn = fieldFromInstruction(Insn, 16, 4); in DecodeSwap()
5092 unsigned pred = fieldFromInstruction(Insn, 28, 4); in DecodeSwap()
5095 return DecodeCPSInstruction(Inst, Insn, Address, Decoder); in DecodeSwap()
5114 static DecodeStatus DecodeVCVTD(MCInst &Inst, unsigned Insn, in DecodeVCVTD() argument
5120 unsigned Vd = (fieldFromInstruction(Insn, 12, 4) << 0); in DecodeVCVTD()
5121 Vd |= (fieldFromInstruction(Insn, 22, 1) << 4); in DecodeVCVTD()
5122 unsigned Vm = (fieldFromInstruction(Insn, 0, 4) << 0); in DecodeVCVTD()
5123 Vm |= (fieldFromInstruction(Insn, 5, 1) << 4); in DecodeVCVTD()
5124 unsigned imm = fieldFromInstruction(Insn, 16, 6); in DecodeVCVTD()
5125 unsigned cmode = fieldFromInstruction(Insn, 8, 4); in DecodeVCVTD()
5126 unsigned op = fieldFromInstruction(Insn, 5, 1); in DecodeVCVTD()
5159 return DecodeNEONModImmInstruction(Inst, Insn, Address, Decoder); in DecodeVCVTD()
5173 static DecodeStatus DecodeVCVTQ(MCInst &Inst, unsigned Insn, in DecodeVCVTQ() argument
5179 unsigned Vd = (fieldFromInstruction(Insn, 12, 4) << 0); in DecodeVCVTQ()
5180 Vd |= (fieldFromInstruction(Insn, 22, 1) << 4); in DecodeVCVTQ()
5181 unsigned Vm = (fieldFromInstruction(Insn, 0, 4) << 0); in DecodeVCVTQ()
5182 Vm |= (fieldFromInstruction(Insn, 5, 1) << 4); in DecodeVCVTQ()
5183 unsigned imm = fieldFromInstruction(Insn, 16, 6); in DecodeVCVTQ()
5184 unsigned cmode = fieldFromInstruction(Insn, 8, 4); in DecodeVCVTQ()
5185 unsigned op = fieldFromInstruction(Insn, 5, 1); in DecodeVCVTQ()
5218 return DecodeNEONModImmInstruction(Inst, Insn, Address, Decoder); in DecodeVCVTQ()
5233 unsigned Insn, in DecodeNEONComplexLane64Instruction() argument
5236 unsigned Vd = (fieldFromInstruction(Insn, 12, 4) << 0); in DecodeNEONComplexLane64Instruction()
5237 Vd |= (fieldFromInstruction(Insn, 22, 1) << 4); in DecodeNEONComplexLane64Instruction()
5238 unsigned Vn = (fieldFromInstruction(Insn, 16, 4) << 0); in DecodeNEONComplexLane64Instruction()
5239 Vn |= (fieldFromInstruction(Insn, 7, 1) << 4); in DecodeNEONComplexLane64Instruction()
5240 unsigned Vm = (fieldFromInstruction(Insn, 0, 4) << 0); in DecodeNEONComplexLane64Instruction()
5241 Vm |= (fieldFromInstruction(Insn, 5, 1) << 4); in DecodeNEONComplexLane64Instruction()
5242 unsigned q = (fieldFromInstruction(Insn, 6, 1) << 0); in DecodeNEONComplexLane64Instruction()
5243 unsigned rotate = (fieldFromInstruction(Insn, 20, 2) << 0); in DecodeNEONComplexLane64Instruction()