Home
last modified time | relevance | path

Searched refs:kInstrSize (Results 1 – 25 of 46) sorted by relevance

12

/external/chromium_org/v8/src/arm/
Dassembler-arm-inl.h230 static const int kNoCodeAgeSequenceLength = 3 * Assembler::kInstrSize;
243 (kNoCodeAgeSequenceLength - Assembler::kInstrSize))); in code_age_stub()
251 (kNoCodeAgeSequenceLength - Assembler::kInstrSize)) = in set_code_age_stub()
261 return Memory::Address_at(pc_ + 2 * Assembler::kInstrSize); in call_address()
268 Memory::Address_at(pc_ + 2 * Assembler::kInstrSize) = target; in set_call_address()
290 return reinterpret_cast<Object**>(pc_ + 2 * Assembler::kInstrSize); in call_object_address()
305 Instr next_instr = Assembler::instr_at(pc_ + Assembler::kInstrSize); in IsPatchedReturnSequence()
419 pc_ += kInstrSize; in emit()
457 Address candidate = pc - 2 * Assembler::kInstrSize; in target_address_from_return_address()
464 candidate -= Assembler::kInstrSize; in target_address_from_return_address()
[all …]
Dcode-stubs-arm.h130 Assembler::kInstrSize); in GetMode()
156 PatchBranchIntoNop(&masm, Assembler::kInstrSize); in Patch()
164 PatchNopIntoBranch(&masm, Assembler::kInstrSize); in Patch()
169 2 * Assembler::kInstrSize); in Patch()
Ddisasm-arm.cc1189 + Instruction::kInstrSize), in DecodeType7()
1191 + Instruction::kInstrSize), in DecodeType7()
1193 + Instruction::kInstrSize)); in DecodeType7()
1195 return 2 * Instruction::kInstrSize; in DecodeType7()
1202 return Instruction::kInstrSize; in DecodeType7()
1652 return Instruction::kInstrSize; in InstructionDecode()
1659 return Instruction::kInstrSize; in InstructionDecode()
1663 Instruction* target = Instruction::At(instr_ptr + Instruction::kInstrSize); in InstructionDecode()
1667 return 2 * Instruction::kInstrSize; in InstructionDecode()
1704 return Instruction::kInstrSize; in InstructionDecode()
Dassembler-arm.h798 static const int kInstrSize = sizeof(Instr); variable
805 static const int kPatchReturnSequenceAddressOffset = 0 * kInstrSize;
812 static const int kPatchDebugBreakSlotAddressOffset = 0 * kInstrSize;
814 static const int kPatchDebugBreakSlotReturnOffset = 2 * kInstrSize;
823 kDebugBreakSlotInstructions * kInstrSize;
1323 return SizeOfCodeGeneratedSince(label) / kInstrSize; in InstructionsGeneratedSince()
1470 static const int kMaxNumPending32RelocInfo = kMaxDistToIntPool/kInstrSize;
1471 static const int kMaxNumPending64RelocInfo = kMaxDistToFPPool/kInstrSize;
1525 int start = pc_offset() + kInstrSize + 2 * kPointerSize; in EndBlockConstPool()
1576 static const int kCheckPoolInterval = kCheckPoolIntervalInst * kInstrSize;
Ddeoptimizer-arm.cc20 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()
Dsimulator-arm.cc88 reinterpret_cast<char**>(sim_->get_pc() + Instruction::kInstrSize); in Stop()
106 sim_->set_pc(sim_->get_pc() + 2 * Instruction::kInstrSize); in Stop()
120 + Instruction::kInstrSize); in Stop()
131 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 …]
Dassembler-arm.cc248 CpuFeatures::FlushICache(pc_, instruction_count * Assembler::kInstrSize); in PatchCode()
821 Instruction::RmValue(instr_at(pos + kInstrSize))); in target_at_put()
822 DCHECK(IsNop(instr_at(pos + kInstrSize), dst.code())); in target_at_put()
1983 CheckConstPool(true, no_const_pool_before_ == pc_offset() - kInstrSize); in ldm()
3394 int pc_limit = pc_offset() + instructions * kInstrSize; in BlockConstPoolFor()
3398 int start = pc_limit + kInstrSize + 2 * kPointerSize; in BlockConstPoolFor()
3442 int jump_instr = require_jump ? kInstrSize : 0; in CheckConstPool()
3443 int size_up_to_marker = jump_instr + kInstrSize; in CheckConstPool()
3450 size_after_marker += kInstrSize; in CheckConstPool()
3785 Instr next_instr = assm->instr_at(rinfo.pc() + Assembler::kInstrSize); in Populate()
[all …]
Dfull-codegen-arm.cc351 static const int kProfileCounterResetSequenceLength = 5 * Assembler::kInstrSize;
353 static const int kProfileCounterResetSequenceLength = 7 * Assembler::kInstrSize;
373 (kProfileCounterResetSequenceLength / Assembler::kInstrSize) - 2; in EmitProfilingCounterReset()
4881 Address load_address = pc - 2 * Assembler::kInstrSize; in GetInterruptImmediateLoadAddress()
4887 load_address -= 2 * Assembler::kInstrSize; in GetInterruptImmediateLoadAddress()
4890 Memory::int32_at(load_address + Assembler::kInstrSize))); in GetInterruptImmediateLoadAddress()
4892 load_address -= 4 * Assembler::kInstrSize; in GetInterruptImmediateLoadAddress()
4895 Memory::int32_at(load_address + Assembler::kInstrSize))); in GetInterruptImmediateLoadAddress()
4897 Memory::int32_at(load_address + 2 * Assembler::kInstrSize))); in GetInterruptImmediateLoadAddress()
4899 Memory::int32_at(load_address + 3 * Assembler::kInstrSize))); in GetInterruptImmediateLoadAddress()
[all …]
Dconstants-arm.h427 kInstrSize = 4, enumerator
/external/chromium_org/v8/src/mips64/
Dassembler-mips64-inl.h153 pc_ + Assembler::kInstructionsFor64BitConstant * Assembler::kInstrSize); in target_address_address()
270 static const int kNoCodeAgeSequenceLength = 9 * Assembler::kInstrSize;
282 Assembler::target_address_at(pc_ + Assembler::kInstrSize, host_)); in code_age_stub()
289 Assembler::set_target_address_at(pc_ + Assembler::kInstrSize, in set_code_age_stub()
328 return reinterpret_cast<Object**>(pc_ + 6 * Assembler::kInstrSize); in call_object_address()
348 Instr instr1 = Assembler::instr_at(pc_ + 1 * Assembler::kInstrSize); // ori. in IsPatchedReturnSequence()
349 Instr instr2 = Assembler::instr_at(pc_ + 2 * Assembler::kInstrSize); // dsll. in IsPatchedReturnSequence()
350 Instr instr3 = Assembler::instr_at(pc_ + 3 * Assembler::kInstrSize); // ori. in IsPatchedReturnSequence()
351 Instr instr4 = Assembler::instr_at(pc_ + 4 * Assembler::kInstrSize); // jalr. in IsPatchedReturnSequence()
440 pc_ += kInstrSize; in emit()
[all …]
Dsimulator-mips64.cc125 reinterpret_cast<char**>(sim_->get_pc() + Instr::kInstrSize); in Stop()
160 Instruction::kInstrSize); in Stop()
167 sim_->set_pc(sim_->get_pc() + 3 * Instruction::kInstrSize); in Stop()
418 sim_->set_pc(sim_->get_pc() + Instruction::kInstrSize); in Debug()
550 end = cur + (10 * Instruction::kInstrSize); in Debug()
559 end = cur + (10 * Instruction::kInstrSize); in Debug()
567 end = cur + (value * Instruction::kInstrSize); in Debug()
575 end = cur + (value2 * Instruction::kInstrSize); in Debug()
583 cur += Instruction::kInstrSize; in Debug()
611 2 * Instruction::kInstrSize; in Debug()
[all …]
Dassembler-mips64.cc203 CpuFeatures::FlushICache(pc_, instruction_count * Assembler::kInstrSize); in PatchCode()
661 Instr instr_lui = instr_at(pos + 0 * Assembler::kInstrSize); in target_at()
662 Instr instr_ori = instr_at(pos + 1 * Assembler::kInstrSize); in target_at()
663 Instr instr_ori2 = instr_at(pos + 3 * Assembler::kInstrSize); in target_at()
720 Instr instr_lui = instr_at(pos + 0 * Assembler::kInstrSize); in target_at_put()
721 Instr instr_ori = instr_at(pos + 1 * Assembler::kInstrSize); in target_at_put()
722 Instr instr_ori2 = instr_at(pos + 3 * Assembler::kInstrSize); in target_at_put()
733 instr_at_put(pos + 0 * Assembler::kInstrSize, in target_at_put()
735 instr_at_put(pos + 1 * Assembler::kInstrSize, in target_at_put()
737 instr_at_put(pos + 3 * Assembler::kInstrSize, in target_at_put()
[all …]
Dcode-stubs-mips64.h174 2 * Assembler::kInstrSize); in GetMode()
200 PatchBranchIntoNop(&masm, 2 * Assembler::kInstrSize); in Patch()
208 PatchNopIntoBranch(&masm, 2 * Assembler::kInstrSize); in Patch()
213 4 * Assembler::kInstrSize); in Patch()
Ddeoptimizer-mips64.cc18 return kCallInstructionSizeInWords * Assembler::kInstrSize; in patch_size()
61 int call_size_in_words = call_size_in_bytes / Assembler::kInstrSize; in PatchCodeForDeoptimization()
62 DCHECK(call_size_in_bytes % Assembler::kInstrSize == 0); in PatchCodeForDeoptimization()
324 const int Deoptimizer::table_entry_size_ = 11 * Assembler::kInstrSize;
Ddisasm-mips64.cc462 + Instruction::kInstrSize)), in DecodeBreakInstr()
465 + Instruction::kInstrSize)), in DecodeBreakInstr()
467 + Instruction::kInstrSize)); in DecodeBreakInstr()
469 return 3 * Instruction::kInstrSize; in DecodeBreakInstr()
472 return Instruction::kInstrSize; in DecodeBreakInstr()
973 return Instruction::kInstrSize; in DecodeTypeRegister()
1418 return Instruction::kInstrSize; in InstructionDecode()
Dassembler-mips64.h528 instruction_payload - kInstructionsFor64BitConstant * kInstrSize, in deserialization_set_special_target_at()
534 static const int kInstrSize = sizeof(Instr); variable
559 static const int kCallTargetAddressOffset = 6 * kInstrSize;
567 static const int kPatchDebugBreakSlotAddressOffset = 0 * kInstrSize;
573 static const int kPatchDebugBreakSlotReturnOffset = 6 * kInstrSize;
580 kDebugBreakSlotInstructions * kInstrSize;
987 return SizeOfCodeGeneratedSince(label) / kInstrSize; in InstructionsGeneratedSince()
1226 static const int kCheckConstInterval = kCheckConstIntervalInst * kInstrSize;
1389 static const int kTrampolineSlotsSize = 6 * kInstrSize;
Dconstants-mips64.h746 kInstrSize = 4, enumerator
946 const int kCArgsSlotsSize = kCArgSlotCount * Instruction::kInstrSize * 2;
948 const int kBranchReturnOffset = 2 * Instruction::kInstrSize;
Dmacro-assembler-mips64.cc1268 li(a1, instructions * kInstrSize); in FlushICache()
2775 return size * kInstrSize; in CallSize()
2811 return size + 4 * kInstrSize; in CallSize()
5519 lwu(scratch, MemOperand(li_location, kInstrSize)); in PatchRelocatedValue()
5525 lwu(scratch, MemOperand(li_location, kInstrSize)); in PatchRelocatedValue()
5529 sw(scratch, MemOperand(li_location, kInstrSize)); in PatchRelocatedValue()
5531 lwu(scratch, MemOperand(li_location, kInstrSize * 3)); in PatchRelocatedValue()
5537 lwu(scratch, MemOperand(li_location, kInstrSize * 3)); in PatchRelocatedValue()
5541 sw(scratch, MemOperand(li_location, kInstrSize * 3)); in PatchRelocatedValue()
5562 lwu(scratch, MemOperand(li_location, kInstrSize)); in GetRelocatedValue()
[all …]
/external/chromium_org/v8/src/mips/
Dassembler-mips-inl.h159 pc_ + Assembler::kInstructionsFor32BitConstant * Assembler::kInstrSize); in target_address_address()
276 static const int kNoCodeAgeSequenceLength = 7 * Assembler::kInstrSize;
288 Assembler::target_address_at(pc_ + Assembler::kInstrSize, host_)); in code_age_stub()
295 Assembler::set_target_address_at(pc_ + Assembler::kInstrSize, in set_code_age_stub()
334 return reinterpret_cast<Object**>(pc_ + 2 * Assembler::kInstrSize); in call_object_address()
354 Instr instr1 = Assembler::instr_at(pc_ + 1 * Assembler::kInstrSize); in IsPatchedReturnSequence()
355 Instr instr2 = Assembler::instr_at(pc_ + 2 * Assembler::kInstrSize); in IsPatchedReturnSequence()
443 pc_ += kInstrSize; in emit()
Dsimulator-mips.cc109 reinterpret_cast<char**>(sim_->get_pc() + Instr::kInstrSize); in Stop()
143 Instruction::kInstrSize); in Stop()
149 sim_->set_pc(sim_->get_pc() + 2 * Instruction::kInstrSize); in Stop()
454 sim_->set_pc(sim_->get_pc() + Instruction::kInstrSize); in Debug()
620 end = cur + (10 * Instruction::kInstrSize); in Debug()
629 end = cur + (10 * Instruction::kInstrSize); in Debug()
637 end = cur + (value * Instruction::kInstrSize); in Debug()
645 end = cur + (value2 * Instruction::kInstrSize); in Debug()
653 cur += Instruction::kInstrSize; in Debug()
681 2 * Instruction::kInstrSize; in Debug()
[all …]
Ddeoptimizer-mips.cc19 return kCallInstructionSizeInWords * Assembler::kInstrSize; in patch_size()
62 int call_size_in_words = call_size_in_bytes / Assembler::kInstrSize; in PatchCodeForDeoptimization()
63 DCHECK(call_size_in_bytes % Assembler::kInstrSize == 0); in PatchCodeForDeoptimization()
320 const int Deoptimizer::table_entry_size_ = 2 * Assembler::kInstrSize;
330 (table_entry_size_ / Assembler::kInstrSize); in GeneratePrologue()
Dassembler-mips.cc225 CpuFeatures::FlushICache(pc_, instruction_count * Assembler::kInstrSize); in PatchCode()
690 Instr instr_lui = instr_at(pos + 0 * Assembler::kInstrSize); in target_at()
691 Instr instr_ori = instr_at(pos + 1 * Assembler::kInstrSize); in target_at()
742 Instr instr_lui = instr_at(pos + 0 * Assembler::kInstrSize); in target_at_put()
743 Instr instr_ori = instr_at(pos + 1 * Assembler::kInstrSize); in target_at_put()
751 instr_at_put(pos + 0 * Assembler::kInstrSize, in target_at_put()
753 instr_at_put(pos + 1 * Assembler::kInstrSize, in target_at_put()
852 return ((pc_offset() - L->pos()) < kMaxBranchOffset - 4 * kInstrSize); in is_near()
1396 uint32_t ipc = reinterpret_cast<uint32_t>(pc_ + 1 * kInstrSize); in j()
1422 uint32_t ipc = reinterpret_cast<uint32_t>(pc_ + 1 * kInstrSize); in jal()
[all …]
Dconstants-mips.h732 kInstrSize = 4, enumerator
929 const int kCArgsSlotsSize = kCArgSlotCount * Instruction::kInstrSize;
931 const int kJSArgsSlotsSize = 0 * Instruction::kInstrSize;
933 const int kBArgsSlotsSize = 0 * Instruction::kInstrSize;
935 const int kBranchReturnOffset = 2 * Instruction::kInstrSize;
Dcode-stubs-mips.h172 2 * Assembler::kInstrSize); in GetMode()
198 PatchBranchIntoNop(&masm, 2 * Assembler::kInstrSize); in Patch()
206 PatchNopIntoBranch(&masm, 2 * Assembler::kInstrSize); in Patch()
211 4 * Assembler::kInstrSize); in Patch()
Dassembler-mips.h538 instruction_payload - kInstructionsFor32BitConstant * kInstrSize, in deserialization_set_special_target_at()
544 static const int kInstrSize = sizeof(Instr); variable
568 static const int kCallTargetAddressOffset = 4 * kInstrSize;
576 static const int kPatchDebugBreakSlotAddressOffset = 0 * kInstrSize;
582 static const int kPatchDebugBreakSlotReturnOffset = 4 * kInstrSize;
589 kDebugBreakSlotInstructions * kInstrSize;
951 return SizeOfCodeGeneratedSince(label) / kInstrSize; in InstructionsGeneratedSince()
1190 static const int kCheckConstInterval = kCheckConstIntervalInst * kInstrSize;
1352 static const int kTrampolineSlotsSize = 4 * kInstrSize;

12