Lines Matching refs:kImm16Mask
255 | (kPointerSize & kImm16Mask); // NOLINT
259 | (-kPointerSize & kImm16Mask); // NOLINT
262 | (0 & kImm16Mask); // NOLINT
265 | (0 & kImm16Mask); // NOLINT
268 | (0 & kImm16Mask); // NOLINT
271 | (0 & kImm16Mask); // NOLINT
274 | (kNegOffset & kImm16Mask); // NOLINT
277 | (kNegOffset & kImm16Mask); // NOLINT
282 const Instr kLwSwOffsetMask = kImm16Mask;
412 return instr & kImm16Mask; in GetImmediate16()
417 return instr & ~kImm16Mask; in GetLabelConst()
584 return (static_cast<int16_t>(instr & kImm16Mask)) << 2; in GetBranchOffset()
595 return ((instr & kImm16Mask)); in GetLwOffset()
604 | (offset & kImm16Mask); in SetLwOffset()
617 return ((instr & ~kImm16Mask) | (offset & kImm16Mask)); in SetSwOffset()
628 return ((instr & ~kImm16Mask) | (offset & kImm16Mask)); in SetAddImmediateOffset()
639 if ((instr & ~kImm16Mask) == 0) { in target_at()
644 int32_t imm18 =((instr & static_cast<int32_t>(kImm16Mask)) << 16) >> 14; in target_at()
653 int32_t imm18 = ((instr & static_cast<int32_t>(kImm16Mask)) << 16) >> 14; in target_at()
668 int64_t imm = static_cast<int64_t>(instr_lui & kImm16Mask) << 48; in target_at()
669 imm |= static_cast<int64_t>(instr_ori & kImm16Mask) << 32; in target_at()
670 imm |= static_cast<int64_t>(instr_ori2 & kImm16Mask) << 16; in target_at()
701 if ((instr & ~kImm16Mask) == 0) { in target_at_put()
714 instr &= ~kImm16Mask; in target_at_put()
718 instr_at_put(pos, instr | (imm16 & kImm16Mask)); in target_at_put()
729 instr_lui &= ~kImm16Mask; in target_at_put()
730 instr_ori &= ~kImm16Mask; in target_at_put()
731 instr_ori2 &= ~kImm16Mask; in target_at_put()
734 instr_lui | ((imm >> 32) & kImm16Mask)); in target_at_put()
736 instr_ori | ((imm >> 16) & kImm16Mask)); in target_at_put()
738 instr_ori2 | (imm & kImm16Mask)); in target_at_put()
764 if ((instr & ~kImm16Mask) == 0) { in print()
935 | (j & kImm16Mask); in GenInstrImmediate()
945 Instr instr = opcode | (rs.code() << kRsShift) | SF | (j & kImm16Mask); in GenInstrImmediate()
956 | (j & kImm16Mask); in GenInstrImmediate()
1126 instr_at_put(at_offset, (imm16 & kImm16Mask)); in label_at_put()
1786 daddiu(at, zero_reg, (src.offset_ >> kLuiShift) & kImm16Mask); in LoadRegPlusOffsetToAt()
1788 ori(at, at, src.offset_ & kImm16Mask); // Load 32-bit offset. in LoadRegPlusOffsetToAt()
2506 Instr instr = COP1 | BC1EQZ | ft.code() << kFtShift | (offset & kImm16Mask); in bc1eqz()
2513 Instr instr = COP1 | BC1NEZ | ft.code() << kFtShift | (offset & kImm16Mask); in bc1nez()
2541 Instr instr = COP1 | BC1 | cc << 18 | 0 << 16 | (offset & kImm16Mask); in bc1f()
2548 Instr instr = COP1 | BC1 | cc << 18 | 1 << 16 | (offset & kImm16Mask); in bc1t()
2586 int64_t imm = (instr_lui & static_cast<int64_t>(kImm16Mask)) << 48; in RelocateInternalReference()
2587 imm |= (instr_ori & static_cast<int64_t>(kImm16Mask)) << 32; in RelocateInternalReference()
2588 imm |= (instr_ori2 & static_cast<int64_t>(kImm16Mask)) << 16; in RelocateInternalReference()
2598 instr_lui &= ~kImm16Mask; in RelocateInternalReference()
2599 instr_ori &= ~kImm16Mask; in RelocateInternalReference()
2600 instr_ori2 &= ~kImm16Mask; in RelocateInternalReference()
2603 instr_lui | ((imm >> 32) & kImm16Mask)); in RelocateInternalReference()
2605 instr_ori | (imm >> 16 & kImm16Mask)); in RelocateInternalReference()
2607 instr_ori2 | (imm & kImm16Mask)); in RelocateInternalReference()
2773 lui(at, (imm64 >> 32) & kImm16Mask); in CheckTrampolinePool()
2774 ori(at, at, (imm64 >> 16) & kImm16Mask); in CheckTrampolinePool()
2776 ori(at, at, imm64 & kImm16Mask); in CheckTrampolinePool()
2871 *p = LUI | (rt_code << kRtShift) | ((itarget >> 32) & kImm16Mask); in set_target_address_at()
2873 | ((itarget >> 16) & kImm16Mask); in set_target_address_at()
2875 | (itarget & kImm16Mask); in set_target_address_at()