Home | History | Annotate | Download | only in runtime

Lines Matching defs:kOpcodeShift

39 static const uint32_t kOpcodeShift = 26;
41 static const uint32_t kCop1 = (17 << kOpcodeShift);
43 static const uint32_t kITypeMask = (0x3f << kOpcodeShift);
44 static const uint32_t kJTypeMask = (0x3f << kOpcodeShift);
45 static const uint32_t kRTypeMask = ((0x3f << kOpcodeShift) | (0x3f));
46 static const uint32_t kSpecial2Mask = (0x3f << kOpcodeShift);
95 { kSpecial2Mask | 0x7ff, (28 << kOpcodeShift) | 2, "mul", "DST" },
96 { kSpecial2Mask | 0x7ff, (28 << kOpcodeShift) | 32, "clz", "DS" },
97 { kSpecial2Mask | 0xffff, (28 << kOpcodeShift) | 0, "madd", "ST" },
98 { kSpecial2Mask | 0xffff, (28 << kOpcodeShift) | 1, "maddu", "ST" },
99 { kSpecial2Mask | 0xffff, (28 << kOpcodeShift) | 2, "mul", "DST" },
100 { kSpecial2Mask | 0xffff, (28 << kOpcodeShift) | 4, "msub", "ST" },
101 { kSpecial2Mask | 0xffff, (28 << kOpcodeShift) | 5, "msubu", "ST" },
102 { kSpecial2Mask | 0x3f, (28 << kOpcodeShift) | 0x3f, "sdbbp", "" }, // TODO: code
105 { kJTypeMask, 2 << kOpcodeShift, "j", "L" },
106 { kJTypeMask, 3 << kOpcodeShift, "jal", "L" },
109 { kITypeMask, 4 << kOpcodeShift, "beq", "STB" },
110 { kITypeMask, 5 << kOpcodeShift, "bne", "STB" },
111 { kITypeMask | (0x1f << 16), 1 << kOpcodeShift | (1 << 16), "bgez", "SB" },
112 { kITypeMask | (0x1f << 16), 1 << kOpcodeShift | (0 << 16), "bltz", "SB" },
113 { kITypeMask | (0x1f << 16), 1 << kOpcodeShift | (2 << 16), "bltzl", "SB" },
114 { kITypeMask | (0x1f << 16), 1 << kOpcodeShift | (16 << 16), "bltzal", "SB" },
115 { kITypeMask | (0x1f << 16), 1 << kOpcodeShift | (18 << 16), "bltzall", "SB" },
116 { kITypeMask | (0x1f << 16), 6 << kOpcodeShift | (0 << 16), "blez", "SB" },
117 { kITypeMask | (0x1f << 16), 7 << kOpcodeShift | (0 << 16), "bgtz", "SB" },
119 { 0xffff0000, (4 << kOpcodeShift), "b", "B" },
120 { 0xffff0000, (1 << kOpcodeShift) | (17 << 16), "bal", "B" },
122 { kITypeMask, 8 << kOpcodeShift, "addi", "TSi", },
123 { kITypeMask, 9 << kOpcodeShift, "addiu", "TSi", },
124 { kITypeMask, 10 << kOpcodeShift, "slti", "TSi", },
125 { kITypeMask, 11 << kOpcodeShift, "sltiu", "TSi", },
126 { kITypeMask, 12 << kOpcodeShift, "andi", "TSi", },
127 { kITypeMask, 13 << kOpcodeShift, "ori", "TSi", },
128 { kITypeMask, 14 << kOpcodeShift, "ori", "TSi", },
129 { kITypeMask, 15 << kOpcodeShift, "lui", "TI", },
131 { kITypeMask, 32u << kOpcodeShift, "lb", "TO", },
132 { kITypeMask, 33u << kOpcodeShift, "lh", "TO", },
133 { kITypeMask, 35u << kOpcodeShift, "lw", "TO", },
134 { kITypeMask, 36u << kOpcodeShift, "lbu", "TO", },
135 { kITypeMask, 37u << kOpcodeShift, "lhu", "TO", },
136 { kITypeMask, 40u << kOpcodeShift, "sb", "TO", },
137 { kITypeMask, 41u << kOpcodeShift, "sh", "TO", },
138 { kITypeMask, 43u << kOpcodeShift, "sw", "TO", },
139 { kITypeMask, 49u << kOpcodeShift, "lwc1", "tO", },
140 { kITypeMask, 57u << kOpcodeShift, "swc1", "tO", },