Lines Matching refs:Insn

98 static DecodeStatus decodeFIOARr(MCInst &Inst, unsigned Insn,
101 static DecodeStatus decodeFIORdA(MCInst &Inst, unsigned Insn,
104 static DecodeStatus decodeFIOBIT(MCInst &Inst, unsigned Insn,
107 static DecodeStatus decodeCallTarget(MCInst &Inst, unsigned Insn,
110 static DecodeStatus decodeFRd(MCInst &Inst, unsigned Insn,
113 static DecodeStatus decodeFLPMX(MCInst &Inst, unsigned Insn,
116 static DecodeStatus decodeFFMULRdRr(MCInst &Inst, unsigned Insn,
119 static DecodeStatus decodeFMOVWRdRr(MCInst &Inst, unsigned Insn,
122 static DecodeStatus decodeFWRdK(MCInst &Inst, unsigned Insn,
125 static DecodeStatus decodeFMUL2RdRr(MCInst &Inst, unsigned Insn,
130 static DecodeStatus decodeFIOARr(MCInst &Inst, unsigned Insn, in decodeFIOARr() argument
133 addr |= fieldFromInstruction(Insn, 0, 4); in decodeFIOARr()
134 addr |= fieldFromInstruction(Insn, 9, 2) << 4; in decodeFIOARr()
135 unsigned reg = fieldFromInstruction(Insn, 4, 5); in decodeFIOARr()
142 static DecodeStatus decodeFIORdA(MCInst &Inst, unsigned Insn, in decodeFIORdA() argument
145 addr |= fieldFromInstruction(Insn, 0, 4); in decodeFIORdA()
146 addr |= fieldFromInstruction(Insn, 9, 2) << 4; in decodeFIORdA()
147 unsigned reg = fieldFromInstruction(Insn, 4, 5); in decodeFIORdA()
154 static DecodeStatus decodeFIOBIT(MCInst &Inst, unsigned Insn, in decodeFIOBIT() argument
156 unsigned addr = fieldFromInstruction(Insn, 3, 5); in decodeFIOBIT()
157 unsigned b = fieldFromInstruction(Insn, 0, 3); in decodeFIOBIT()
171 static DecodeStatus decodeFRd(MCInst &Inst, unsigned Insn, in decodeFRd() argument
173 unsigned d = fieldFromInstruction(Insn, 4, 5); in decodeFRd()
179 static DecodeStatus decodeFLPMX(MCInst &Inst, unsigned Insn, in decodeFLPMX() argument
181 if (decodeFRd(Inst, Insn, Address, Decoder) == MCDisassembler::Fail) in decodeFLPMX()
187 static DecodeStatus decodeFFMULRdRr(MCInst &Inst, unsigned Insn, in decodeFFMULRdRr() argument
189 unsigned d = fieldFromInstruction(Insn, 4, 3) + 16; in decodeFFMULRdRr()
190 unsigned r = fieldFromInstruction(Insn, 0, 3) + 16; in decodeFFMULRdRr()
198 static DecodeStatus decodeFMOVWRdRr(MCInst &Inst, unsigned Insn, in decodeFMOVWRdRr() argument
200 unsigned r = fieldFromInstruction(Insn, 4, 4) * 2; in decodeFMOVWRdRr()
201 unsigned d = fieldFromInstruction(Insn, 0, 4) * 2; in decodeFMOVWRdRr()
209 static DecodeStatus decodeFWRdK(MCInst &Inst, unsigned Insn, in decodeFWRdK() argument
211 unsigned d = fieldFromInstruction(Insn, 4, 2) * 2 + 24; // starts at r24:r25 in decodeFWRdK()
213 k |= fieldFromInstruction(Insn, 0, 4); in decodeFWRdK()
214 k |= fieldFromInstruction(Insn, 6, 2) << 4; in decodeFWRdK()
223 static DecodeStatus decodeFMUL2RdRr(MCInst &Inst, unsigned Insn, in decodeFMUL2RdRr() argument
225 unsigned rd = fieldFromInstruction(Insn, 4, 4) + 16; in decodeFMUL2RdRr()
226 unsigned rr = fieldFromInstruction(Insn, 0, 4) + 16; in decodeFMUL2RdRr()
235 uint64_t &Size, uint32_t &Insn) { in readInstruction16() argument
242 Insn = (Bytes[0] << 0) | (Bytes[1] << 8); in readInstruction16()
248 uint64_t &Size, uint32_t &Insn) { in readInstruction32() argument
256 Insn = (Bytes[0] << 16) | (Bytes[1] << 24) | (Bytes[2] << 0) | (Bytes[3] << 8); in readInstruction32()
274 uint32_t Insn; in getInstruction() local
280 Result = readInstruction16(Bytes, Address, Size, Insn); in getInstruction()
286 Insn, Address, this, STI); in getInstruction()
294 Result = readInstruction32(Bytes, Address, Size, Insn); in getInstruction()
298 Result = decodeInstruction(getDecoderTable(Size), Instr, Insn, in getInstruction()