Lines Matching refs:imm32_
615 if (is_int16(rt.imm32_) && !MustUseReg(rt.rmode_)) { in Addu()
616 addiu(rd, rs, rt.imm32_); in Addu()
631 if (is_int16(rt.imm32_) && !MustUseReg(rt.rmode_)) { in Subu()
632 addiu(rd, rs, -rt.imm32_); // No subiu instr, use addiu(x, y, -imm). in Subu()
831 if (is_uint16(rt.imm32_) && !MustUseReg(rt.rmode_)) { in And()
832 andi(rd, rs, rt.imm32_); in And()
847 if (is_uint16(rt.imm32_) && !MustUseReg(rt.rmode_)) { in Or()
848 ori(rd, rs, rt.imm32_); in Or()
863 if (is_uint16(rt.imm32_) && !MustUseReg(rt.rmode_)) { in Xor()
864 xori(rd, rs, rt.imm32_); in Xor()
900 if (is_int16(rt.imm32_) && !MustUseReg(rt.rmode_)) { in Slt()
901 slti(rd, rs, rt.imm32_); in Slt()
916 if (is_uint16(rt.imm32_) && !MustUseReg(rt.rmode_)) { in Sltu()
917 sltiu(rd, rs, rt.imm32_); in Sltu()
933 rotr(rd, rs, rt.imm32_); in Ror()
942 if (rt.imm32_ == 0) { in Ror()
945 srl(at, rs, rt.imm32_); in Ror()
946 sll(rd, rs, (0x20 - rt.imm32_) & 0x1f); in Ror()
999 if (is_int16(j.imm32_)) { in li()
1000 addiu(rd, zero_reg, j.imm32_); in li()
1001 } else if (!(j.imm32_ & kHiMask)) { in li()
1002 ori(rd, zero_reg, j.imm32_); in li()
1003 } else if (!(j.imm32_ & kImm16Mask)) { in li()
1004 lui(rd, (j.imm32_ >> kLuiShift) & kImm16Mask); in li()
1006 lui(rd, (j.imm32_ >> kLuiShift) & kImm16Mask); in li()
1007 ori(rd, rd, (j.imm32_ & kImm16Mask)); in li()
1011 RecordRelocInfo(j.rmode_, j.imm32_); in li()
1015 lui(rd, (j.imm32_ >> kLuiShift) & kImm16Mask); in li()
1016 ori(rd, rd, (j.imm32_ & kImm16Mask)); in li()
1966 if (rt.imm32_ == 0) { in BranchShort()
1976 if (rt.imm32_ == 0) { in BranchShort()
1978 } else if (is_int16(rt.imm32_)) { in BranchShort()
1979 slti(scratch, rs, rt.imm32_); in BranchShort()
1989 if (rt.imm32_ == 0) { in BranchShort()
1991 } else if (is_int16(rt.imm32_)) { in BranchShort()
1992 slti(scratch, rs, rt.imm32_); in BranchShort()
2002 if (rt.imm32_ == 0) { in BranchShort()
2013 if (rt.imm32_ == 0) { in BranchShort()
2023 if (rt.imm32_ == 0) { in BranchShort()
2025 } else if (is_int16(rt.imm32_)) { in BranchShort()
2026 sltiu(scratch, rs, rt.imm32_); in BranchShort()
2036 if (rt.imm32_ == 0) { in BranchShort()
2039 } else if (is_int16(rt.imm32_)) { in BranchShort()
2040 sltiu(scratch, rs, rt.imm32_); in BranchShort()
2050 if (rt.imm32_ == 0) { in BranchShort()
2219 if (rt.imm32_ == 0) { in BranchShort()
2232 if (rt.imm32_ == 0) { in BranchShort()
2235 } else if (is_int16(rt.imm32_)) { in BranchShort()
2236 slti(scratch, rs, rt.imm32_); in BranchShort()
2249 if (rt.imm32_ == 0) { in BranchShort()
2252 } else if (is_int16(rt.imm32_)) { in BranchShort()
2253 slti(scratch, rs, rt.imm32_); in BranchShort()
2266 if (rt.imm32_ == 0) { in BranchShort()
2280 if (rt.imm32_ == 0) { in BranchShort()
2293 if (rt.imm32_ == 0) { in BranchShort()
2296 } else if (is_int16(rt.imm32_)) { in BranchShort()
2297 sltiu(scratch, rs, rt.imm32_); in BranchShort()
2310 if (rt.imm32_ == 0) { in BranchShort()
2313 } else if (is_int16(rt.imm32_)) { in BranchShort()
2314 sltiu(scratch, rs, rt.imm32_); in BranchShort()
2327 if (rt.imm32_ == 0) { in BranchShort()