/external/v8/src/arm/ |
D | assembler-arm-inl.h | 208 static const int kNoCodeAgeSequenceLength = 3 * Assembler::kInstrSize; 221 (kNoCodeAgeSequenceLength - Assembler::kInstrSize))); in code_age_stub() 229 (kNoCodeAgeSequenceLength - Assembler::kInstrSize)) = in set_code_age_stub() 268 Instr next_instr = Assembler::instr_at(pc_ + Assembler::kInstrSize); in IsPatchedReturnSequence() 378 pc_ += kInstrSize; in emit() 416 Address candidate = pc - 2 * Assembler::kInstrSize; in target_address_from_return_address() 423 candidate -= Assembler::kInstrSize; in target_address_from_return_address() 426 candidate -= 1 * Assembler::kInstrSize; in target_address_from_return_address() 428 IsMovT(Memory::int32_at(candidate + Assembler::kInstrSize))); in target_address_from_return_address() 430 candidate -= 3 * Assembler::kInstrSize; in target_address_from_return_address() [all …]
|
D | code-stubs-arm.h | 94 Assembler::kInstrSize); in GetMode() 119 PatchBranchIntoNop(&masm, Assembler::kInstrSize); in Patch() 127 PatchNopIntoBranch(&masm, Assembler::kInstrSize); in Patch() 132 2 * Assembler::kInstrSize); in Patch()
|
D | disasm-arm.cc | 1301 + Instruction::kInstrSize), in DecodeType7() 1303 + Instruction::kInstrSize), in DecodeType7() 1305 + Instruction::kInstrSize)); in DecodeType7() 1307 return 2 * Instruction::kInstrSize; in DecodeType7() 1314 return Instruction::kInstrSize; in DecodeType7() 1849 return Instruction::kInstrSize; in InstructionDecode() 1856 return Instruction::kInstrSize; in InstructionDecode() 1860 Instruction* target = Instruction::At(instr_ptr + Instruction::kInstrSize); in InstructionDecode() 1864 return 2 * Instruction::kInstrSize; in InstructionDecode() 1901 return Instruction::kInstrSize; in InstructionDecode()
|
D | deoptimizer-arm.cc | 19 return kCallInstructionSizeInWords * Assembler::kInstrSize; in patch_size() 73 int call_size_in_words = call_size_in_bytes / Assembler::kInstrSize; in PatchCodeForDeoptimization() 74 DCHECK(call_size_in_bytes % Assembler::kInstrSize == 0); in PatchCodeForDeoptimization()
|
D | simulator-arm.cc | 87 reinterpret_cast<char**>(sim_->get_pc() + Instruction::kInstrSize); in Stop() 105 sim_->set_pc(sim_->get_pc() + 2 * Instruction::kInstrSize); in Stop() 119 + Instruction::kInstrSize); in Stop() 130 sim_->set_pc(sim_->get_pc() + 2 * Instruction::kInstrSize); in Stop() 418 end = cur + (10 * Instruction::kInstrSize); in Debug() 427 end = cur + (10 * Instruction::kInstrSize); in Debug() 435 end = cur + (value * Instruction::kInstrSize); in Debug() 443 end = cur + (value2 * Instruction::kInstrSize); in Debug() 486 intptr_t stop_pc = sim_->get_pc() - 2 * Instruction::kInstrSize; in Debug() 489 reinterpret_cast<Instruction*>(stop_pc + Instruction::kInstrSize); in Debug() [all …]
|
/external/v8/src/ppc/ |
D | assembler-ppc-inl.h | 161 IsConstantPoolLoadEnd(pc - 3 * kInstrSize, &access)) { in target_address_from_return_address() 166 return pc - (len + 2) * kInstrSize; in target_address_from_return_address() 179 return pc + (len + 2) * kInstrSize; in return_address_from_call_start() 270 static const int kCodeAgingTargetDelta = 1 * Assembler::kInstrSize; 272 (kNoCodeAgeSequenceInstructions * Assembler::kInstrSize); 339 Instr instr1 = Assembler::instr_at(pc_ + 1 * Assembler::kInstrSize); in IsPatchedReturnSequence() 341 Instr instr3 = Assembler::instr_at(pc_ + (3 * Assembler::kInstrSize)); in IsPatchedReturnSequence() 342 Instr instr4 = Assembler::instr_at(pc_ + (4 * Assembler::kInstrSize)); in IsPatchedReturnSequence() 343 Instr binstr = Assembler::instr_at(pc_ + (7 * Assembler::kInstrSize)); in IsPatchedReturnSequence() 345 Instr binstr = Assembler::instr_at(pc_ + 4 * Assembler::kInstrSize); in IsPatchedReturnSequence() [all …]
|
D | code-stubs-ppc.h | 113 Assembler::instr_at(stub->instruction_start() + Assembler::kInstrSize); in GetMode() 115 (Assembler::kInstrSize * 2)); in GetMode() 137 PatchBranchIntoNop(&masm, Assembler::kInstrSize); in Patch() 138 PatchBranchIntoNop(&masm, Assembler::kInstrSize * 2); in Patch() 142 PatchNopIntoBranch(&masm, Assembler::kInstrSize); in Patch() 146 PatchNopIntoBranch(&masm, Assembler::kInstrSize * 2); in Patch() 151 stub->instruction_start() + Assembler::kInstrSize, in Patch() 152 2 * Assembler::kInstrSize); in Patch()
|
D | assembler-ppc.h | 497 static const int kInstrSize = sizeof(Instr); variable 534 (kMovInstructions + 2) * kInstrSize; 542 static const int kPatchDebugBreakSlotAddressOffset = 0 * kInstrSize; 549 kDebugBreakSlotInstructions * kInstrSize; 588 int cmpi_pos = pc_offset() - kInstrSize; in cmpi_optimization() 592 int xpos = cmpi_pos - kInstrSize; in cmpi_optimization() 601 pc_ -= kInstrSize; in cmpi_optimization() 605 pc_ -= kInstrSize; in cmpi_optimization() 608 pc_ -= kInstrSize; in cmpi_optimization() 1142 return SizeOfCodeGeneratedSince(label) / kInstrSize; in InstructionsGeneratedSince() [all …]
|
D | deoptimizer-ppc.cc | 23 return kCallInstructionSizeInWords * Assembler::kInstrSize; in patch_size() 76 int call_size_in_words = call_size_in_bytes / Assembler::kInstrSize; in PatchCodeForDeoptimization() 77 DCHECK(call_size_in_bytes % Assembler::kInstrSize == 0); in PatchCodeForDeoptimization()
|
/external/v8/src/mips/ |
D | assembler-mips-inl.h | 126 pc_ + Assembler::kInstructionsFor32BitConstant * Assembler::kInstrSize); in target_address_address() 164 Instr instr_lui = Assembler::instr_at(pc + 0 * Assembler::kInstrSize); in set_target_internal_reference_encoded_at() 165 Instr instr_ori = Assembler::instr_at(pc + 1 * Assembler::kInstrSize); in set_target_internal_reference_encoded_at() 172 Assembler::instr_at_put(pc + 0 * Assembler::kInstrSize, in set_target_internal_reference_encoded_at() 174 Assembler::instr_at_put(pc + 1 * Assembler::kInstrSize, in set_target_internal_reference_encoded_at() 235 Instr instr_lui = Assembler::instr_at(pc_ + 0 * Assembler::kInstrSize); in target_internal_reference() 236 Instr instr_ori = Assembler::instr_at(pc_ + 1 * Assembler::kInstrSize); in target_internal_reference() 295 static const int kNoCodeAgeSequenceLength = 7 * Assembler::kInstrSize; 307 Assembler::target_address_at(pc_ + Assembler::kInstrSize, host_)); in code_age_stub() 314 Assembler::set_target_address_at(isolate_, pc_ + Assembler::kInstrSize, host_, in set_code_age_stub() [all …]
|
D | code-stubs-mips.h | 125 2 * Assembler::kInstrSize); in GetMode() 150 PatchBranchIntoNop(&masm, 2 * Assembler::kInstrSize); in Patch() 158 PatchNopIntoBranch(&masm, 2 * Assembler::kInstrSize); in Patch() 163 4 * Assembler::kInstrSize); in Patch()
|
D | simulator-mips.cc | 108 reinterpret_cast<char**>(sim_->get_pc() + Instr::kInstrSize); in Stop() 142 Instruction::kInstrSize); in Stop() 148 sim_->set_pc(sim_->get_pc() + 2 * Instruction::kInstrSize); in Stop() 453 sim_->set_pc(sim_->get_pc() + Instruction::kInstrSize); in Debug() 619 end = cur + (10 * Instruction::kInstrSize); in Debug() 628 end = cur + (10 * Instruction::kInstrSize); in Debug() 636 end = cur + (value * Instruction::kInstrSize); in Debug() 644 end = cur + (value2 * Instruction::kInstrSize); in Debug() 652 cur += Instruction::kInstrSize; in Debug() 680 2 * Instruction::kInstrSize; in Debug() [all …]
|
D | deoptimizer-mips.cc | 17 return kCallInstructionSizeInWords * Assembler::kInstrSize; in patch_size() 67 int call_size_in_words = call_size_in_bytes / Assembler::kInstrSize; in PatchCodeForDeoptimization() 68 DCHECK(call_size_in_bytes % Assembler::kInstrSize == 0); in PatchCodeForDeoptimization() 331 const int Deoptimizer::table_entry_size_ = 2 * Assembler::kInstrSize; 341 (table_entry_size_ / Assembler::kInstrSize); in GeneratePrologue()
|
D | assembler-mips.h | 421 return pc_offset() - L->pos() < kMaxBranchOffset - 4 * kInstrSize; in is_near_pre_r6() 425 return pc_offset() - L->pos() < kMaxCompactBranchOffset - 4 * kInstrSize; in is_near_r6() 498 instruction_payload - kInstructionsFor32BitConstant * kInstrSize, code, in deserialization_set_special_target_at() 508 static const int kInstrSize = sizeof(Instr); variable 532 static const int kCallTargetAddressOffset = 4 * kInstrSize; 536 static const int kPatchDebugBreakSlotAddressOffset = 4 * kInstrSize; 544 kDebugBreakSlotInstructions * kInstrSize; 972 return SizeOfCodeGeneratedSince(label) / kInstrSize; in InstructionsGeneratedSince() 1231 static const int kCheckConstInterval = kCheckConstIntervalInst * kInstrSize; 1404 static const int kTrampolineSlotsSize = 4 * kInstrSize;
|
D | constants-mips.h | 851 kInstrSize = 4, enumerator 1129 const int kCArgsSlotsSize = kCArgSlotCount * Instruction::kInstrSize; 1132 const int kJSArgsSlotsSize = 0 * Instruction::kInstrSize; 1134 const int kBArgsSlotsSize = 0 * Instruction::kInstrSize; 1136 const int kBranchReturnOffset = 2 * Instruction::kInstrSize;
|
D | assembler-mips.cc | 733 Instr instr_lui = instr_at(pos + 0 * Assembler::kInstrSize); in target_at() 734 Instr instr_ori = instr_at(pos + 1 * Assembler::kInstrSize); in target_at() 790 Instr instr_lui = instr_at(pos + 0 * Assembler::kInstrSize); in target_at_put() 791 Instr instr_ori = instr_at(pos + 1 * Assembler::kInstrSize); in target_at_put() 799 instr_at_put(pos + 0 * Assembler::kInstrSize, in target_at_put() 801 instr_at_put(pos + 1 * Assembler::kInstrSize, in target_at_put() 899 return pc_offset() - L->pos() < kMaxBranchOffset - 4 * kInstrSize; in is_near() 905 return pc_offset() - L->pos() < (1 << (bits + 2 - 1)) - 1 - 5 * kInstrSize; in is_near() 1133 int32_t pad = IsPrevInstrCompactBranch() ? kInstrSize : 0; in branch_offset_helper() 1460 uint32_t ipc = reinterpret_cast<uint32_t>(pc_ + 1 * kInstrSize); in j() [all …]
|
/external/v8/src/mips64/ |
D | assembler-mips64-inl.h | 128 pc_ + Assembler::kInstructionsFor64BitConstant * Assembler::kInstrSize); in target_address_address() 166 Instr instr = Assembler::instr_at(pc + 0 * Assembler::kInstrSize); in set_target_internal_reference_encoded_at() 234 Instr instr = Assembler::instr_at(pc_ + 0 * Assembler::kInstrSize); in target_internal_reference() 293 static const int kNoCodeAgeSequenceLength = 9 * Assembler::kInstrSize; 305 Assembler::target_address_at(pc_ + Assembler::kInstrSize, host_)); in code_age_stub() 312 Assembler::set_target_address_at(isolate_, pc_ + Assembler::kInstrSize, host_, in set_code_age_stub() 354 Instr instr1 = Assembler::instr_at(pc_ + 1 * Assembler::kInstrSize); // ori. in IsPatchedReturnSequence() 355 Instr instr2 = Assembler::instr_at(pc_ + 2 * Assembler::kInstrSize); // dsll. in IsPatchedReturnSequence() 356 Instr instr3 = Assembler::instr_at(pc_ + 3 * Assembler::kInstrSize); // ori. in IsPatchedReturnSequence() 357 Instr instr4 = Assembler::instr_at(pc_ + 4 * Assembler::kInstrSize); // jalr. in IsPatchedReturnSequence() [all …]
|
D | code-stubs-mips64.h | 126 2 * Assembler::kInstrSize); in GetMode() 151 PatchBranchIntoNop(&masm, 2 * Assembler::kInstrSize); in Patch() 159 PatchNopIntoBranch(&masm, 2 * Assembler::kInstrSize); in Patch() 164 4 * Assembler::kInstrSize); in Patch()
|
D | deoptimizer-mips64.cc | 17 return kCallInstructionSizeInWords * Assembler::kInstrSize; in patch_size() 67 int call_size_in_words = call_size_in_bytes / Assembler::kInstrSize; in PatchCodeForDeoptimization() 68 DCHECK(call_size_in_bytes % Assembler::kInstrSize == 0); in PatchCodeForDeoptimization() 336 const int Deoptimizer::table_entry_size_ = 2 * Assembler::kInstrSize; 346 (1 << (kImm16Bits - 2)) / (table_entry_size_ / Assembler::kInstrSize); in GeneratePrologue()
|
D | simulator-mips64.cc | 124 reinterpret_cast<char**>(sim_->get_pc() + Instr::kInstrSize); in Stop() 159 Instruction::kInstrSize); in Stop() 166 sim_->set_pc(sim_->get_pc() + 3 * Instruction::kInstrSize); in Stop() 417 sim_->set_pc(sim_->get_pc() + Instruction::kInstrSize); in Debug() 549 end = cur + (10 * Instruction::kInstrSize); in Debug() 558 end = cur + (10 * Instruction::kInstrSize); in Debug() 566 end = cur + (value * Instruction::kInstrSize); in Debug() 574 end = cur + (value2 * Instruction::kInstrSize); in Debug() 582 cur += Instruction::kInstrSize; in Debug() 610 2 * Instruction::kInstrSize; in Debug() [all …]
|
D | assembler-mips64.cc | 706 Instr instr_lui = instr_at(pos + 0 * Assembler::kInstrSize); in target_at() 707 Instr instr_ori = instr_at(pos + 1 * Assembler::kInstrSize); in target_at() 708 Instr instr_ori2 = instr_at(pos + 3 * Assembler::kInstrSize); in target_at() 778 Instr instr_lui = instr_at(pos + 0 * Assembler::kInstrSize); in target_at_put() 779 Instr instr_ori = instr_at(pos + 1 * Assembler::kInstrSize); in target_at_put() 780 Instr instr_ori2 = instr_at(pos + 3 * Assembler::kInstrSize); in target_at_put() 791 instr_at_put(pos + 0 * Assembler::kInstrSize, in target_at_put() 793 instr_at_put(pos + 1 * Assembler::kInstrSize, in target_at_put() 795 instr_at_put(pos + 3 * Assembler::kInstrSize, in target_at_put() 915 return pc_offset() - L->pos() < kMaxBranchOffset - 4 * kInstrSize; in is_near() [all …]
|
D | assembler-mips64.h | 424 return pc_offset() - L->pos() < kMaxBranchOffset - 4 * kInstrSize; in is_near_pre_r6() 428 return pc_offset() - L->pos() < kMaxCompactBranchOffset - 4 * kInstrSize; in is_near_r6() 504 instruction_payload - kInstructionsFor64BitConstant * kInstrSize, code, in deserialization_set_special_target_at() 514 static const int kInstrSize = sizeof(Instr); variable 536 static const int kCallTargetAddressOffset = 6 * kInstrSize; 540 static const int kPatchDebugBreakSlotAddressOffset = 6 * kInstrSize; 548 kDebugBreakSlotInstructions * kInstrSize; 1029 return SizeOfCodeGeneratedSince(label) / kInstrSize; in InstructionsGeneratedSince() 1298 static const int kCheckConstInterval = kCheckConstIntervalInst * kInstrSize; 1471 static const int kTrampolineSlotsSize = 2 * kInstrSize;
|
D | disasm-mips64.cc | 808 + Instruction::kInstrSize)), in DecodeBreakInstr() 811 + Instruction::kInstrSize)), in DecodeBreakInstr() 813 + Instruction::kInstrSize)); in DecodeBreakInstr() 815 return 3 * Instruction::kInstrSize; in DecodeBreakInstr() 818 return Instruction::kInstrSize; in DecodeBreakInstr() 1557 return Instruction::kInstrSize; in DecodeTypeRegister() 1938 return Instruction::kInstrSize; in InstructionDecode()
|
/external/v8/test/cctest/ |
D | test-macro-assembler-mips.cc | 216 masm, (kNumCases + 6) * Assembler::kInstrSize); in TEST() 223 __ lw(at, MemOperand(at, 4 * Assembler::kInstrSize)); in TEST() 288 masm, kNumCases * kPointerSize + ((7 + 1) * Assembler::kInstrSize)); in TEST() 295 __ lw(at, MemOperand(at, 6 * Assembler::kInstrSize)); in TEST()
|
D | test-macro-assembler-mips64.cc | 260 masm, (kNumCases * 2 + 6) * Assembler::kInstrSize); in TEST() 267 __ ld(at, MemOperand(at, 4 * Assembler::kInstrSize)); in TEST() 333 masm, kNumCases * kPointerSize + ((7 + 1) * Assembler::kInstrSize)); in TEST() 340 __ ld(at, MemOperand(at, 6 * Assembler::kInstrSize)); in TEST()
|