@@ -74,66 +74,13 @@ static unsigned getReg(const MCDisassembler *D, unsigned RC, unsigned RegNo) {
74
74
return *(RegInfo->getRegClass (RC).begin () + RegNo);
75
75
}
76
76
77
- static DecodeStatus DecodeGRRegsRegisterClass (MCInst &Inst, unsigned RegNo,
78
- uint64_t Address,
79
- const MCDisassembler *Decoder);
80
-
81
- static DecodeStatus DecodeRRegsRegisterClass (MCInst &Inst, unsigned RegNo,
82
- uint64_t Address,
83
- const MCDisassembler *Decoder);
84
-
85
- static DecodeStatus DecodeBitpOperand (MCInst &Inst, unsigned Val,
86
- uint64_t Address,
87
- const MCDisassembler *Decoder);
88
-
89
- static DecodeStatus DecodeNegImmOperand (MCInst &Inst, unsigned Val,
90
- uint64_t Address,
91
- const MCDisassembler *Decoder);
92
-
93
- static DecodeStatus Decode2RInstruction (MCInst &Inst, unsigned Insn,
94
- uint64_t Address,
95
- const MCDisassembler *Decoder);
96
-
97
- static DecodeStatus Decode2RImmInstruction (MCInst &Inst, unsigned Insn,
98
- uint64_t Address,
99
- const MCDisassembler *Decoder);
100
-
101
- static DecodeStatus DecodeR2RInstruction (MCInst &Inst, unsigned Insn,
102
- uint64_t Address,
103
- const MCDisassembler *Decoder);
104
-
105
- static DecodeStatus Decode2RSrcDstInstruction (MCInst &Inst, unsigned Insn,
106
- uint64_t Address,
107
- const MCDisassembler *Decoder);
108
-
109
- static DecodeStatus DecodeRUSInstruction (MCInst &Inst, unsigned Insn,
110
- uint64_t Address,
111
- const MCDisassembler *Decoder);
112
-
113
- static DecodeStatus DecodeRUSBitpInstruction (MCInst &Inst, unsigned Insn,
114
- uint64_t Address,
115
- const MCDisassembler *Decoder);
116
-
117
- static DecodeStatus
118
- DecodeRUSSrcDstBitpInstruction (MCInst &Inst, unsigned Insn, uint64_t Address,
119
- const MCDisassembler *Decoder);
120
-
121
- static DecodeStatus DecodeL2RInstruction (MCInst &Inst, unsigned Insn,
122
- uint64_t Address,
123
- const MCDisassembler *Decoder);
124
-
125
- static DecodeStatus DecodeLR2RInstruction (MCInst &Inst, unsigned Insn,
126
- uint64_t Address,
127
- const MCDisassembler *Decoder);
128
-
129
77
static DecodeStatus Decode3RInstruction (MCInst &Inst, unsigned Insn,
130
78
uint64_t Address,
131
79
const MCDisassembler *Decoder);
132
80
133
81
static DecodeStatus Decode3RImmInstruction (MCInst &Inst, unsigned Insn,
134
82
uint64_t Address,
135
83
const MCDisassembler *Decoder);
136
-
137
84
static DecodeStatus Decode2RUSInstruction (MCInst &Inst, unsigned Insn,
138
85
uint64_t Address,
139
86
const MCDisassembler *Decoder);
@@ -158,24 +105,6 @@ static DecodeStatus DecodeL2RUSBitpInstruction(MCInst &Inst, unsigned Insn,
158
105
uint64_t Address,
159
106
const MCDisassembler *Decoder);
160
107
161
- static DecodeStatus DecodeL6RInstruction (MCInst &Inst, unsigned Insn,
162
- uint64_t Address,
163
- const MCDisassembler *Decoder);
164
-
165
- static DecodeStatus DecodeL5RInstruction (MCInst &Inst, unsigned Insn,
166
- uint64_t Address,
167
- const MCDisassembler *Decoder);
168
-
169
- static DecodeStatus DecodeL4RSrcDstInstruction (MCInst &Inst, unsigned Insn,
170
- uint64_t Address,
171
- const MCDisassembler *Decoder);
172
-
173
- static DecodeStatus
174
- DecodeL4RSrcDstSrcDstInstruction (MCInst &Inst, unsigned Insn, uint64_t Address,
175
- const MCDisassembler *Decoder);
176
-
177
- #include " XCoreGenDisassemblerTables.inc"
178
-
179
108
static DecodeStatus DecodeGRRegsRegisterClass (MCInst &Inst, unsigned RegNo,
180
109
uint64_t Address,
181
110
const MCDisassembler *Decoder) {
@@ -713,6 +642,8 @@ DecodeL4RSrcDstSrcDstInstruction(MCInst &Inst, unsigned Insn, uint64_t Address,
713
642
return S;
714
643
}
715
644
645
+ #include " XCoreGenDisassemblerTables.inc"
646
+
716
647
MCDisassembler::DecodeStatus
717
648
XCoreDisassembler::getInstruction (MCInst &instr, uint64_t &Size,
718
649
ArrayRef<uint8_t > Bytes, uint64_t Address,
0 commit comments