Lines Matching refs:bits
27 class Format<bits<4> val> {
28 bits<4> Value = val;
61 field bits<32> Inst;
68 bits<6> Opcode = 0;
70 // Top 6 bits are the 'opcode' field
83 bits<4> FormBits = Form.Value;
90 field bits<32> SoftFail = 0;
129 class FR<bits<6> op, bits<6> _funct, dag outs, dag ins, string asmstr,
133 bits<5> rd;
134 bits<5> rs;
135 bits<5> rt;
136 bits<5> shamt;
137 bits<6> funct;
153 class FI<bits<6> op, dag outs, dag ins, string asmstr, list<dag> pattern,
156 bits<5> rt;
157 bits<5> rs;
158 bits<16> imm16;
167 class BranchBase<bits<6> op, dag outs, dag ins, string asmstr,
171 bits<5> rs;
172 bits<5> rt;
173 bits<16> imm16;
186 class FJ<bits<6> op> : StdArch
188 bits<26> target;
190 bits<32> Inst;
199 class MFC3OP_FM<bits<6> op, bits<5> mfmt>
201 bits<5> rt;
202 bits<5> rd;
203 bits<3> sel;
205 bits<32> Inst;
215 class ADD_FM<bits<6> op, bits<6> funct> : StdArch {
216 bits<5> rd;
217 bits<5> rs;
218 bits<5> rt;
220 bits<32> Inst;
230 class ADDI_FM<bits<6> op> : StdArch {
231 bits<5> rs;
232 bits<5> rt;
233 bits<16> imm16;
235 bits<32> Inst;
243 class SRA_FM<bits<6> funct, bit rotate> : StdArch {
244 bits<5> rd;
245 bits<5> rt;
246 bits<5> shamt;
248 bits<32> Inst;
259 class SRLV_FM<bits<6> funct, bit rotate> : StdArch {
260 bits<5> rd;
261 bits<5> rt;
262 bits<5> rs;
264 bits<32> Inst;
275 class BEQ_FM<bits<6> op> : StdArch {
276 bits<5> rs;
277 bits<5> rt;
278 bits<16> offset;
280 bits<32> Inst;
288 class BGEZ_FM<bits<6> op, bits<5> funct> : StdArch {
289 bits<5> rs;
290 bits<16> offset;
292 bits<32> Inst;
300 class BBIT_FM<bits<6> op> : StdArch {
301 bits<5> rs;
302 bits<5> p;
303 bits<16> offset;
305 bits<32> Inst;
313 class SLTI_FM<bits<6> op> : StdArch {
314 bits<5> rt;
315 bits<5> rs;
316 bits<16> imm16;
318 bits<32> Inst;
326 class MFLO_FM<bits<6> funct> : StdArch {
327 bits<5> rd;
329 bits<32> Inst;
338 class MTLO_FM<bits<6> funct> : StdArch {
339 bits<5> rs;
341 bits<32> Inst;
349 class SEB_FM<bits<5> funct, bits<6> funct2> : StdArch {
350 bits<5> rd;
351 bits<5> rt;
353 bits<32> Inst;
363 class CLO_FM<bits<6> funct> : StdArch {
364 bits<5> rd;
365 bits<5> rs;
366 bits<5> rt;
368 bits<32> Inst;
380 bits<5> rt;
381 bits<16> imm16;
383 bits<32> Inst;
392 bits<5> rd;
393 bits<5> rs;
395 bits<32> Inst;
405 class BGEZAL_FM<bits<5> funct> : StdArch {
406 bits<5> rs;
407 bits<16> offset;
409 bits<32> Inst;
418 bits<5> stype;
420 bits<32> Inst;
429 bits<21> addr;
430 bits<5> rs = addr{20-16};
431 bits<16> offset = addr{15-0};
433 bits<32> Inst;
441 class MULT_FM<bits<6> op, bits<6> funct> : StdArch {
442 bits<5> rs;
443 bits<5> rt;
445 bits<32> Inst;
454 class EXT_FM<bits<6> funct> : StdArch {
455 bits<5> rt;
456 bits<5> rs;
457 bits<5> pos;
458 bits<5> size;
460 bits<32> Inst;
471 bits<5> rt;
472 bits<5> rd;
474 bits<32> Inst;
484 class TEQ_FM<bits<6> funct> : StdArch {
485 bits<5> rs;
486 bits<5> rt;
487 bits<10> code_;
489 bits<32> Inst;
498 class TEQI_FM<bits<5> funct> : StdArch {
499 bits<5> rs;
500 bits<16> imm16;
502 bits<32> Inst;
511 bits<32> Inst;
519 class EXTS_FM<bits<6> funct> : StdArch {
520 bits<5> rt;
521 bits<5> rs;
522 bits<5> pos;
523 bits<5> lenm1;
525 bits<32> Inst;
535 class MTMR_FM<bits<6> funct> : StdArch {
536 bits<5> rs;
538 bits<32> Inst;
546 class POP_FM<bits<6> funct> : StdArch {
547 bits<5> rd;
548 bits<5> rs;
550 bits<32> Inst;
560 class SEQ_FM<bits<6> funct> : StdArch {
561 bits<5> rd;
562 bits<5> rs;
563 bits<5> rt;
565 bits<32> Inst;
575 class SEQI_FM<bits<6> funct> : StdArch {
576 bits<5> rs;
577 bits<5> rt;
578 bits<10> imm10;
580 bits<32> Inst;
593 class SYS_FM<bits<6> funct> : StdArch
595 bits<20> code_;
596 bits<32> Inst;
606 class BRK_FM<bits<6> funct> : StdArch
608 bits<10> code_1;
609 bits<10> code_2;
610 bits<32> Inst;
621 class ER_FM<bits<6> funct> : StdArch
623 bits<32> Inst;
635 class EI_FM<bits<1> sc> : StdArch
637 bits<32> Inst;
638 bits<5> rt;
665 class FFI<bits<6> op, dag outs, dag ins, string asmstr, list<dag> pattern>:
668 bits<5> ft;
669 bits<5> base;
670 bits<16> imm16;
679 class ADDS_FM<bits<6> funct, bits<5> fmt> : StdArch {
680 bits<5> fd;
681 bits<5> fs;
682 bits<5> ft;
684 bits<32> Inst;
694 class ABSS_FM<bits<6> funct, bits<5> fmt> : StdArch {
695 bits<5> fd;
696 bits<5> fs;
698 bits<32> Inst;
708 class MFC1_FM<bits<5> funct> : StdArch {
709 bits<5> rt;
710 bits<5> fs;
712 bits<32> Inst;
721 class LW_FM<bits<6> op> : StdArch {
722 bits<5> rt;
723 bits<21> addr;
725 bits<32> Inst;
733 class MADDS_FM<bits<3> funct, bits<3> fmt> : StdArch {
734 bits<5> fd;
735 bits<5> fr;
736 bits<5> fs;
737 bits<5> ft;
739 bits<32> Inst;
750 class LWXC1_FM<bits<6> funct> : StdArch {
751 bits<5> fd;
752 bits<5> base;
753 bits<5> index;
755 bits<32> Inst;
765 class SWXC1_FM<bits<6> funct> : StdArch {
766 bits<5> fs;
767 bits<5> base;
768 bits<5> index;
770 bits<32> Inst;
781 bits<3> fcc;
782 bits<16> offset;
784 bits<32> Inst;
794 class CEQS_FM<bits<5> fmt> : StdArch {
795 bits<5> fs;
796 bits<5> ft;
797 bits<4> cond;
799 bits<32> Inst;
810 class C_COND_FM<bits<5> fmt, bits<4> c> : CEQS_FM<fmt> {
814 class CMov_I_F_FM<bits<6> funct, bits<5> fmt> : StdArch {
815 bits<5> fd;
816 bits<5> fs;
817 bits<5> rt;
819 bits<32> Inst;
830 bits<5> rd;
831 bits<5> rs;
832 bits<3> fcc;
834 bits<32> Inst;
846 class CMov_F_F_FM<bits<5> fmt, bit tf> : StdArch {
847 bits<5> fd;
848 bits<5> fs;
849 bits<3> fcc;
851 bits<32> Inst;
863 class BARRIER_FM<bits<5> op> : StdArch {
864 bits<32> Inst;
875 bits<20> code_;
877 bits<32> Inst;
884 class JR_HB_FM<bits<6> op> : StdArch{
885 bits<5> rs;
887 bits<32> Inst;
897 class JALR_HB_FM<bits<6> op> : StdArch {
898 bits<5> rd;
899 bits<5> rs;
901 bits<32> Inst;
912 class COP0_TLB_FM<bits<6> op> : StdArch {
913 bits<32> Inst;
921 class CACHEOP_FM<bits<6> op> : StdArch {
922 bits<21> addr;
923 bits<5> hint;
924 bits<5> base = addr{20-16};
925 bits<16> offset = addr{15-0};
927 bits<32> Inst;