Lines Matching refs:kImm16Mask
212 (kPointerSize & kImm16Mask); // NOLINT
216 (-kPointerSize & kImm16Mask); // NOLINT
219 SD | (Register::kCode_sp << kRsShift) | (0 & kImm16Mask); // NOLINT
222 LD | (Register::kCode_sp << kRsShift) | (0 & kImm16Mask); // NOLINT
225 LW | (Register::kCode_fp << kRsShift) | (0 & kImm16Mask); // NOLINT
228 SW | (Register::kCode_fp << kRsShift) | (0 & kImm16Mask); // NOLINT
231 (kNegOffset & kImm16Mask); // NOLINT
234 (kNegOffset & kImm16Mask); // NOLINT
239 const Instr kLwSwOffsetMask = kImm16Mask;
373 return instr & kImm16Mask; in GetImmediate16()
378 return instr & ~kImm16Mask; in GetLabelConst()
592 return (static_cast<int16_t>(instr & kImm16Mask)) << 2; in GetBranchOffset()
603 return ((instr & kImm16Mask)); in GetLwOffset()
612 | (offset & kImm16Mask); in SetLwOffset()
625 return ((instr & ~kImm16Mask) | (offset & kImm16Mask)); in SetSwOffset()
636 return ((instr & ~kImm16Mask) | (offset & kImm16Mask)); in SetAddImmediateOffset()
690 if ((instr & ~kImm16Mask) == 0) { in target_at()
695 int32_t imm18 =((instr & static_cast<int32_t>(kImm16Mask)) << 16) >> 14; in target_at()
713 int64_t imm = static_cast<int64_t>(instr_lui & kImm16Mask) << 48; in target_at()
714 imm |= static_cast<int64_t>(instr_ori & kImm16Mask) << 32; in target_at()
715 imm |= static_cast<int64_t>(instr_ori2 & kImm16Mask) << 16; in target_at()
766 if ((instr & ~kImm16Mask) == 0) { in target_at_put()
787 instr_lui &= ~kImm16Mask; in target_at_put()
788 instr_ori &= ~kImm16Mask; in target_at_put()
789 instr_ori2 &= ~kImm16Mask; in target_at_put()
792 instr_lui | ((imm >> 32) & kImm16Mask)); in target_at_put()
794 instr_ori | ((imm >> 16) & kImm16Mask)); in target_at_put()
796 instr_ori2 | (imm & kImm16Mask)); in target_at_put()
832 if ((instr & ~kImm16Mask) == 0) { in print()
1051 | (j & kImm16Mask); in GenInstrImmediate()
1060 Instr instr = opcode | (rs.code() << kRsShift) | SF | (j & kImm16Mask); in GenInstrImmediate()
1070 | (j & kImm16Mask); in GenInstrImmediate()
1207 instr_at_put(at_offset, (imm16 & kImm16Mask)); in label_at_put()
1926 daddiu(at, zero_reg, (src.offset_ >> kLuiShift) & kImm16Mask); in LoadRegPlusOffsetToAt()
1928 ori(at, at, src.offset_ & kImm16Mask); // Load 32-bit offset. in LoadRegPlusOffsetToAt()
2153 uint32_t imm21 = AUIPC << kImm16Bits | (imm16 & kImm16Mask); in auipc()
2161 uint32_t imm21 = ALUIPC << kImm16Bits | (imm16 & kImm16Mask); in aluipc()
2997 Instr instr = COP1 | BC1EQZ | ft.code() << kFtShift | (offset & kImm16Mask); in bc1eqz()
3004 Instr instr = COP1 | BC1NEZ | ft.code() << kFtShift | (offset & kImm16Mask); in bc1nez()
3045 Instr instr = COP1 | BC1 | cc << 18 | 0 << 16 | (offset & kImm16Mask); in bc1f()
3052 Instr instr = COP1 | BC1 | cc << 18 | 1 << 16 | (offset & kImm16Mask); in bc1t()
3076 int64_t imm = (instr_lui & static_cast<int64_t>(kImm16Mask)) << 48; in RelocateInternalReference()
3077 imm |= (instr_ori & static_cast<int64_t>(kImm16Mask)) << 32; in RelocateInternalReference()
3078 imm |= (instr_ori2 & static_cast<int64_t>(kImm16Mask)) << 16; in RelocateInternalReference()
3088 instr_lui &= ~kImm16Mask; in RelocateInternalReference()
3089 instr_ori &= ~kImm16Mask; in RelocateInternalReference()
3090 instr_ori2 &= ~kImm16Mask; in RelocateInternalReference()
3093 instr_lui | ((imm >> 32) & kImm16Mask)); in RelocateInternalReference()
3095 instr_ori | (imm >> 16 & kImm16Mask)); in RelocateInternalReference()
3097 instr_ori2 | (imm & kImm16Mask)); in RelocateInternalReference()
3378 *p = LUI | (rt_code << kRtShift) | ((itarget >> 32) & kImm16Mask); in set_target_address_at()
3380 | ((itarget >> 16) & kImm16Mask); in set_target_address_at()
3382 | (itarget & kImm16Mask); in set_target_address_at()