Lines Matching refs:bits

27 class Format<bits<4> val> {
28 bits<4> Value = val;
75 field bits<32> Inst;
82 bits<6> Opcode = 0;
84 // Top 6 bits are the 'opcode' field
97 bits<4> FormBits = Form.Value;
109 field bits<32> SoftFail = 0;
148 class FR<bits<6> op, bits<6> _funct, dag outs, dag ins, string asmstr,
152 bits<5> rd;
153 bits<5> rs;
154 bits<5> rt;
155 bits<5> shamt;
156 bits<6> funct;
172 class FI<bits<6> op, dag outs, dag ins, string asmstr, list<dag> pattern,
175 bits<5> rt;
176 bits<5> rs;
177 bits<16> imm16;
186 class BranchBase<bits<6> op, dag outs, dag ins, string asmstr,
190 bits<5> rs;
191 bits<5> rt;
192 bits<16> imm16;
205 class FJ<bits<6> op> : StdArch
207 bits<26> target;
209 bits<32> Inst;
218 class MFC3OP_FM<bits<6> op, bits<5> mfmt>
220 bits<5> rt;
221 bits<5> rd;
222 bits<3> sel;
224 bits<32> Inst;
234 class MFC2OP_FM<bits<6> op, bits<5> mfmt> : StdArch {
235 bits<5> rt;
236 bits<16> imm16;
238 bits<32> Inst;
246 class ADD_FM<bits<6> op, bits<6> funct> : StdArch {
247 bits<5> rd;
248 bits<5> rs;
249 bits<5> rt;
251 bits<32> Inst;
261 class ADDI_FM<bits<6> op> : StdArch {
262 bits<5> rs;
263 bits<5> rt;
264 bits<16> imm16;
266 bits<32> Inst;
274 class SRA_FM<bits<6> funct, bit rotate> : StdArch {
275 bits<5> rd;
276 bits<5> rt;
277 bits<5> shamt;
279 bits<32> Inst;
290 class SRLV_FM<bits<6> funct, bit rotate> : StdArch {
291 bits<5> rd;
292 bits<5> rt;
293 bits<5> rs;
295 bits<32> Inst;
306 class BEQ_FM<bits<6> op> : StdArch {
307 bits<5> rs;
308 bits<5> rt;
309 bits<16> offset;
311 bits<32> Inst;
319 class BGEZ_FM<bits<6> op, bits<5> funct> : StdArch {
320 bits<5> rs;
321 bits<16> offset;
323 bits<32> Inst;
331 class BBIT_FM<bits<6> op> : StdArch {
332 bits<5> rs;
333 bits<5> p;
334 bits<16> offset;
336 bits<32> Inst;
344 class SLTI_FM<bits<6> op> : StdArch {
345 bits<5> rt;
346 bits<5> rs;
347 bits<16> imm16;
349 bits<32> Inst;
357 class MFLO_FM<bits<6> funct> : StdArch {
358 bits<5> rd;
360 bits<32> Inst;
369 class MTLO_FM<bits<6> funct> : StdArch {
370 bits<5> rs;
372 bits<32> Inst;
380 class SEB_FM<bits<5> funct, bits<6> funct2> : StdArch {
381 bits<5> rd;
382 bits<5> rt;
384 bits<32> Inst;
394 class CLO_FM<bits<6> funct> : StdArch {
395 bits<5> rd;
396 bits<5> rs;
397 bits<5> rt;
399 bits<32> Inst;
411 bits<5> rt;
412 bits<16> imm16;
414 bits<32> Inst;
423 bits<5> rd;
424 bits<5> rs;
426 bits<32> Inst;
436 class BGEZAL_FM<bits<5> funct> : StdArch {
437 bits<5> rs;
438 bits<16> offset;
440 bits<32> Inst;
449 bits<5> stype;
451 bits<32> Inst;
460 bits<21> addr;
461 bits<5> rs = addr{20-16};
462 bits<16> offset = addr{15-0};
464 bits<32> Inst;
472 class MULT_FM<bits<6> op, bits<6> funct> : StdArch {
473 bits<5> rs;
474 bits<5> rt;
476 bits<32> Inst;
485 class EXT_FM<bits<6> funct> : StdArch {
486 bits<5> rt;
487 bits<5> rs;
488 bits<5> pos;
489 bits<5> size;
491 bits<32> Inst;
502 bits<5> rt;
503 bits<5> rd;
505 bits<32> Inst;
515 class TEQ_FM<bits<6> funct> : StdArch {
516 bits<5> rs;
517 bits<5> rt;
518 bits<10> code_;
520 bits<32> Inst;
529 class TEQI_FM<bits<5> funct> : StdArch {
530 bits<5> rs;
531 bits<16> imm16;
533 bits<32> Inst;
542 bits<32> Inst;
550 class EXTS_FM<bits<6> funct> : StdArch {
551 bits<5> rt;
552 bits<5> rs;
553 bits<5> pos;
554 bits<5> lenm1;
556 bits<32> Inst;
566 class MTMR_FM<bits<6> funct> : StdArch {
567 bits<5> rs;
569 bits<32> Inst;
577 class POP_FM<bits<6> funct> : StdArch {
578 bits<5> rd;
579 bits<5> rs;
581 bits<32> Inst;
591 class SEQ_FM<bits<6> funct> : StdArch {
592 bits<5> rd;
593 bits<5> rs;
594 bits<5> rt;
596 bits<32> Inst;
606 class SEQI_FM<bits<6> funct> : StdArch {
607 bits<5> rs;
608 bits<5> rt;
609 bits<10> imm10;
611 bits<32> Inst;
624 class SYS_FM<bits<6> funct> : StdArch
626 bits<20> code_;
627 bits<32> Inst;
637 class BRK_FM<bits<6> funct> : StdArch
639 bits<10> code_1;
640 bits<10> code_2;
641 bits<32> Inst;
652 class ER_FM<bits<6> funct, bit LLBit> : StdArch
654 bits<32> Inst;
666 class EI_FM<bits<1> sc> : StdArch
668 bits<32> Inst;
669 bits<5> rt;
696 class FFI<bits<6> op, dag outs, dag ins, string asmstr, list<dag> pattern>:
699 bits<5> ft;
700 bits<5> base;
701 bits<16> imm16;
710 class ADDS_FM<bits<6> funct, bits<5> fmt> : StdArch {
711 bits<5> fd;
712 bits<5> fs;
713 bits<5> ft;
715 bits<32> Inst;
725 class ABSS_FM<bits<6> funct, bits<5> fmt> : StdArch {
726 bits<5> fd;
727 bits<5> fs;
729 bits<32> Inst;
739 class MFC1_FM<bits<5> funct> : StdArch {
740 bits<5> rt;
741 bits<5> fs;
743 bits<32> Inst;
752 class LW_FM<bits<6> op> : StdArch {
753 bits<5> rt;
754 bits<21> addr;
756 bits<32> Inst;
764 class MADDS_FM<bits<3> funct, bits<3> fmt> : StdArch {
765 bits<5> fd;
766 bits<5> fr;
767 bits<5> fs;
768 bits<5> ft;
770 bits<32> Inst;
781 class LWXC1_FM<bits<6> funct> : StdArch {
782 bits<5> fd;
783 bits<5> base;
784 bits<5> index;
786 bits<32> Inst;
796 class SWXC1_FM<bits<6> funct> : StdArch {
797 bits<5> fs;
798 bits<5> base;
799 bits<5> index;
801 bits<32> Inst;
812 bits<3> fcc;
813 bits<16> offset;
815 bits<32> Inst;
825 class CEQS_FM<bits<5> fmt> : StdArch {
826 bits<5> fs;
827 bits<5> ft;
828 bits<4> cond;
830 bits<32> Inst;
841 class C_COND_FM<bits<5> fmt, bits<4> c> : CEQS_FM<fmt> {
845 class CMov_I_F_FM<bits<6> funct, bits<5> fmt> : StdArch {
846 bits<5> fd;
847 bits<5> fs;
848 bits<5> rt;
850 bits<32> Inst;
861 bits<5> rd;
862 bits<5> rs;
863 bits<3> fcc;
865 bits<32> Inst;
877 class CMov_F_F_FM<bits<5> fmt, bit tf> : StdArch {
878 bits<5> fd;
879 bits<5> fs;
880 bits<3> fcc;
882 bits<32> Inst;
894 class BARRIER_FM<bits<5> op> : StdArch {
895 bits<32> Inst;
906 bits<20> code_;
908 bits<32> Inst;
915 class JR_HB_FM<bits<6> op> : StdArch{
916 bits<5> rs;
918 bits<32> Inst;
928 class JALR_HB_FM<bits<6> op> : StdArch {
929 bits<5> rd;
930 bits<5> rs;
932 bits<32> Inst;
943 class COP0_TLB_FM<bits<6> op> : StdArch {
944 bits<32> Inst;
952 class CACHEOP_FM<bits<6> op> : StdArch {
953 bits<21> addr;
954 bits<5> hint;
955 bits<5> base = addr{20-16};
956 bits<16> offset = addr{15-0};
958 bits<32> Inst;