/external/v8/src/ppc/ |
D | assembler-ppc-inl.h | 500 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 …]
|
D | assembler-ppc.cc | 396 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 …]
|
D | constants-ppc.h | 346 kImm16Mask = (1 << 16) - 1, enumerator
|
D | macro-assembler-ppc.cc | 3167 andi(result, result, Operand(kImm16Mask)); in DecodeConstantPoolOffset()
|
/external/v8/src/mips64/ |
D | assembler-mips64.cc | 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() [all …]
|
D | code-stubs-mips64.h | 110 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()
|
D | macro-assembler-mips64.cc | 1313 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 …]
|
D | constants-mips64.h | 286 const int kImm16Mask = ((1 << kImm16Bits) - 1) << kImm16Shift; variable
|
/external/v8/src/mips/ |
D | assembler-mips.cc | 233 (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 …]
|
D | assembler-mips-inl.h | 168 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()
|
D | code-stubs-mips.h | 109 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()
|
D | macro-assembler-mips.cc | 1108 } 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()
|
D | constants-mips.h | 308 const int kImm16Mask = ((1 << kImm16Bits) - 1) << kImm16Shift; variable
|
/external/v8/src/arm/ |
D | constants-arm.h | 215 kImm16Mask = (1 << 16) - 1, enumerator
|
D | assembler-arm.cc | 850 uint16_t target16_0 = target24 & kImm16Mask; in target_at_put()
|
/external/v8/src/ic/mips64/ |
D | ic-mips64.cc | 851 delta += Assembler::GetRs(instr) * kImm16Mask; in PatchInlinedSmiCode()
|
/external/v8/src/ic/mips/ |
D | ic-mips.cc | 855 delta += Assembler::GetRs(instr) * kImm16Mask; in PatchInlinedSmiCode()
|
/external/v8/test/cctest/ |
D | test-assembler-mips64.cc | 3376 __ 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/ |
D | full-codegen-mips.cc | 78 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/ |
D | full-codegen-mips64.cc | 78 Register reg = Register::from_code(delta_to_patch_site / kImm16Mask); in EmitPatchInfo() 79 __ andi(zero_reg, reg, delta_to_patch_site % kImm16Mask); in EmitPatchInfo()
|