Lines Matching refs:asmstr

40 class FI16_ins<bits<5> op, string asmstr, InstrItinClass itin>:
42 !strconcat(asmstr, "\t$imm16 # 16 bit inst"), [], itin>;
49 class FI816_ins_base<bits<3> _func, string asmstr,
51 FI816<_func, (outs), (ins simm16:$imm), !strconcat(asmstr, asmstr2),
54 class FI816_ins<bits<3> _func, string asmstr,
56 FI816_ins_base<_func, asmstr, "\t$imm # 16 bit inst", itin>;
58 class FI816_SP_ins<bits<3> _func, string asmstr,
60 FI816_ins_base<_func, asmstr, "\t$$sp, $imm # 16 bit inst", itin>;
67 class FRI16_ins_base<bits<5> op, string asmstr, string asmstr2,
70 !strconcat(asmstr, asmstr2), [], itin>;
72 class FRI16_ins<bits<5> op, string asmstr,
74 FRI16_ins_base<op, asmstr, "\t$rx, $imm \t# 16 bit inst", itin>;
76 class FRI16_TCP_ins<bits<5> _op, string asmstr,
79 !strconcat(asmstr, "\t$rx, $imm\t# 16 bit inst"), [], itin>;
81 class FRI16R_ins_base<bits<5> op, string asmstr, string asmstr2,
84 !strconcat(asmstr, asmstr2), [], itin>;
86 class FRI16R_ins<bits<5> op, string asmstr,
88 FRI16R_ins_base<op, asmstr, "\t$rx, $imm \t# 16 bit inst", itin>;
90 class F2RI16_ins<bits<5> _op, string asmstr,
93 !strconcat(asmstr, "\t$rx, $imm\t# 16 bit inst"), [], itin> {
97 class FRI16_B_ins<bits<5> _op, string asmstr,
100 !strconcat(asmstr, "\t$rx, $imm # 16 bit inst"), [], itin>;
107 class FEXT_CCRXI16_ins<string asmstr>:
109 !strconcat(asmstr, "\t$rx, $imm\n\tmove\t$cc, $$t8"), []> {
116 class FJAL16_ins<bits<1> _X, string asmstr,
119 !strconcat(asmstr, "\t$imm\n\tnop"),[],
125 class FJALB16_ins<bits<1> _X, string asmstr,
128 !strconcat(asmstr, "\t$imm\t# branch\n\tnop"),[],
137 class FEXT_I16_ins<bits<5> eop, string asmstr, InstrItinClass itin> :
139 !strconcat(asmstr, "\t$imm16"),[], itin>;
145 class FEXT_I816_ins_base<bits<3> _func, string asmstr,
147 FEXT_I816<_func, (outs), (ins simm16:$imm), !strconcat(asmstr, asmstr2),
150 class FEXT_I816_ins<bits<3> _func, string asmstr,
152 FEXT_I816_ins_base<_func, asmstr, "\t$imm", itin>;
154 class FEXT_I816_SP_ins<bits<3> _func, string asmstr,
156 FEXT_I816_ins_base<_func, asmstr, "\t$$sp, $imm", itin>;
167 class FCCRR16_ins<string asmstr> :
169 !strconcat(asmstr, "\t$rx, $ry\n\tmove\t$cc, $$t8"), []> {
178 class FEXT_RI16_ins_base<bits<5> _op, string asmstr, string asmstr2,
181 !strconcat(asmstr, asmstr2), [], itin>;
183 class FEXT_RI16_ins<bits<5> _op, string asmstr,
185 FEXT_RI16_ins_base<_op, asmstr, "\t$rx, $imm", itin>;
187 class FEXT_RI16R_ins_base<bits<5> _op, string asmstr, string asmstr2,
190 !strconcat(asmstr, asmstr2), [], itin>;
192 class FEXT_RI16R_ins<bits<5> _op, string asmstr,
194 FEXT_RI16R_ins_base<_op, asmstr, "\t$rx, $imm", itin>;
196 class FEXT_RI16_PC_ins<bits<5> _op, string asmstr, InstrItinClass itin>:
197 FEXT_RI16_ins_base<_op, asmstr, "\t$rx, $$pc, $imm", itin>;
199 class FEXT_RI16_B_ins<bits<5> _op, string asmstr,
202 !strconcat(asmstr, "\t$rx, $imm"), [], itin>;
204 class FEXT_RI16_TCP_ins<bits<5> _op, string asmstr,
207 !strconcat(asmstr, "\t$rx, $imm"), [], itin>;
209 class FEXT_2RI16_ins<bits<5> _op, string asmstr,
212 !strconcat(asmstr, "\t$rx, $imm"), [], itin> {
219 class FEXT_RI16_SP_explicit_ins<bits<5> _op, string asmstr,
222 !strconcat(asmstr, "\t$rx, $imm ( $ry ); "), [], itin>;
224 class FEXT_RI16_SP_Store_explicit_ins<bits<5> _op, string asmstr,
227 !strconcat(asmstr, "\t$rx, $imm ( $ry ); "), [], itin>;
233 class FEXT_RRI16_mem_ins<bits<5> op, string asmstr, Operand MemOpnd,
236 !strconcat(asmstr, "\t$ry, $addr"), [], itin>;
238 class FEXT_RRI16_mem2_ins<bits<5> op, string asmstr, Operand MemOpnd,
241 !strconcat(asmstr, "\t$ry, $addr"), [], itin>;
248 class FEXT_RRI_A16_mem_ins<bits<1> op, string asmstr, Operand MemOpnd,
251 !strconcat(asmstr, "\t$ry, $addr"), [], itin>;
256 class FEXT_SHIFT16_ins<bits<2> _f, string asmstr, InstrItinClass itin>:
258 !strconcat(asmstr, "\t$rx, $ry, $sa"), [], itin>;
263 class FEXT_T8I816_ins<string asmstr, string asmstr2>:
267 !strconcat(asmstr, "\t$imm"))),[]> {
275 class FEXT_T8I8I16_ins<string asmstr, string asmstr2>:
279 !strconcat(asmstr, "\t$targ"))), []> {
289 class FI8_MOVR3216_ins<string asmstr, InstrItinClass itin>:
291 !strconcat(asmstr, "\t$rz, $r32"), [], itin>;
297 class FI8_MOV32R16_ins<string asmstr, InstrItinClass itin>:
299 !strconcat(asmstr, "\t$r32, $rz"), [], itin>;
307 class FMULT16_ins<string asmstr, InstrItinClass itin> :
309 !strconcat(asmstr, "\t$rx, $ry"), []>;
314 class FMULT16_LO_ins<string asmstr, InstrItinClass itin> :
316 !strconcat(asmstr, "\t$rx, $ry\n\tmflo\t$rz"), []> {
324 class FRR16_ins<bits<5> f, string asmstr, InstrItinClass itin> :
326 !strconcat(asmstr, "\t$rx, $ry"), [], itin> {
329 class FRRBreakNull16_ins<string asmstr, InstrItinClass itin> :
330 FRRBreak16<(outs), (ins), asmstr, [], itin> {
334 class FRR16R_ins<bits<5> f, string asmstr, InstrItinClass itin> :
336 !strconcat(asmstr, "\t$rx, $ry"), [], itin> {
339 class FRRTR16_ins<string asmstr> :
341 !strconcat(asmstr, "\t$rx, $ry\n\tmove\t$rz, $$t8"), []> ;
346 class FRR16_div_ins<bits<5> f, string asmstr, InstrItinClass itin> :
348 !strconcat(asmstr, "\t$$zero, $rx, $ry"), [], itin> ;
350 class FUnaryRR16_ins<bits<5> f, string asmstr, InstrItinClass itin> :
352 !strconcat(asmstr, "\t$rx, $ry"), [], itin> ;
355 class FRR16_M_ins<bits<5> f, string asmstr,
358 !strconcat(asmstr, "\t$rx"), [], itin>;
360 class FRxRxRy16_ins<bits<5> f, string asmstr,
363 !strconcat(asmstr, "\t$rz, $ry"),
370 string asmstr, InstrItinClass itin>:
371 FRR16_JALRC<nd_, l_, 1, (outs), (ins), !strconcat(asmstr, "\t $$ra"),
376 string asmstr, InstrItinClass itin>:
378 !strconcat(asmstr, "\t $rx"), [], itin> ;
382 string asmstr, InstrItinClass itin>:
384 !strconcat(asmstr, "\t $rx"),
392 class FRRR16_ins<bits<2> _f, string asmstr, InstrItinClass itin> :
394 !strconcat(asmstr, "\t$rz, $rx, $ry"), [], itin>;