Home
last modified time | relevance | path

Searched refs:kImm16Mask (Results 1 – 20 of 20) sorted by relevance

/external/v8/src/ppc/
Dassembler-ppc-inl.h500 uint64_t hi = (static_cast<uint32_t>((instr1 & kImm16Mask) << 16) | in target_address_at()
501 static_cast<uint32_t>(instr2 & kImm16Mask)); in target_address_at()
502 uint64_t lo = (static_cast<uint32_t>((instr4 & kImm16Mask) << 16) | in target_address_at()
503 static_cast<uint32_t>(instr5 & kImm16Mask)); in target_address_at()
507 return reinterpret_cast<Address>(((instr1 & kImm16Mask) << 16) | in target_address_at()
508 (instr2 & kImm16Mask)); in target_address_at()
584 offset = (instr_at(pc) & kImm16Mask) << 16; in GetConstantPoolOffset()
585 offset += SIGN_EXT_IMM16(instr_at(pc + kInstrSize) & kImm16Mask); in GetConstantPoolOffset()
588 offset = SIGN_EXT_IMM16((instr_at(pc) & kImm16Mask)); in GetConstantPoolOffset()
613 instr1 &= ~kImm16Mask; in PatchConstantPoolAccessInstruction()
[all …]
Dassembler-ppc.cc396 link = SIGN_EXT_IMM16((instr & kImm16Mask)); in target_at()
445 instr &= ((~kImm16Mask) | kAAMask | kLKMask); in target_at_put()
446 instr |= (imm16 & kImm16Mask); in target_at_put()
466 int32_t offset = target_pos + SIGN_EXT_IMM16(operands & kImm16Mask); in target_at_put()
596 val, val, is_uint16(val), kImm16Mask); in d_form()
600 emit(instr | rt.code() * B21 | ra.code() * B16 | (kImm16Mask & val)); in d_form()
706 emit(BCX | bo | condition_bit * B16 | (imm16 & kImm16Mask) | lk); in bc()
978 imm16 &= kImm16Mask; in cmpi()
992 uimm16 &= kImm16Mask; in cmpli()
1027 imm16 &= kImm16Mask; in cmpwi()
[all …]
Dconstants-ppc.h346 kImm16Mask = (1 << 16) - 1, enumerator
Dmacro-assembler-ppc.cc3167 andi(result, result, Operand(kImm16Mask)); in DecodeConstantPoolOffset()
/external/v8/src/mips64/
Dassembler-mips64.cc212 (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()
[all …]
Dcode-stubs-mips64.h110 const unsigned offset = masm->instr_at(pos) & kImm16Mask; in PatchBranchIntoNop()
112 (zero_reg.code() << kRtShift) | (offset & kImm16Mask)); in PatchBranchIntoNop()
117 const unsigned offset = masm->instr_at(pos) & kImm16Mask; in PatchNopIntoBranch()
119 (zero_reg.code() << kRtShift) | (offset & kImm16Mask)); in PatchNopIntoBranch()
Dmacro-assembler-mips64.cc1313 daddiu(rd, zero_reg, (j.imm64_ & kImm16Mask)); in li()
1315 ori(rd, zero_reg, (j.imm64_ & kImm16Mask)); in li()
1316 } else if (!(j.imm64_ & kImm16Mask)) { in li()
1317 lui(rd, (j.imm64_ >> kLuiShift) & kImm16Mask); in li()
1319 lui(rd, (j.imm64_ >> kLuiShift) & kImm16Mask); in li()
1320 ori(rd, rd, (j.imm64_ & kImm16Mask)); in li()
1324 if ((j.imm64_ >> 32) & kImm16Mask) { in li()
1325 lui(rd, (j.imm64_ >> 32) & kImm16Mask); in li()
1326 if ((j.imm64_ >> 16) & kImm16Mask) { in li()
1327 ori(rd, rd, (j.imm64_ >> 16) & kImm16Mask); in li()
[all …]
Dconstants-mips64.h286 const int kImm16Mask = ((1 << kImm16Bits) - 1) << kImm16Shift; variable
/external/v8/src/mips/
Dassembler-mips.cc233 (kPointerSize & kImm16Mask); // NOLINT
237 (-kPointerSize & kImm16Mask); // NOLINT
240 SW | (Register::kCode_sp << kRsShift) | (0 & kImm16Mask); // NOLINT
243 LW | (Register::kCode_sp << kRsShift) | (0 & kImm16Mask); // NOLINT
246 LW | (Register::kCode_fp << kRsShift) | (0 & kImm16Mask); // NOLINT
249 SW | (Register::kCode_fp << kRsShift) | (0 & kImm16Mask); // NOLINT
252 (kNegOffset & kImm16Mask); // NOLINT
255 (kNegOffset & kImm16Mask); // NOLINT
260 const Instr kLwSwOffsetMask = kImm16Mask;
399 return instr & kImm16Mask; in GetImmediate16()
[all …]
Dassembler-mips-inl.h168 instr_lui &= ~kImm16Mask; in set_target_internal_reference_encoded_at()
169 instr_ori &= ~kImm16Mask; in set_target_internal_reference_encoded_at()
173 instr_lui | ((imm >> kLuiShift) & kImm16Mask)); in set_target_internal_reference_encoded_at()
175 instr_ori | (imm & kImm16Mask)); in set_target_internal_reference_encoded_at()
239 int32_t imm = (instr_lui & static_cast<int32_t>(kImm16Mask)) << kLuiShift; in target_internal_reference()
240 imm |= (instr_ori & static_cast<int32_t>(kImm16Mask)); in target_internal_reference()
Dcode-stubs-mips.h109 const unsigned offset = masm->instr_at(pos) & kImm16Mask; in PatchBranchIntoNop()
111 (zero_reg.code() << kRtShift) | (offset & kImm16Mask)); in PatchBranchIntoNop()
116 const unsigned offset = masm->instr_at(pos) & kImm16Mask; in PatchNopIntoBranch()
118 (zero_reg.code() << kRtShift) | (offset & kImm16Mask)); in PatchNopIntoBranch()
Dmacro-assembler-mips.cc1108 } else if (!(j.imm32_ & kImm16Mask)) { in li()
1109 lui(rd, (j.imm32_ >> kLuiShift) & kImm16Mask); in li()
1111 lui(rd, (j.imm32_ >> kLuiShift) & kImm16Mask); in li()
1112 ori(rd, rd, (j.imm32_ & kImm16Mask)); in li()
1120 lui(rd, (j.imm32_ >> kLuiShift) & kImm16Mask); in li()
1121 ori(rd, rd, (j.imm32_ & kImm16Mask)); in li()
3111 ori(at, at, (imm32 & kImm16Mask)); in BranchLong()
3135 ori(at, at, (imm32 & kImm16Mask)); in BranchAndLinkLong()
Dconstants-mips.h308 const int kImm16Mask = ((1 << kImm16Bits) - 1) << kImm16Shift; variable
/external/v8/src/arm/
Dconstants-arm.h215 kImm16Mask = (1 << 16) - 1, enumerator
Dassembler-arm.cc850 uint16_t target16_0 = target24 & kImm16Mask; in target_at_put()
/external/v8/src/ic/mips64/
Dic-mips64.cc851 delta += Assembler::GetRs(instr) * kImm16Mask; in PatchInlinedSmiCode()
/external/v8/src/ic/mips/
Dic-mips.cc855 delta += Assembler::GetRs(instr) * kImm16Mask; in PatchInlinedSmiCode()
/external/v8/test/cctest/
Dtest-assembler-mips64.cc3376 __ lui(v0, (imm64 >> 32) & kImm16Mask); in TEST()
3377 __ ori(v0, v0, (imm64 >> 16) & kImm16Mask); in TEST()
3379 __ ori(v0, v0, imm64 & kImm16Mask); in TEST()
/external/v8/src/full-codegen/mips/
Dfull-codegen-mips.cc78 Register reg = Register::from_code(delta_to_patch_site / kImm16Mask); in EmitPatchInfo()
79 __ andi(zero_reg, reg, delta_to_patch_site % kImm16Mask); in EmitPatchInfo()
/external/v8/src/full-codegen/mips64/
Dfull-codegen-mips64.cc78 Register reg = Register::from_code(delta_to_patch_site / kImm16Mask); in EmitPatchInfo()
79 __ andi(zero_reg, reg, delta_to_patch_site % kImm16Mask); in EmitPatchInfo()