Home | History | Annotate | Download | only in mips64

Lines Matching refs:Instruction

5 // A Disassembler object is used to disassemble a block of code instruction by
6 // instruction. The default implementation of the NameConverter object can be
58 // Writes one disassembled instruction into 'buffer' (0-terminated).
59 // Returns the length of the disassembled machine instruction in bytes.
60 int InstructionDecode(byte* instruction);
71 void PrintRs(Instruction* instr);
72 void PrintRt(Instruction* instr);
73 void PrintRd(Instruction* instr);
74 void PrintFs(Instruction* instr);
75 void PrintFt(Instruction* instr);
76 void PrintFd(Instruction* instr);
77 void PrintSa(Instruction* instr);
78 void PrintLsaSa(Instruction* instr);
79 void PrintSd(Instruction* instr);
80 void PrintSs1(Instruction* instr);
81 void PrintSs2(Instruction* instr);
82 void PrintBc(Instruction* instr);
83 void PrintCc(Instruction* instr);
84 void PrintFunction(Instruction* instr);
85 void PrintSecondaryField(Instruction* instr);
86 void PrintUImm16(Instruction* instr);
87 void PrintSImm16(Instruction* instr);
88 void PrintXImm16(Instruction* instr);
89 void PrintPCImm16(Instruction* instr, int delta_pc, int n_bits);
90 void PrintXImm18(Instruction* instr);
91 void PrintSImm18(Instruction* instr);
92 void PrintXImm19(Instruction* instr);
93 void PrintSImm19(Instruction* instr);
94 void PrintXImm21(Instruction* instr);
95 void PrintSImm21(Instruction* instr);
96 void PrintPCImm21(Instruction* instr, int delta_pc, int n_bits);
97 void PrintXImm26(Instruction* instr);
98 void PrintSImm26(Instruction* instr);
99 void PrintPCImm26(Instruction* instr, int delta_pc, int n_bits);
100 void PrintPCImm26(Instruction* instr);
101 void PrintCode(Instruction* instr); // For break and trap instructions.
102 void PrintFormat(Instruction* instr); // For floating format postfix.
103 void PrintBp2(Instruction* instr);
104 void PrintBp3(Instruction* instr);
105 // Printing of instruction name.
106 void PrintInstructionName(Instruction* instr);
109 int FormatRegister(Instruction* instr, const char* option);
110 int FormatFPURegister(Instruction* instr, const char* option);
111 int FormatOption(Instruction* instr, const char* option);
112 void Format(Instruction* instr, const char* format);
113 void Unknown(Instruction* instr);
114 int DecodeBreakInstr(Instruction* instr);
116 // Each of these functions decodes one particular instruction type.
117 bool DecodeTypeRegisterRsType(Instruction* instr);
118 void DecodeTypeRegisterSRsType(Instruction* instr);
119 void DecodeTypeRegisterDRsType(Instruction* instr);
120 void DecodeTypeRegisterLRsType(Instruction* instr);
121 void DecodeTypeRegisterWRsType(Instruction* instr);
122 void DecodeTypeRegisterSPECIAL(Instruction* instr);
123 void DecodeTypeRegisterSPECIAL2(Instruction* instr);
124 void DecodeTypeRegisterSPECIAL3(Instruction* instr);
125 void DecodeTypeRegisterCOP1(Instruction* instr);
126 void DecodeTypeRegisterCOP1X(Instruction* instr);
127 int DecodeTypeRegister(Instruction* instr);
129 void DecodeTypeImmediateCOP1(Instruction* instr);
130 void DecodeTypeImmediateREGIMM(Instruction* instr);
131 void DecodeTypeImmediate(Instruction* instr);
133 void DecodeTypeJump(Instruction* instr);
171 void Decoder::PrintRs(Instruction* instr) {
177 void Decoder::PrintRt(Instruction* instr) {
183 void Decoder::PrintRd(Instruction* instr) {
206 void Decoder::PrintFs(Instruction* instr) {
212 void Decoder::PrintFt(Instruction* instr) {
218 void Decoder::PrintFd(Instruction* instr) {
225 void Decoder::PrintSa(Instruction* instr) {
231 // Print the integer value of the sa field of a lsa instruction.
232 void Decoder::PrintLsaSa(Instruction* instr) {
239 void Decoder::PrintSd(Instruction* instr) {
246 void Decoder::PrintSs1(Instruction* instr) {
253 void Decoder::PrintSs2(Instruction* instr) {
262 void Decoder::PrintBc(Instruction* instr) {
269 void Decoder::PrintCc(Instruction* instr) {
276 void Decoder::PrintUImm16(Instruction* instr) {
283 void Decoder::PrintSImm16(Instruction* instr) {
291 void Decoder::PrintXImm16(Instruction* instr) {
300 void Decoder::PrintPCImm16(Instruction* instr, int delta_pc, int n_bits) {
310 void Decoder::PrintSImm18(Instruction* instr) {
318 void Decoder::PrintXImm18(Instruction* instr) {
325 void Decoder::PrintXImm19(Instruction* instr) {
332 void Decoder::PrintSImm19(Instruction* instr) {
342 void Decoder::PrintXImm21(Instruction* instr) {
349 void Decoder::PrintSImm21(Instruction* instr) {
361 void Decoder::PrintPCImm21(Instruction* instr, int delta_pc, int n_bits) {
374 void Decoder::PrintXImm26(Instruction* instr) {
384 void Decoder::PrintSImm26(Instruction* instr) {
396 void Decoder::PrintPCImm26(Instruction* instr, int delta_pc, int n_bits) {
411 void Decoder::PrintPCImm26(Instruction* instr) {
421 void Decoder::PrintBp2(Instruction* instr) {
427 void Decoder::PrintBp3(Instruction* instr) {
434 void Decoder::PrintCode(Instruction* instr) {
436 return; // Not a break or trap instruction.
455 default: // Not a break or trap instruction.
461 void Decoder::PrintFormat(Instruction* instr) {
484 // Printing of instruction name.
485 void Decoder::PrintInstructionName(Instruction* instr) {
491 int Decoder::FormatRegister(Instruction* instr, const char* format) {
513 int Decoder::FormatFPURegister(Instruction* instr, const char* format) {
562 int Decoder::FormatOption(Instruction* instr, const char* format) {
776 // Format takes a formatting string for a whole instruction and prints it into
779 void Decoder::Format(Instruction* instr, const char* format) {
794 // which will just print "unknown" of the instruction bits.
795 void Decoder::Unknown(Instruction* instr) {
800 int Decoder::DecodeBreakInstr(Instruction* instr) {
808 reinterpret_cast<int32_t*>(instr + Instruction::kInstrSize)),
810 *reinterpret_cast<char**>(instr + Instruction::kInstrSize)));
812 return 3 * Instruction::kInstrSize;
815 return Instruction::kInstrSize;
820 bool Decoder::DecodeTypeRegisterRsType(Instruction* instr) {
956 void Decoder::DecodeTypeRegisterSRsType(Instruction* instr) {
976 void Decoder::DecodeTypeRegisterDRsType(Instruction* instr) {
993 void Decoder::DecodeTypeRegisterLRsType(Instruction* instr) {
1040 void Decoder::DecodeTypeRegisterWRsType(Instruction* instr) {
1087 void Decoder::DecodeTypeRegisterCOP1(Instruction* instr) {
1132 void Decoder::DecodeTypeRegisterCOP1X(Instruction* instr) {
1152 void Decoder::DecodeTypeRegisterSPECIAL(Instruction* instr) {
1441 void Decoder::DecodeTypeRegisterSPECIAL2(Instruction* instr) {
1462 void Decoder::DecodeTypeRegisterSPECIAL3(Instruction* instr) {
1559 int Decoder::DecodeTypeRegister(Instruction* instr) {
1585 return Instruction::kInstrSize;
1589 void Decoder::DecodeTypeImmediateCOP1(Instruction* instr) {
1610 void Decoder::DecodeTypeImmediateREGIMM(Instruction* instr) {
1643 void Decoder::DecodeTypeImmediate(Instruction* instr) {
1740 // Check if BOVC, BEQZALC or BEQC instruction.
1759 // Check if BNVC, BNEZALC or BNEC instruction.
1925 void Decoder::DecodeTypeJump(Instruction* instr) {
1939 // Disassemble the instruction at *instr_ptr into the output buffer.
1941 // psuedo-instruction stop(msg). For that one special case, we return
1944 Instruction* instr = Instruction::At(instr_ptr);
1945 // Print raw instruction bytes.
1950 case Instruction::kRegisterType: {
1953 case Instruction::kImmediateType: {
1957 case Instruction::kJumpType: {
1966 return Instruction::kInstrSize;
2022 byte* instruction) {
2024 return d.InstructionDecode(instruction);
2029 int Disassembler::ConstantPoolSizeAt(byte* instruction) {