Lines Matching refs:bits

26 class Format<bits<4> val> {
27 bits<4> Value = val;
74 field bits<32> Inst;
81 bits<6> Opcode = 0;
83 // Top 6 bits are the 'opcode' field
96 bits<4> FormBits = Form.Value;
111 field bits<32> SoftFail = 0;
151 class FR<bits<6> op, bits<6> _funct, dag outs, dag ins, string asmstr,
155 bits<5> rd;
156 bits<5> rs;
157 bits<5> rt;
158 bits<5> shamt;
159 bits<6> funct;
175 class FJ<bits<6> op> : StdArch
177 bits<26> target;
179 bits<32> Inst;
188 class MFC3OP_FM<bits<6> op, bits<5> mfmt, bits<3> guest> : StdArch {
189 bits<5> rt;
190 bits<5> rd;
191 bits<3> sel;
193 bits<32> Inst;
204 class MFC2OP_FM<bits<6> op, bits<5> mfmt> : StdArch {
205 bits<5> rt;
206 bits<16> imm16;
208 bits<32> Inst;
216 class ADD_FM<bits<6> op, bits<6> funct> : StdArch {
217 bits<5> rd;
218 bits<5> rs;
219 bits<5> rt;
221 bits<32> Inst;
231 class ADDI_FM<bits<6> op> : StdArch {
232 bits<5> rs;
233 bits<5> rt;
234 bits<16> imm16;
236 bits<32> Inst;
244 class SRA_FM<bits<6> funct, bit rotate> : StdArch {
245 bits<5> rd;
246 bits<5> rt;
247 bits<5> shamt;
249 bits<32> Inst;
260 class SRLV_FM<bits<6> funct, bit rotate> : StdArch {
261 bits<5> rd;
262 bits<5> rt;
263 bits<5> rs;
265 bits<32> Inst;
276 class BEQ_FM<bits<6> op> : StdArch {
277 bits<5> rs;
278 bits<5> rt;
279 bits<16> offset;
281 bits<32> Inst;
289 class BGEZ_FM<bits<6> op, bits<5> funct> : StdArch {
290 bits<5> rs;
291 bits<16> offset;
293 bits<32> Inst;
301 class BBIT_FM<bits<6> op> : StdArch {
302 bits<5> rs;
303 bits<5> p;
304 bits<16> offset;
306 bits<32> Inst;
314 class SLTI_FM<bits<6> op> : StdArch {
315 bits<5> rt;
316 bits<5> rs;
317 bits<16> imm16;
319 bits<32> Inst;
327 class MFLO_FM<bits<6> funct> : StdArch {
328 bits<5> rd;
330 bits<32> Inst;
339 class MTLO_FM<bits<6> funct> : StdArch {
340 bits<5> rs;
342 bits<32> Inst;
350 class SEB_FM<bits<5> funct, bits<6> funct2> : StdArch {
351 bits<5> rd;
352 bits<5> rt;
354 bits<32> Inst;
364 class CLO_FM<bits<6> funct> : StdArch {
365 bits<5> rd;
366 bits<5> rs;
367 bits<5> rt;
369 bits<32> Inst;
381 bits<5> rt;
382 bits<16> imm16;
384 bits<32> Inst;
393 bits<5> rd;
394 bits<5> rs;
396 bits<32> Inst;
406 class BGEZAL_FM<bits<5> funct> : StdArch {
407 bits<5> rs;
408 bits<16> offset;
410 bits<32> Inst;
419 bits<5> stype;
421 bits<32> Inst;
430 bits<21> addr;
431 bits<5> rs = addr{20-16};
432 bits<16> offset = addr{15-0};
434 bits<32> Inst;
442 class MULT_FM<bits<6> op, bits<6> funct> : StdArch {
443 bits<5> rs;
444 bits<5> rt;
446 bits<32> Inst;
455 class EXT_FM<bits<6> funct> : StdArch {
456 bits<5> rt;
457 bits<5> rs;
458 bits<5> pos;
459 bits<5> size;
461 bits<32> Inst;
472 bits<5> rt;
473 bits<5> rd;
474 bits<3> sel;
476 bits<32> Inst;
487 class TEQ_FM<bits<6> funct> : StdArch {
488 bits<5> rs;
489 bits<5> rt;
490 bits<10> code_;
492 bits<32> Inst;
501 class TEQI_FM<bits<5> funct> : StdArch {
502 bits<5> rs;
503 bits<16> imm16;
505 bits<32> Inst;
514 bits<32> Inst;
522 class EXTS_FM<bits<6> funct> : StdArch {
523 bits<5> rt;
524 bits<5> rs;
525 bits<5> pos;
526 bits<5> lenm1;
528 bits<32> Inst;
538 class MTMR_FM<bits<6> funct> : StdArch {
539 bits<5> rs;
541 bits<32> Inst;
549 class POP_FM<bits<6> funct> : StdArch {
550 bits<5> rd;
551 bits<5> rs;
553 bits<32> Inst;
563 class SEQ_FM<bits<6> funct> : StdArch {
564 bits<5> rd;
565 bits<5> rs;
566 bits<5> rt;
568 bits<32> Inst;
578 class SEQI_FM<bits<6> funct> : StdArch {
579 bits<5> rs;
580 bits<5> rt;
581 bits<10> imm10;
583 bits<32> Inst;
592 class SAA_FM<bits<6> funct> : StdArch {
593 bits<5> rt;
594 bits<5> rs;
596 bits<32> Inst;
609 class SYS_FM<bits<6> funct> : StdArch
611 bits<20> code_;
612 bits<32> Inst;
622 class BRK_FM<bits<6> funct> : StdArch
624 bits<10> code_1;
625 bits<10> code_2;
626 bits<32> Inst;
637 class ER_FM<bits<6> funct, bit LLBit> : StdArch
639 bits<32> Inst;
651 class EI_FM<bits<1> sc> : StdArch
653 bits<32> Inst;
654 bits<5> rt;
681 class ADDS_FM<bits<6> funct, bits<5> fmt> : StdArch {
682 bits<5> fd;
683 bits<5> fs;
684 bits<5> ft;
686 bits<32> Inst;
696 class ABSS_FM<bits<6> funct, bits<5> fmt> : StdArch {
697 bits<5> fd;
698 bits<5> fs;
700 bits<32> Inst;
710 class MFC1_FM<bits<5> funct> : StdArch {
711 bits<5> rt;
712 bits<5> fs;
714 bits<32> Inst;
723 class LW_FM<bits<6> op> : StdArch {
724 bits<5> rt;
725 bits<21> addr;
727 bits<32> Inst;
735 class MADDS_FM<bits<3> funct, bits<3> fmt> : StdArch {
736 bits<5> fd;
737 bits<5> fr;
738 bits<5> fs;
739 bits<5> ft;
741 bits<32> Inst;
752 class LWXC1_FM<bits<6> funct> : StdArch {
753 bits<5> fd;
754 bits<5> base;
755 bits<5> index;
757 bits<32> Inst;
767 class SWXC1_FM<bits<6> funct> : StdArch {
768 bits<5> fs;
769 bits<5> base;
770 bits<5> index;
772 bits<32> Inst;
783 bits<3> fcc;
784 bits<16> offset;
786 bits<32> Inst;
796 class CEQS_FM<bits<5> fmt> : StdArch {
797 bits<5> fs;
798 bits<5> ft;
799 bits<3> fcc;
800 bits<4> cond;
802 bits<32> Inst;
813 class C_COND_FM<bits<5> fmt, bits<4> c> : CEQS_FM<fmt> {
817 class CMov_I_F_FM<bits<6> funct, bits<5> fmt> : StdArch {
818 bits<5> fd;
819 bits<5> fs;
820 bits<5> rt;
822 bits<32> Inst;
833 bits<5> rd;
834 bits<5> rs;
835 bits<3> fcc;
837 bits<32> Inst;
849 class CMov_F_F_FM<bits<5> fmt, bit tf> : StdArch {
850 bits<5> fd;
851 bits<5> fs;
852 bits<3> fcc;
854 bits<32> Inst;
866 class BARRIER_FM<bits<5> op> : StdArch {
867 bits<32> Inst;
878 bits<20> code_;
880 bits<32> Inst;
887 class JR_HB_FM<bits<6> op> : StdArch{
888 bits<5> rs;
890 bits<32> Inst;
900 class JALR_HB_FM<bits<6> op> : StdArch {
901 bits<5> rd;
902 bits<5> rs;
904 bits<32> Inst;
915 class COP0_TLB_FM<bits<6> op> : StdArch {
916 bits<32> Inst;
924 class CACHEOP_FM<bits<6> op> : StdArch {
925 bits<21> addr;
926 bits<5> hint;
927 bits<5> base = addr{20-16};
928 bits<16> offset = addr{15-0};
930 bits<32> Inst;
938 class HYPCALL_FM<bits<6> op> : StdArch {
939 bits<10> code_;
941 bits<32> Inst;