• Home
  • Raw
  • Download

Lines Matching refs:Insn

172 static DecodeStatus DecodeBitfieldMaskOperand(MCInst *Inst, unsigned Insn,
174 static DecodeStatus DecodeCopMemInstruction(MCInst *Inst, unsigned Insn,
177 unsigned Insn, uint64_t Address, const void *Decoder);
178 static DecodeStatus DecodeSORegMemOperand(MCInst *Inst, unsigned Insn,
180 static DecodeStatus DecodeAddrMode3Instruction(MCInst *Inst,unsigned Insn,
182 static DecodeStatus DecodeSORegImmOperand(MCInst *Inst, unsigned Insn,
184 static DecodeStatus DecodeSORegRegOperand(MCInst *Inst, unsigned Insn,
187 unsigned Insn, uint64_t Adddress, const void *Decoder);
188 static DecodeStatus DecodeT2MOVTWInstruction(MCInst *Inst, unsigned Insn,
190 static DecodeStatus DecodeArmMOVTWInstruction(MCInst *Inst, unsigned Insn,
192 static DecodeStatus DecodeSMLAInstruction(MCInst *Inst, unsigned Insn,
194 static DecodeStatus DecodeCPSInstruction(MCInst *Inst, unsigned Insn,
196 static DecodeStatus DecodeT2CPSInstruction(MCInst *Inst, unsigned Insn,
204 static DecodeStatus DecodeT2BInstruction(MCInst *Inst, unsigned Insn,
206 static DecodeStatus DecodeBranchImmInstruction(MCInst *Inst,unsigned Insn,
242 static DecodeStatus DecodeTBLInstruction(MCInst *Inst, unsigned Insn,
244 static DecodeStatus DecodePostIdxReg(MCInst *Inst, unsigned Insn,
246 static DecodeStatus DecodeCoprocessor(MCInst *Inst, unsigned Insn,
248 static DecodeStatus DecodeMemBarrierOption(MCInst *Inst, unsigned Insn,
250 static DecodeStatus DecodeInstSyncBarrierOption(MCInst *Inst, unsigned Insn,
252 static DecodeStatus DecodeMSRMask(MCInst *Inst, unsigned Insn,
254 static DecodeStatus DecodeDoubleRegLoad(MCInst *Inst, unsigned Insn,
256 static DecodeStatus DecodeDoubleRegStore(MCInst *Inst, unsigned Insn,
258 static DecodeStatus DecodeLDRPreImm(MCInst *Inst, unsigned Insn,
260 static DecodeStatus DecodeLDRPreReg(MCInst *Inst, unsigned Insn,
262 static DecodeStatus DecodeSTRPreImm(MCInst *Inst, unsigned Insn,
264 static DecodeStatus DecodeSTRPreReg(MCInst *Inst, unsigned Insn,
266 static DecodeStatus DecodeVLD1LN(MCInst *Inst, unsigned Insn,
268 static DecodeStatus DecodeVLD2LN(MCInst *Inst, unsigned Insn,
270 static DecodeStatus DecodeVLD3LN(MCInst *Inst, unsigned Insn,
272 static DecodeStatus DecodeVLD4LN(MCInst *Inst, unsigned Insn,
274 static DecodeStatus DecodeVST1LN(MCInst *Inst, unsigned Insn,
276 static DecodeStatus DecodeVST2LN(MCInst *Inst, unsigned Insn,
278 static DecodeStatus DecodeVST3LN(MCInst *Inst, unsigned Insn,
280 static DecodeStatus DecodeVST4LN(MCInst *Inst, unsigned Insn,
282 static DecodeStatus DecodeVMOVSRR(MCInst *Inst, unsigned Insn,
284 static DecodeStatus DecodeVMOVRRS(MCInst *Inst, unsigned Insn,
286 static DecodeStatus DecodeSwap(MCInst *Inst, unsigned Insn,
288 static DecodeStatus DecodeVCVTD(MCInst *Inst, unsigned Insn,
290 static DecodeStatus DecodeVCVTQ(MCInst *Inst, unsigned Insn,
292 static DecodeStatus DecodeThumbAddSpecialReg(MCInst *Inst, uint16_t Insn,
312 static DecodeStatus DecodeT2LoadImm8(MCInst *Inst, unsigned Insn,
314 static DecodeStatus DecodeT2LoadImm12(MCInst *Inst, unsigned Insn,
316 static DecodeStatus DecodeT2LoadT(MCInst *Inst, unsigned Insn,
318 static DecodeStatus DecodeT2LoadLabel(MCInst *Inst, unsigned Insn,
332 static DecodeStatus DecodeThumbAddSPReg(MCInst *Inst, uint16_t Insn,
334 static DecodeStatus DecodeThumbCPS(MCInst *Inst, uint16_t Insn,
336 static DecodeStatus DecodeQADDInstruction(MCInst *Inst, unsigned Insn,
338 static DecodeStatus DecodeThumbBLXOffset(MCInst *Inst, unsigned Insn,
354 static DecodeStatus DecodeT2LDRDPreInstruction(MCInst *Inst,unsigned Insn,
356 static DecodeStatus DecodeT2STRDPreInstruction(MCInst *Inst,unsigned Insn,
1366 static DecodeStatus DecodeCopMemInstruction(MCInst *Inst, unsigned Insn, in DecodeCopMemInstruction() argument
1371 unsigned pred = fieldFromInstruction_4(Insn, 28, 4); in DecodeCopMemInstruction()
1372 unsigned CRd = fieldFromInstruction_4(Insn, 12, 4); in DecodeCopMemInstruction()
1373 unsigned coproc = fieldFromInstruction_4(Insn, 8, 4); in DecodeCopMemInstruction()
1374 unsigned imm = fieldFromInstruction_4(Insn, 0, 8); in DecodeCopMemInstruction()
1375 unsigned Rn = fieldFromInstruction_4(Insn, 16, 4); in DecodeCopMemInstruction()
1376 unsigned U = fieldFromInstruction_4(Insn, 23, 1); in DecodeCopMemInstruction()
1511 static DecodeStatus DecodeAddrMode2IdxInstruction(MCInst *Inst, unsigned Insn, in DecodeAddrMode2IdxInstruction() argument
1518 unsigned Rn = fieldFromInstruction_4(Insn, 16, 4); in DecodeAddrMode2IdxInstruction()
1519 unsigned Rt = fieldFromInstruction_4(Insn, 12, 4); in DecodeAddrMode2IdxInstruction()
1520 unsigned Rm = fieldFromInstruction_4(Insn, 0, 4); in DecodeAddrMode2IdxInstruction()
1521 unsigned imm = fieldFromInstruction_4(Insn, 0, 12); in DecodeAddrMode2IdxInstruction()
1522 unsigned pred = fieldFromInstruction_4(Insn, 28, 4); in DecodeAddrMode2IdxInstruction()
1523 unsigned reg = fieldFromInstruction_4(Insn, 25, 1); in DecodeAddrMode2IdxInstruction()
1524 unsigned P = fieldFromInstruction_4(Insn, 24, 1); in DecodeAddrMode2IdxInstruction()
1525 unsigned W = fieldFromInstruction_4(Insn, 21, 1); in DecodeAddrMode2IdxInstruction()
1569 if (!fieldFromInstruction_4(Insn, 23, 1)) in DecodeAddrMode2IdxInstruction()
1585 switch( fieldFromInstruction_4(Insn, 5, 2)) { in DecodeAddrMode2IdxInstruction()
1601 amt = fieldFromInstruction_4(Insn, 7, 5); in DecodeAddrMode2IdxInstruction()
1663 static DecodeStatus DecodeAddrMode3Instruction(MCInst *Inst, unsigned Insn, in DecodeAddrMode3Instruction() argument
1668 unsigned Rt = fieldFromInstruction_4(Insn, 12, 4); in DecodeAddrMode3Instruction()
1669 unsigned Rn = fieldFromInstruction_4(Insn, 16, 4); in DecodeAddrMode3Instruction()
1670 unsigned Rm = fieldFromInstruction_4(Insn, 0, 4); in DecodeAddrMode3Instruction()
1671 unsigned type = fieldFromInstruction_4(Insn, 22, 1); in DecodeAddrMode3Instruction()
1672 unsigned imm = fieldFromInstruction_4(Insn, 8, 4); in DecodeAddrMode3Instruction()
1673 unsigned U = ((~fieldFromInstruction_4(Insn, 23, 1)) & 1) << 8; in DecodeAddrMode3Instruction()
1674 unsigned pred = fieldFromInstruction_4(Insn, 28, 4); in DecodeAddrMode3Instruction()
1675 unsigned W = fieldFromInstruction_4(Insn, 21, 1); in DecodeAddrMode3Instruction()
1676 unsigned P = fieldFromInstruction_4(Insn, 24, 1); in DecodeAddrMode3Instruction()
1707 if (!type && fieldFromInstruction_4(Insn, 8, 4)) in DecodeAddrMode3Instruction()
1856 static DecodeStatus DecodeRFEInstruction(MCInst *Inst, unsigned Insn, in DecodeRFEInstruction() argument
1861 unsigned Rn = fieldFromInstruction_4(Insn, 16, 4); in DecodeRFEInstruction()
1862 unsigned mode = fieldFromInstruction_4(Insn, 23, 2); in DecodeRFEInstruction()
1886 static DecodeStatus DecodeQADDInstruction(MCInst *Inst, unsigned Insn, in DecodeQADDInstruction() argument
1891 unsigned Rd = fieldFromInstruction_4(Insn, 12, 4); in DecodeQADDInstruction()
1892 unsigned Rm = fieldFromInstruction_4(Insn, 0, 4); in DecodeQADDInstruction()
1893 unsigned Rn = fieldFromInstruction_4(Insn, 16, 4); in DecodeQADDInstruction()
1894 unsigned pred = fieldFromInstruction_4(Insn, 28, 4); in DecodeQADDInstruction()
1897 return DecodeCPSInstruction(Inst, Insn, Address, Decoder); in DecodeQADDInstruction()
1911 unsigned Insn, uint64_t Address, const void *Decoder) in DecodeMemMultipleWritebackInstruction() argument
1915 unsigned Rn = fieldFromInstruction_4(Insn, 16, 4); in DecodeMemMultipleWritebackInstruction()
1916 unsigned pred = fieldFromInstruction_4(Insn, 28, 4); in DecodeMemMultipleWritebackInstruction()
1917 unsigned reglist = fieldFromInstruction_4(Insn, 0, 16); in DecodeMemMultipleWritebackInstruction()
1975 if (fieldFromInstruction_4(Insn, 20, 1) == 0) { in DecodeMemMultipleWritebackInstruction()
1977 if (!(fieldFromInstruction_4(Insn, 22, 1) == 1 && in DecodeMemMultipleWritebackInstruction()
1978 fieldFromInstruction_4(Insn, 20, 1) == 0)) in DecodeMemMultipleWritebackInstruction()
1981 MCOperand_CreateImm0(Inst, fieldFromInstruction_4(Insn, 0, 4)); in DecodeMemMultipleWritebackInstruction()
1985 return DecodeRFEInstruction(Inst, Insn, Address, Decoder); in DecodeMemMultipleWritebackInstruction()
2000 static DecodeStatus DecodeCPSInstruction(MCInst *Inst, unsigned Insn, in DecodeCPSInstruction() argument
2003 unsigned imod = fieldFromInstruction_4(Insn, 18, 2); in DecodeCPSInstruction()
2004 unsigned M = fieldFromInstruction_4(Insn, 17, 1); in DecodeCPSInstruction()
2005 unsigned iflags = fieldFromInstruction_4(Insn, 6, 3); in DecodeCPSInstruction()
2006 unsigned mode = fieldFromInstruction_4(Insn, 0, 5); in DecodeCPSInstruction()
2012 if (fieldFromInstruction_4(Insn, 5, 1) != 0 || in DecodeCPSInstruction()
2013 fieldFromInstruction_4(Insn, 16, 1) != 0 || in DecodeCPSInstruction()
2014 fieldFromInstruction_4(Insn, 20, 8) != 0x10) in DecodeCPSInstruction()
2048 static DecodeStatus DecodeT2CPSInstruction(MCInst *Inst, unsigned Insn, in DecodeT2CPSInstruction() argument
2051 unsigned imod = fieldFromInstruction_4(Insn, 9, 2); in DecodeT2CPSInstruction()
2052 unsigned M = fieldFromInstruction_4(Insn, 8, 1); in DecodeT2CPSInstruction()
2053 unsigned iflags = fieldFromInstruction_4(Insn, 5, 3); in DecodeT2CPSInstruction()
2054 unsigned mode = fieldFromInstruction_4(Insn, 0, 5); in DecodeT2CPSInstruction()
2081 int imm = fieldFromInstruction_4(Insn, 0, 8); in DecodeT2CPSInstruction()
2091 static DecodeStatus DecodeT2MOVTWInstruction(MCInst *Inst, unsigned Insn, in DecodeT2MOVTWInstruction() argument
2096 unsigned Rd = fieldFromInstruction_4(Insn, 8, 4); in DecodeT2MOVTWInstruction()
2099 imm |= (fieldFromInstruction_4(Insn, 0, 8) << 0); in DecodeT2MOVTWInstruction()
2100 imm |= (fieldFromInstruction_4(Insn, 12, 3) << 8); in DecodeT2MOVTWInstruction()
2101 imm |= (fieldFromInstruction_4(Insn, 16, 4) << 12); in DecodeT2MOVTWInstruction()
2102 imm |= (fieldFromInstruction_4(Insn, 26, 1) << 11); in DecodeT2MOVTWInstruction()
2115 static DecodeStatus DecodeArmMOVTWInstruction(MCInst *Inst, unsigned Insn, in DecodeArmMOVTWInstruction() argument
2120 unsigned Rd = fieldFromInstruction_4(Insn, 12, 4); in DecodeArmMOVTWInstruction()
2121 unsigned pred = fieldFromInstruction_4(Insn, 28, 4); in DecodeArmMOVTWInstruction()
2124 imm |= (fieldFromInstruction_4(Insn, 0, 12) << 0); in DecodeArmMOVTWInstruction()
2125 imm |= (fieldFromInstruction_4(Insn, 16, 4) << 12); in DecodeArmMOVTWInstruction()
2142 static DecodeStatus DecodeSMLAInstruction(MCInst *Inst, unsigned Insn, in DecodeSMLAInstruction() argument
2147 unsigned Rd = fieldFromInstruction_4(Insn, 16, 4); in DecodeSMLAInstruction()
2148 unsigned Rn = fieldFromInstruction_4(Insn, 0, 4); in DecodeSMLAInstruction()
2149 unsigned Rm = fieldFromInstruction_4(Insn, 8, 4); in DecodeSMLAInstruction()
2150 unsigned Ra = fieldFromInstruction_4(Insn, 12, 4); in DecodeSMLAInstruction()
2151 unsigned pred = fieldFromInstruction_4(Insn, 28, 4); in DecodeSMLAInstruction()
2154 return DecodeCPSInstruction(Inst, Insn, Address, Decoder); in DecodeSMLAInstruction()
2218 static DecodeStatus DecodeT2BInstruction(MCInst *Inst, unsigned Insn, in DecodeT2BInstruction() argument
2229 unsigned S = fieldFromInstruction_4(Insn, 26, 1); in DecodeT2BInstruction()
2230 unsigned J1 = fieldFromInstruction_4(Insn, 13, 1); in DecodeT2BInstruction()
2231 unsigned J2 = fieldFromInstruction_4(Insn, 11, 1); in DecodeT2BInstruction()
2234 unsigned imm10 = fieldFromInstruction_4(Insn, 16, 10); in DecodeT2BInstruction()
2235 unsigned imm11 = fieldFromInstruction_4(Insn, 0, 11); in DecodeT2BInstruction()
2243 static DecodeStatus DecodeBranchImmInstruction(MCInst *Inst, unsigned Insn, in DecodeBranchImmInstruction() argument
2248 unsigned pred = fieldFromInstruction_4(Insn, 28, 4); in DecodeBranchImmInstruction()
2249 unsigned imm = fieldFromInstruction_4(Insn, 0, 24) << 2; in DecodeBranchImmInstruction()
2253 imm |= fieldFromInstruction_4(Insn, 24, 1) << 1; in DecodeBranchImmInstruction()
2284 static DecodeStatus DecodeVLDInstruction(MCInst *Inst, unsigned Insn, in DecodeVLDInstruction() argument
2289 unsigned Rd = fieldFromInstruction_4(Insn, 12, 4); in DecodeVLDInstruction()
2290 Rd |= fieldFromInstruction_4(Insn, 22, 1) << 4; in DecodeVLDInstruction()
2291 wb = fieldFromInstruction_4(Insn, 16, 4); in DecodeVLDInstruction()
2292 Rn = fieldFromInstruction_4(Insn, 16, 4); in DecodeVLDInstruction()
2293 Rn |= fieldFromInstruction_4(Insn, 4, 2) << 4; in DecodeVLDInstruction()
2294 Rm = fieldFromInstruction_4(Insn, 0, 4); in DecodeVLDInstruction()
2559 static DecodeStatus DecodeVLDST1Instruction(MCInst *Inst, unsigned Insn, in DecodeVLDST1Instruction() argument
2563 unsigned type = fieldFromInstruction_4(Insn, 8, 4); in DecodeVLDST1Instruction()
2564 unsigned align = fieldFromInstruction_4(Insn, 4, 2); in DecodeVLDST1Instruction()
2569 load = fieldFromInstruction_4(Insn, 21, 1); in DecodeVLDST1Instruction()
2570 return load ? DecodeVLDInstruction(Inst, Insn, Address, Decoder) in DecodeVLDST1Instruction()
2571 : DecodeVSTInstruction(Inst, Insn, Address, Decoder); in DecodeVLDST1Instruction()
2574 static DecodeStatus DecodeVLDST2Instruction(MCInst *Inst, unsigned Insn, in DecodeVLDST2Instruction() argument
2578 unsigned size = fieldFromInstruction_4(Insn, 6, 2); in DecodeVLDST2Instruction()
2581 type = fieldFromInstruction_4(Insn, 8, 4); in DecodeVLDST2Instruction()
2582 align = fieldFromInstruction_4(Insn, 4, 2); in DecodeVLDST2Instruction()
2586 load = fieldFromInstruction_4(Insn, 21, 1); in DecodeVLDST2Instruction()
2587 return load ? DecodeVLDInstruction(Inst, Insn, Address, Decoder) in DecodeVLDST2Instruction()
2588 : DecodeVSTInstruction(Inst, Insn, Address, Decoder); in DecodeVLDST2Instruction()
2591 static DecodeStatus DecodeVLDST3Instruction(MCInst *Inst, unsigned Insn, in DecodeVLDST3Instruction() argument
2595 unsigned size = fieldFromInstruction_4(Insn, 6, 2); in DecodeVLDST3Instruction()
2598 align = fieldFromInstruction_4(Insn, 4, 2); in DecodeVLDST3Instruction()
2601 load = fieldFromInstruction_4(Insn, 21, 1); in DecodeVLDST3Instruction()
2602 return load ? DecodeVLDInstruction(Inst, Insn, Address, Decoder) in DecodeVLDST3Instruction()
2603 : DecodeVSTInstruction(Inst, Insn, Address, Decoder); in DecodeVLDST3Instruction()
2606 static DecodeStatus DecodeVLDST4Instruction(MCInst *Inst, unsigned Insn, in DecodeVLDST4Instruction() argument
2610 unsigned size = fieldFromInstruction_4(Insn, 6, 2); in DecodeVLDST4Instruction()
2613 load = fieldFromInstruction_4(Insn, 21, 1); in DecodeVLDST4Instruction()
2614 return load ? DecodeVLDInstruction(Inst, Insn, Address, Decoder) in DecodeVLDST4Instruction()
2615 : DecodeVSTInstruction(Inst, Insn, Address, Decoder); in DecodeVLDST4Instruction()
2618 static DecodeStatus DecodeVSTInstruction(MCInst *Inst, unsigned Insn, in DecodeVSTInstruction() argument
2623 unsigned Rd = fieldFromInstruction_4(Insn, 12, 4); in DecodeVSTInstruction()
2624 Rd |= fieldFromInstruction_4(Insn, 22, 1) << 4; in DecodeVSTInstruction()
2625 wb = fieldFromInstruction_4(Insn, 16, 4); in DecodeVSTInstruction()
2626 Rn = fieldFromInstruction_4(Insn, 16, 4); in DecodeVSTInstruction()
2627 Rn |= fieldFromInstruction_4(Insn, 4, 2) << 4; in DecodeVSTInstruction()
2628 Rm = fieldFromInstruction_4(Insn, 0, 4); in DecodeVSTInstruction()
2890 static DecodeStatus DecodeVLD1DupInstruction(MCInst *Inst, unsigned Insn, in DecodeVLD1DupInstruction() argument
2895 unsigned Rd = fieldFromInstruction_4(Insn, 12, 4); in DecodeVLD1DupInstruction()
2896 Rd |= fieldFromInstruction_4(Insn, 22, 1) << 4; in DecodeVLD1DupInstruction()
2897 Rn = fieldFromInstruction_4(Insn, 16, 4); in DecodeVLD1DupInstruction()
2898 Rm = fieldFromInstruction_4(Insn, 0, 4); in DecodeVLD1DupInstruction()
2899 align = fieldFromInstruction_4(Insn, 4, 1); in DecodeVLD1DupInstruction()
2900 size = fieldFromInstruction_4(Insn, 6, 2); in DecodeVLD1DupInstruction()
2938 static DecodeStatus DecodeVLD2DupInstruction(MCInst *Inst, unsigned Insn, in DecodeVLD2DupInstruction() argument
2943 unsigned Rd = fieldFromInstruction_4(Insn, 12, 4); in DecodeVLD2DupInstruction()
2944 Rd |= fieldFromInstruction_4(Insn, 22, 1) << 4; in DecodeVLD2DupInstruction()
2945 Rn = fieldFromInstruction_4(Insn, 16, 4); in DecodeVLD2DupInstruction()
2946 Rm = fieldFromInstruction_4(Insn, 0, 4); in DecodeVLD2DupInstruction()
2947 align = fieldFromInstruction_4(Insn, 4, 1); in DecodeVLD2DupInstruction()
2948 size = 1 << fieldFromInstruction_4(Insn, 6, 2); in DecodeVLD2DupInstruction()
2987 static DecodeStatus DecodeVLD3DupInstruction(MCInst *Inst, unsigned Insn, in DecodeVLD3DupInstruction() argument
2992 unsigned Rd = fieldFromInstruction_4(Insn, 12, 4); in DecodeVLD3DupInstruction()
2993 Rd |= fieldFromInstruction_4(Insn, 22, 1) << 4; in DecodeVLD3DupInstruction()
2994 Rn = fieldFromInstruction_4(Insn, 16, 4); in DecodeVLD3DupInstruction()
2995 Rm = fieldFromInstruction_4(Insn, 0, 4); in DecodeVLD3DupInstruction()
2996 inc = fieldFromInstruction_4(Insn, 5, 1) + 1; in DecodeVLD3DupInstruction()
3023 static DecodeStatus DecodeVLD4DupInstruction(MCInst *Inst, unsigned Insn, in DecodeVLD4DupInstruction() argument
3028 unsigned Rd = fieldFromInstruction_4(Insn, 12, 4); in DecodeVLD4DupInstruction()
3029 Rd |= fieldFromInstruction_4(Insn, 22, 1) << 4; in DecodeVLD4DupInstruction()
3030 Rn = fieldFromInstruction_4(Insn, 16, 4); in DecodeVLD4DupInstruction()
3031 Rm = fieldFromInstruction_4(Insn, 0, 4); in DecodeVLD4DupInstruction()
3032 size = fieldFromInstruction_4(Insn, 6, 2); in DecodeVLD4DupInstruction()
3033 inc = fieldFromInstruction_4(Insn, 5, 1) + 1; in DecodeVLD4DupInstruction()
3034 align = fieldFromInstruction_4(Insn, 4, 1); in DecodeVLD4DupInstruction()
3076 static DecodeStatus DecodeNEONModImmInstruction(MCInst *Inst, unsigned Insn, in DecodeNEONModImmInstruction() argument
3081 unsigned Rd = fieldFromInstruction_4(Insn, 12, 4); in DecodeNEONModImmInstruction()
3082 Rd |= fieldFromInstruction_4(Insn, 22, 1) << 4; in DecodeNEONModImmInstruction()
3083 imm = fieldFromInstruction_4(Insn, 0, 4); in DecodeNEONModImmInstruction()
3084 imm |= fieldFromInstruction_4(Insn, 16, 3) << 4; in DecodeNEONModImmInstruction()
3085 imm |= fieldFromInstruction_4(Insn, 24, 1) << 7; in DecodeNEONModImmInstruction()
3086 imm |= fieldFromInstruction_4(Insn, 8, 4) << 8; in DecodeNEONModImmInstruction()
3087 imm |= fieldFromInstruction_4(Insn, 5, 1) << 12; in DecodeNEONModImmInstruction()
3088 Q = fieldFromInstruction_4(Insn, 6, 1); in DecodeNEONModImmInstruction()
3122 static DecodeStatus DecodeVSHLMaxInstruction(MCInst *Inst, unsigned Insn, in DecodeVSHLMaxInstruction() argument
3127 unsigned Rd = fieldFromInstruction_4(Insn, 12, 4); in DecodeVSHLMaxInstruction()
3128 Rd |= fieldFromInstruction_4(Insn, 22, 1) << 4; in DecodeVSHLMaxInstruction()
3129 Rm = fieldFromInstruction_4(Insn, 0, 4); in DecodeVSHLMaxInstruction()
3130 Rm |= fieldFromInstruction_4(Insn, 5, 1) << 4; in DecodeVSHLMaxInstruction()
3131 size = fieldFromInstruction_4(Insn, 18, 2); in DecodeVSHLMaxInstruction()
3170 static DecodeStatus DecodeTBLInstruction(MCInst *Inst, unsigned Insn, in DecodeTBLInstruction() argument
3175 unsigned Rd = fieldFromInstruction_4(Insn, 12, 4); in DecodeTBLInstruction()
3176 Rd |= fieldFromInstruction_4(Insn, 22, 1) << 4; in DecodeTBLInstruction()
3177 Rn = fieldFromInstruction_4(Insn, 16, 4); in DecodeTBLInstruction()
3178 Rn |= fieldFromInstruction_4(Insn, 7, 1) << 4; in DecodeTBLInstruction()
3179 Rm = fieldFromInstruction_4(Insn, 0, 4); in DecodeTBLInstruction()
3180 Rm |= fieldFromInstruction_4(Insn, 5, 1) << 4; in DecodeTBLInstruction()
3181 op = fieldFromInstruction_4(Insn, 6, 1); in DecodeTBLInstruction()
3207 static DecodeStatus DecodeThumbAddSpecialReg(MCInst *Inst, uint16_t Insn, in DecodeThumbAddSpecialReg() argument
3212 unsigned dst = fieldFromInstruction_2(Insn, 8, 3); in DecodeThumbAddSpecialReg()
3213 unsigned imm = fieldFromInstruction_2(Insn, 0, 8); in DecodeThumbAddSpecialReg()
3333 static DecodeStatus DecodeT2LoadShift(MCInst *Inst, unsigned Insn, in DecodeT2LoadShift() argument
3338 unsigned Rt = fieldFromInstruction_4(Insn, 12, 4); in DecodeT2LoadShift()
3339 unsigned Rn = fieldFromInstruction_4(Insn, 16, 4); in DecodeT2LoadShift()
3368 return DecodeT2LoadLabel(Inst, Insn, Address, Decoder); in DecodeT2LoadShift()
3396 addrmode = fieldFromInstruction_4(Insn, 4, 2); in DecodeT2LoadShift()
3397 addrmode |= fieldFromInstruction_4(Insn, 0, 4) << 2; in DecodeT2LoadShift()
3398 addrmode |= fieldFromInstruction_4(Insn, 16, 4) << 6; in DecodeT2LoadShift()
3405 static DecodeStatus DecodeT2LoadImm8(MCInst *Inst, unsigned Insn, in DecodeT2LoadImm8() argument
3410 unsigned Rn = fieldFromInstruction_4(Insn, 16, 4); in DecodeT2LoadImm8()
3411 unsigned Rt = fieldFromInstruction_4(Insn, 12, 4); in DecodeT2LoadImm8()
3412 unsigned U = fieldFromInstruction_4(Insn, 9, 1); in DecodeT2LoadImm8()
3413 unsigned imm = fieldFromInstruction_4(Insn, 0, 8); in DecodeT2LoadImm8()
3443 return DecodeT2LoadLabel(Inst, Insn, Address, Decoder); in DecodeT2LoadImm8()
3470 static DecodeStatus DecodeT2LoadImm12(MCInst *Inst, unsigned Insn, in DecodeT2LoadImm12() argument
3475 unsigned Rn = fieldFromInstruction_4(Insn, 16, 4); in DecodeT2LoadImm12()
3476 unsigned Rt = fieldFromInstruction_4(Insn, 12, 4); in DecodeT2LoadImm12()
3477 unsigned imm = fieldFromInstruction_4(Insn, 0, 12); in DecodeT2LoadImm12()
3506 return DecodeT2LoadLabel(Inst, Insn, Address, Decoder); in DecodeT2LoadImm12()
3536 static DecodeStatus DecodeT2LoadT(MCInst *Inst, unsigned Insn, in DecodeT2LoadT() argument
3541 unsigned Rn = fieldFromInstruction_4(Insn, 16, 4); in DecodeT2LoadT()
3542 unsigned Rt = fieldFromInstruction_4(Insn, 12, 4); in DecodeT2LoadT()
3543 unsigned imm = fieldFromInstruction_4(Insn, 0, 8); in DecodeT2LoadT()
3566 return DecodeT2LoadLabel(Inst, Insn, Address, Decoder); in DecodeT2LoadT()
3576 static DecodeStatus DecodeT2LoadLabel(MCInst *Inst, unsigned Insn, in DecodeT2LoadLabel() argument
3581 unsigned Rt = fieldFromInstruction_4(Insn, 12, 4); in DecodeT2LoadLabel()
3582 unsigned U = fieldFromInstruction_4(Insn, 23, 1); in DecodeT2LoadLabel()
3583 int imm = fieldFromInstruction_4(Insn, 0, 12); in DecodeT2LoadLabel()
3729 static DecodeStatus DecodeT2LdStPre(MCInst *Inst, unsigned Insn, in DecodeT2LdStPre() argument
3734 unsigned Rt = fieldFromInstruction_4(Insn, 12, 4); in DecodeT2LdStPre()
3735 unsigned Rn = fieldFromInstruction_4(Insn, 16, 4); in DecodeT2LdStPre()
3736 unsigned addr = fieldFromInstruction_4(Insn, 0, 8); in DecodeT2LdStPre()
3737 addr |= fieldFromInstruction_4(Insn, 9, 1) << 8; in DecodeT2LdStPre()
3739 load = fieldFromInstruction_4(Insn, 20, 1); in DecodeT2LdStPre()
3769 return DecodeT2LoadLabel(Inst, Insn, Address, Decoder); in DecodeT2LdStPre()
3817 static DecodeStatus DecodeThumbAddSPImm(MCInst *Inst, uint16_t Insn, in DecodeThumbAddSPImm() argument
3820 unsigned imm = fieldFromInstruction_2(Insn, 0, 7); in DecodeThumbAddSPImm()
3829 static DecodeStatus DecodeThumbAddSPReg(MCInst *Inst, uint16_t Insn, in DecodeThumbAddSPReg() argument
3835 unsigned Rdm = fieldFromInstruction_2(Insn, 0, 3); in DecodeThumbAddSPReg()
3836 Rdm |= fieldFromInstruction_2(Insn, 7, 1) << 3; in DecodeThumbAddSPReg()
3844 unsigned Rm = fieldFromInstruction_2(Insn, 3, 4); in DecodeThumbAddSPReg()
3855 static DecodeStatus DecodeThumbCPS(MCInst *Inst, uint16_t Insn, in DecodeThumbCPS() argument
3858 unsigned imod = fieldFromInstruction_2(Insn, 4, 1) | 0x2; in DecodeThumbCPS()
3859 unsigned flags = fieldFromInstruction_2(Insn, 0, 3); in DecodeThumbCPS()
3867 static DecodeStatus DecodePostIdxReg(MCInst *Inst, unsigned Insn, in DecodePostIdxReg() argument
3871 unsigned Rm = fieldFromInstruction_4(Insn, 0, 4); in DecodePostIdxReg()
3872 unsigned add = fieldFromInstruction_4(Insn, 4, 1); in DecodePostIdxReg()
3913 static DecodeStatus DecodeThumbTableBranch(MCInst *Inst, unsigned Insn, in DecodeThumbTableBranch() argument
3918 unsigned Rn = fieldFromInstruction_4(Insn, 16, 4); in DecodeThumbTableBranch()
3919 unsigned Rm = fieldFromInstruction_4(Insn, 0, 4); in DecodeThumbTableBranch()
3929 static DecodeStatus DecodeThumb2BCCInstruction(MCInst *Inst, unsigned Insn, in DecodeThumb2BCCInstruction() argument
3934 unsigned pred = fieldFromInstruction_4(Insn, 22, 4); in DecodeThumb2BCCInstruction()
3937 unsigned opc = fieldFromInstruction_4(Insn, 4, 28); in DecodeThumb2BCCInstruction()
3952 imm = fieldFromInstruction_4(Insn, 0, 4); in DecodeThumb2BCCInstruction()
3956 brtarget = fieldFromInstruction_4(Insn, 0, 11) << 1; in DecodeThumb2BCCInstruction()
3957 brtarget |= fieldFromInstruction_4(Insn, 11, 1) << 19; in DecodeThumb2BCCInstruction()
3958 brtarget |= fieldFromInstruction_4(Insn, 13, 1) << 18; in DecodeThumb2BCCInstruction()
3959 brtarget |= fieldFromInstruction_4(Insn, 16, 6) << 12; in DecodeThumb2BCCInstruction()
3960 brtarget |= fieldFromInstruction_4(Insn, 26, 1) << 20; in DecodeThumb2BCCInstruction()
4107 static DecodeStatus DecodeDoubleRegLoad(MCInst *Inst, unsigned Insn, in DecodeDoubleRegLoad() argument
4112 unsigned Rt = fieldFromInstruction_4(Insn, 12, 4); in DecodeDoubleRegLoad()
4113 unsigned Rn = fieldFromInstruction_4(Insn, 16, 4); in DecodeDoubleRegLoad()
4114 unsigned pred = fieldFromInstruction_4(Insn, 28, 4); in DecodeDoubleRegLoad()
4129 static DecodeStatus DecodeDoubleRegStore(MCInst *Inst, unsigned Insn, in DecodeDoubleRegStore() argument
4134 unsigned Rd = fieldFromInstruction_4(Insn, 12, 4); in DecodeDoubleRegStore()
4135 unsigned Rt = fieldFromInstruction_4(Insn, 0, 4); in DecodeDoubleRegStore()
4136 unsigned Rn = fieldFromInstruction_4(Insn, 16, 4); in DecodeDoubleRegStore()
4137 unsigned pred = fieldFromInstruction_4(Insn, 28, 4); in DecodeDoubleRegStore()
4155 static DecodeStatus DecodeLDRPreImm(MCInst *Inst, unsigned Insn, in DecodeLDRPreImm() argument
4160 unsigned Rn = fieldFromInstruction_4(Insn, 16, 4); in DecodeLDRPreImm()
4161 unsigned Rt = fieldFromInstruction_4(Insn, 12, 4); in DecodeLDRPreImm()
4162 unsigned imm = fieldFromInstruction_4(Insn, 0, 12); in DecodeLDRPreImm()
4163 imm |= fieldFromInstruction_4(Insn, 16, 4) << 13; in DecodeLDRPreImm()
4164 imm |= fieldFromInstruction_4(Insn, 23, 1) << 12; in DecodeLDRPreImm()
4165 pred = fieldFromInstruction_4(Insn, 28, 4); in DecodeLDRPreImm()
4181 static DecodeStatus DecodeLDRPreReg(MCInst *Inst, unsigned Insn, in DecodeLDRPreReg() argument
4186 unsigned Rn = fieldFromInstruction_4(Insn, 16, 4); in DecodeLDRPreReg()
4187 unsigned Rt = fieldFromInstruction_4(Insn, 12, 4); in DecodeLDRPreReg()
4188 unsigned imm = fieldFromInstruction_4(Insn, 0, 12); in DecodeLDRPreReg()
4189 imm |= fieldFromInstruction_4(Insn, 16, 4) << 13; in DecodeLDRPreReg()
4190 imm |= fieldFromInstruction_4(Insn, 23, 1) << 12; in DecodeLDRPreReg()
4191 pred = fieldFromInstruction_4(Insn, 28, 4); in DecodeLDRPreReg()
4192 Rm = fieldFromInstruction_4(Insn, 0, 4); in DecodeLDRPreReg()
4209 static DecodeStatus DecodeSTRPreImm(MCInst *Inst, unsigned Insn, in DecodeSTRPreImm() argument
4214 unsigned Rn = fieldFromInstruction_4(Insn, 16, 4); in DecodeSTRPreImm()
4215 unsigned Rt = fieldFromInstruction_4(Insn, 12, 4); in DecodeSTRPreImm()
4216 unsigned imm = fieldFromInstruction_4(Insn, 0, 12); in DecodeSTRPreImm()
4217 imm |= fieldFromInstruction_4(Insn, 16, 4) << 13; in DecodeSTRPreImm()
4218 imm |= fieldFromInstruction_4(Insn, 23, 1) << 12; in DecodeSTRPreImm()
4219 pred = fieldFromInstruction_4(Insn, 28, 4); in DecodeSTRPreImm()
4235 static DecodeStatus DecodeSTRPreReg(MCInst *Inst, unsigned Insn, in DecodeSTRPreReg() argument
4240 unsigned Rn = fieldFromInstruction_4(Insn, 16, 4); in DecodeSTRPreReg()
4241 unsigned Rt = fieldFromInstruction_4(Insn, 12, 4); in DecodeSTRPreReg()
4242 unsigned imm = fieldFromInstruction_4(Insn, 0, 12); in DecodeSTRPreReg()
4243 imm |= fieldFromInstruction_4(Insn, 16, 4) << 13; in DecodeSTRPreReg()
4244 imm |= fieldFromInstruction_4(Insn, 23, 1) << 12; in DecodeSTRPreReg()
4245 pred = fieldFromInstruction_4(Insn, 28, 4); in DecodeSTRPreReg()
4261 static DecodeStatus DecodeVLD1LN(MCInst *Inst, unsigned Insn, in DecodeVLD1LN() argument
4266 unsigned Rn = fieldFromInstruction_4(Insn, 16, 4); in DecodeVLD1LN()
4267 unsigned Rm = fieldFromInstruction_4(Insn, 0, 4); in DecodeVLD1LN()
4268 unsigned Rd = fieldFromInstruction_4(Insn, 12, 4); in DecodeVLD1LN()
4269 Rd |= fieldFromInstruction_4(Insn, 22, 1) << 4; in DecodeVLD1LN()
4270 size = fieldFromInstruction_4(Insn, 10, 2); in DecodeVLD1LN()
4276 if (fieldFromInstruction_4(Insn, 4, 1)) in DecodeVLD1LN()
4278 index = fieldFromInstruction_4(Insn, 5, 3); in DecodeVLD1LN()
4281 if (fieldFromInstruction_4(Insn, 5, 1)) in DecodeVLD1LN()
4283 index = fieldFromInstruction_4(Insn, 6, 2); in DecodeVLD1LN()
4284 if (fieldFromInstruction_4(Insn, 4, 1)) in DecodeVLD1LN()
4288 if (fieldFromInstruction_4(Insn, 6, 1)) in DecodeVLD1LN()
4290 index = fieldFromInstruction_4(Insn, 7, 1); in DecodeVLD1LN()
4292 switch (fieldFromInstruction_4(Insn, 4, 2)) { in DecodeVLD1LN()
4327 static DecodeStatus DecodeVST1LN(MCInst *Inst, unsigned Insn, in DecodeVST1LN() argument
4332 unsigned Rn = fieldFromInstruction_4(Insn, 16, 4); in DecodeVST1LN()
4333 unsigned Rm = fieldFromInstruction_4(Insn, 0, 4); in DecodeVST1LN()
4334 unsigned Rd = fieldFromInstruction_4(Insn, 12, 4); in DecodeVST1LN()
4335 Rd |= fieldFromInstruction_4(Insn, 22, 1) << 4; in DecodeVST1LN()
4336 size = fieldFromInstruction_4(Insn, 10, 2); in DecodeVST1LN()
4342 if (fieldFromInstruction_4(Insn, 4, 1)) in DecodeVST1LN()
4344 index = fieldFromInstruction_4(Insn, 5, 3); in DecodeVST1LN()
4347 if (fieldFromInstruction_4(Insn, 5, 1)) in DecodeVST1LN()
4349 index = fieldFromInstruction_4(Insn, 6, 2); in DecodeVST1LN()
4350 if (fieldFromInstruction_4(Insn, 4, 1)) in DecodeVST1LN()
4354 if (fieldFromInstruction_4(Insn, 6, 1)) in DecodeVST1LN()
4356 index = fieldFromInstruction_4(Insn, 7, 1); in DecodeVST1LN()
4358 switch (fieldFromInstruction_4(Insn, 4, 2)) { in DecodeVST1LN()
4391 static DecodeStatus DecodeVLD2LN(MCInst *Inst, unsigned Insn, in DecodeVLD2LN() argument
4396 unsigned Rn = fieldFromInstruction_4(Insn, 16, 4); in DecodeVLD2LN()
4397 unsigned Rm = fieldFromInstruction_4(Insn, 0, 4); in DecodeVLD2LN()
4398 unsigned Rd = fieldFromInstruction_4(Insn, 12, 4); in DecodeVLD2LN()
4399 Rd |= fieldFromInstruction_4(Insn, 22, 1) << 4; in DecodeVLD2LN()
4400 size = fieldFromInstruction_4(Insn, 10, 2); in DecodeVLD2LN()
4406 index = fieldFromInstruction_4(Insn, 5, 3); in DecodeVLD2LN()
4407 if (fieldFromInstruction_4(Insn, 4, 1)) in DecodeVLD2LN()
4411 index = fieldFromInstruction_4(Insn, 6, 2); in DecodeVLD2LN()
4412 if (fieldFromInstruction_4(Insn, 4, 1)) in DecodeVLD2LN()
4414 if (fieldFromInstruction_4(Insn, 5, 1)) in DecodeVLD2LN()
4418 if (fieldFromInstruction_4(Insn, 5, 1)) in DecodeVLD2LN()
4420 index = fieldFromInstruction_4(Insn, 7, 1); in DecodeVLD2LN()
4421 if (fieldFromInstruction_4(Insn, 4, 1) != 0) in DecodeVLD2LN()
4423 if (fieldFromInstruction_4(Insn, 6, 1)) in DecodeVLD2LN()
4456 static DecodeStatus DecodeVST2LN(MCInst *Inst, unsigned Insn, in DecodeVST2LN() argument
4461 unsigned Rn = fieldFromInstruction_4(Insn, 16, 4); in DecodeVST2LN()
4462 unsigned Rm = fieldFromInstruction_4(Insn, 0, 4); in DecodeVST2LN()
4463 unsigned Rd = fieldFromInstruction_4(Insn, 12, 4); in DecodeVST2LN()
4464 Rd |= fieldFromInstruction_4(Insn, 22, 1) << 4; in DecodeVST2LN()
4465 size = fieldFromInstruction_4(Insn, 10, 2); in DecodeVST2LN()
4471 index = fieldFromInstruction_4(Insn, 5, 3); in DecodeVST2LN()
4472 if (fieldFromInstruction_4(Insn, 4, 1)) in DecodeVST2LN()
4476 index = fieldFromInstruction_4(Insn, 6, 2); in DecodeVST2LN()
4477 if (fieldFromInstruction_4(Insn, 4, 1)) in DecodeVST2LN()
4479 if (fieldFromInstruction_4(Insn, 5, 1)) in DecodeVST2LN()
4483 if (fieldFromInstruction_4(Insn, 5, 1)) in DecodeVST2LN()
4485 index = fieldFromInstruction_4(Insn, 7, 1); in DecodeVST2LN()
4486 if (fieldFromInstruction_4(Insn, 4, 1) != 0) in DecodeVST2LN()
4488 if (fieldFromInstruction_4(Insn, 6, 1)) in DecodeVST2LN()
4517 static DecodeStatus DecodeVLD3LN(MCInst *Inst, unsigned Insn, in DecodeVLD3LN() argument
4522 unsigned Rn = fieldFromInstruction_4(Insn, 16, 4); in DecodeVLD3LN()
4523 unsigned Rm = fieldFromInstruction_4(Insn, 0, 4); in DecodeVLD3LN()
4524 unsigned Rd = fieldFromInstruction_4(Insn, 12, 4); in DecodeVLD3LN()
4525 Rd |= fieldFromInstruction_4(Insn, 22, 1) << 4; in DecodeVLD3LN()
4526 size = fieldFromInstruction_4(Insn, 10, 2); in DecodeVLD3LN()
4532 if (fieldFromInstruction_4(Insn, 4, 1)) in DecodeVLD3LN()
4534 index = fieldFromInstruction_4(Insn, 5, 3); in DecodeVLD3LN()
4537 if (fieldFromInstruction_4(Insn, 4, 1)) in DecodeVLD3LN()
4539 index = fieldFromInstruction_4(Insn, 6, 2); in DecodeVLD3LN()
4540 if (fieldFromInstruction_4(Insn, 5, 1)) in DecodeVLD3LN()
4544 if (fieldFromInstruction_4(Insn, 4, 2)) in DecodeVLD3LN()
4546 index = fieldFromInstruction_4(Insn, 7, 1); in DecodeVLD3LN()
4547 if (fieldFromInstruction_4(Insn, 6, 1)) in DecodeVLD3LN()
4585 static DecodeStatus DecodeVST3LN(MCInst *Inst, unsigned Insn, in DecodeVST3LN() argument
4590 unsigned Rn = fieldFromInstruction_4(Insn, 16, 4); in DecodeVST3LN()
4591 unsigned Rm = fieldFromInstruction_4(Insn, 0, 4); in DecodeVST3LN()
4592 unsigned Rd = fieldFromInstruction_4(Insn, 12, 4); in DecodeVST3LN()
4593 Rd |= fieldFromInstruction_4(Insn, 22, 1) << 4; in DecodeVST3LN()
4594 size = fieldFromInstruction_4(Insn, 10, 2); in DecodeVST3LN()
4600 if (fieldFromInstruction_4(Insn, 4, 1)) in DecodeVST3LN()
4602 index = fieldFromInstruction_4(Insn, 5, 3); in DecodeVST3LN()
4605 if (fieldFromInstruction_4(Insn, 4, 1)) in DecodeVST3LN()
4607 index = fieldFromInstruction_4(Insn, 6, 2); in DecodeVST3LN()
4608 if (fieldFromInstruction_4(Insn, 5, 1)) in DecodeVST3LN()
4612 if (fieldFromInstruction_4(Insn, 4, 2)) in DecodeVST3LN()
4614 index = fieldFromInstruction_4(Insn, 7, 1); in DecodeVST3LN()
4615 if (fieldFromInstruction_4(Insn, 6, 1)) in DecodeVST3LN()
4646 static DecodeStatus DecodeVLD4LN(MCInst *Inst, unsigned Insn, in DecodeVLD4LN() argument
4651 unsigned Rn = fieldFromInstruction_4(Insn, 16, 4); in DecodeVLD4LN()
4652 unsigned Rm = fieldFromInstruction_4(Insn, 0, 4); in DecodeVLD4LN()
4653 unsigned Rd = fieldFromInstruction_4(Insn, 12, 4); in DecodeVLD4LN()
4654 Rd |= fieldFromInstruction_4(Insn, 22, 1) << 4; in DecodeVLD4LN()
4655 size = fieldFromInstruction_4(Insn, 10, 2); in DecodeVLD4LN()
4661 if (fieldFromInstruction_4(Insn, 4, 1)) in DecodeVLD4LN()
4663 index = fieldFromInstruction_4(Insn, 5, 3); in DecodeVLD4LN()
4666 if (fieldFromInstruction_4(Insn, 4, 1)) in DecodeVLD4LN()
4668 index = fieldFromInstruction_4(Insn, 6, 2); in DecodeVLD4LN()
4669 if (fieldFromInstruction_4(Insn, 5, 1)) in DecodeVLD4LN()
4673 switch (fieldFromInstruction_4(Insn, 4, 2)) { in DecodeVLD4LN()
4679 align = 4 << fieldFromInstruction_4(Insn, 4, 2); break; in DecodeVLD4LN()
4682 index = fieldFromInstruction_4(Insn, 7, 1); in DecodeVLD4LN()
4683 if (fieldFromInstruction_4(Insn, 6, 1)) in DecodeVLD4LN()
4725 static DecodeStatus DecodeVST4LN(MCInst *Inst, unsigned Insn, in DecodeVST4LN() argument
4730 unsigned Rn = fieldFromInstruction_4(Insn, 16, 4); in DecodeVST4LN()
4731 unsigned Rm = fieldFromInstruction_4(Insn, 0, 4); in DecodeVST4LN()
4732 unsigned Rd = fieldFromInstruction_4(Insn, 12, 4); in DecodeVST4LN()
4733 Rd |= fieldFromInstruction_4(Insn, 22, 1) << 4; in DecodeVST4LN()
4734 size = fieldFromInstruction_4(Insn, 10, 2); in DecodeVST4LN()
4740 if (fieldFromInstruction_4(Insn, 4, 1)) in DecodeVST4LN()
4742 index = fieldFromInstruction_4(Insn, 5, 3); in DecodeVST4LN()
4745 if (fieldFromInstruction_4(Insn, 4, 1)) in DecodeVST4LN()
4747 index = fieldFromInstruction_4(Insn, 6, 2); in DecodeVST4LN()
4748 if (fieldFromInstruction_4(Insn, 5, 1)) in DecodeVST4LN()
4752 switch (fieldFromInstruction_4(Insn, 4, 2)) { in DecodeVST4LN()
4758 align = 4 << fieldFromInstruction_4(Insn, 4, 2); break; in DecodeVST4LN()
4761 index = fieldFromInstruction_4(Insn, 7, 1); in DecodeVST4LN()
4762 if (fieldFromInstruction_4(Insn, 6, 1)) in DecodeVST4LN()
4795 static DecodeStatus DecodeVMOVSRR(MCInst *Inst, unsigned Insn, in DecodeVMOVSRR() argument
4799 unsigned Rt = fieldFromInstruction_4(Insn, 12, 4); in DecodeVMOVSRR()
4800 unsigned Rt2 = fieldFromInstruction_4(Insn, 16, 4); in DecodeVMOVSRR()
4801 unsigned Rm = fieldFromInstruction_4(Insn, 5, 1); in DecodeVMOVSRR()
4802 unsigned pred = fieldFromInstruction_4(Insn, 28, 4); in DecodeVMOVSRR()
4803 Rm |= fieldFromInstruction_4(Insn, 0, 4) << 1; in DecodeVMOVSRR()
4822 static DecodeStatus DecodeVMOVRRS(MCInst *Inst, unsigned Insn, in DecodeVMOVRRS() argument
4826 unsigned Rt = fieldFromInstruction_4(Insn, 12, 4); in DecodeVMOVRRS()
4827 unsigned Rt2 = fieldFromInstruction_4(Insn, 16, 4); in DecodeVMOVRRS()
4828 unsigned Rm = fieldFromInstruction_4(Insn, 5, 1); in DecodeVMOVRRS()
4829 unsigned pred = fieldFromInstruction_4(Insn, 28, 4); in DecodeVMOVRRS()
4830 Rm |= fieldFromInstruction_4(Insn, 0, 4) << 1; in DecodeVMOVRRS()
4849 static DecodeStatus DecodeIT(MCInst *Inst, unsigned Insn, in DecodeIT() argument
4853 unsigned pred = fieldFromInstruction_4(Insn, 4, 4); in DecodeIT()
4854 unsigned mask = fieldFromInstruction_4(Insn, 0, 4); in DecodeIT()
4869 static DecodeStatus DecodeT2LDRDPreInstruction(MCInst *Inst, unsigned Insn, in DecodeT2LDRDPreInstruction() argument
4874 unsigned Rt = fieldFromInstruction_4(Insn, 12, 4); in DecodeT2LDRDPreInstruction()
4875 unsigned Rt2 = fieldFromInstruction_4(Insn, 8, 4); in DecodeT2LDRDPreInstruction()
4876 unsigned Rn = fieldFromInstruction_4(Insn, 16, 4); in DecodeT2LDRDPreInstruction()
4877 unsigned addr = fieldFromInstruction_4(Insn, 0, 8); in DecodeT2LDRDPreInstruction()
4878 unsigned W = fieldFromInstruction_4(Insn, 21, 1); in DecodeT2LDRDPreInstruction()
4879 unsigned U = fieldFromInstruction_4(Insn, 23, 1); in DecodeT2LDRDPreInstruction()
4880 unsigned P = fieldFromInstruction_4(Insn, 24, 1); in DecodeT2LDRDPreInstruction()
4906 static DecodeStatus DecodeT2STRDPreInstruction(MCInst *Inst, unsigned Insn, in DecodeT2STRDPreInstruction() argument
4911 unsigned Rt = fieldFromInstruction_4(Insn, 12, 4); in DecodeT2STRDPreInstruction()
4912 unsigned Rt2 = fieldFromInstruction_4(Insn, 8, 4); in DecodeT2STRDPreInstruction()
4913 unsigned Rn = fieldFromInstruction_4(Insn, 16, 4); in DecodeT2STRDPreInstruction()
4914 unsigned addr = fieldFromInstruction_4(Insn, 0, 8); in DecodeT2STRDPreInstruction()
4915 unsigned W = fieldFromInstruction_4(Insn, 21, 1); in DecodeT2STRDPreInstruction()
4916 unsigned U = fieldFromInstruction_4(Insn, 23, 1); in DecodeT2STRDPreInstruction()
4917 unsigned P = fieldFromInstruction_4(Insn, 24, 1); in DecodeT2STRDPreInstruction()
4941 static DecodeStatus DecodeT2Adr(MCInst *Inst, uint32_t Insn, in DecodeT2Adr() argument
4945 unsigned sign1 = fieldFromInstruction_4(Insn, 21, 1); in DecodeT2Adr()
4946 unsigned sign2 = fieldFromInstruction_4(Insn, 23, 1); in DecodeT2Adr()
4949 Val = fieldFromInstruction_4(Insn, 0, 8); in DecodeT2Adr()
4950 Val |= fieldFromInstruction_4(Insn, 12, 3) << 8; in DecodeT2Adr()
4951 Val |= fieldFromInstruction_4(Insn, 26, 1) << 11; in DecodeT2Adr()
4969 static DecodeStatus DecodeSwap(MCInst *Inst, unsigned Insn, in DecodeSwap() argument
4974 unsigned Rt = fieldFromInstruction_4(Insn, 12, 4); in DecodeSwap()
4975 unsigned Rt2 = fieldFromInstruction_4(Insn, 0, 4); in DecodeSwap()
4976 unsigned Rn = fieldFromInstruction_4(Insn, 16, 4); in DecodeSwap()
4977 unsigned pred = fieldFromInstruction_4(Insn, 28, 4); in DecodeSwap()
4980 return DecodeCPSInstruction(Inst, Insn, Address, Decoder); in DecodeSwap()
4999 static DecodeStatus DecodeVCVTD(MCInst *Inst, unsigned Insn, in DecodeVCVTD() argument
5004 unsigned Vd = (fieldFromInstruction_4(Insn, 12, 4) << 0); in DecodeVCVTD()
5005 Vd |= (fieldFromInstruction_4(Insn, 22, 1) << 4); in DecodeVCVTD()
5006 Vm = (fieldFromInstruction_4(Insn, 0, 4) << 0); in DecodeVCVTD()
5007 Vm |= (fieldFromInstruction_4(Insn, 5, 1) << 4); in DecodeVCVTD()
5008 imm = fieldFromInstruction_4(Insn, 16, 6); in DecodeVCVTD()
5009 cmode = fieldFromInstruction_4(Insn, 8, 4); in DecodeVCVTD()
5010 op = fieldFromInstruction_4(Insn, 5, 1); in DecodeVCVTD()
5016 return DecodeNEONModImmInstruction(Inst, Insn, Address, Decoder); in DecodeVCVTD()
5030 static DecodeStatus DecodeVCVTQ(MCInst *Inst, unsigned Insn, in DecodeVCVTQ() argument
5035 unsigned Vd = (fieldFromInstruction_4(Insn, 12, 4) << 0); in DecodeVCVTQ()
5036 Vd |= (fieldFromInstruction_4(Insn, 22, 1) << 4); in DecodeVCVTQ()
5037 Vm = (fieldFromInstruction_4(Insn, 0, 4) << 0); in DecodeVCVTQ()
5038 Vm |= (fieldFromInstruction_4(Insn, 5, 1) << 4); in DecodeVCVTQ()
5039 imm = fieldFromInstruction_4(Insn, 16, 6); in DecodeVCVTQ()
5040 cmode = fieldFromInstruction_4(Insn, 8, 4); in DecodeVCVTQ()
5041 op = fieldFromInstruction_4(Insn, 5, 1); in DecodeVCVTQ()
5047 return DecodeNEONModImmInstruction(Inst, Insn, Address, Decoder); in DecodeVCVTQ()