Searched refs:kInstrSize (Results 1 - 25 of 64) sorted by relevance

123

/external/v8/src/arm/
H A Dassembler-arm-inl.h191 static const int kNoCodeAgeSequenceLength = 3 * Assembler::kInstrSize;
204 (kNoCodeAgeSequenceLength - Assembler::kInstrSize)));
212 (kNoCodeAgeSequenceLength - Assembler::kInstrSize)) =
344 pc_ += kInstrSize;
382 Address candidate = pc - 2 * Assembler::kInstrSize;
389 candidate -= Assembler::kInstrSize;
392 candidate -= 1 * Assembler::kInstrSize;
394 IsMovT(Memory::int32_at(candidate + Assembler::kInstrSize)));
396 candidate -= 3 * Assembler::kInstrSize;
399 IsOrrImmed(Memory::int32_at(candidate + Assembler::kInstrSize))
[all...]
H A Dcode-stubs-arm.h94 Assembler::kInstrSize);
119 PatchBranchIntoNop(&masm, Assembler::kInstrSize);
127 PatchNopIntoBranch(&masm, Assembler::kInstrSize);
132 2 * Assembler::kInstrSize);
H A Ddeoptimizer-arm.cc19 return kCallInstructionSizeInWords * Assembler::kInstrSize;
70 int call_size_in_words = call_size_in_bytes / Assembler::kInstrSize;
71 DCHECK(call_size_in_bytes % Assembler::kInstrSize == 0);
H A Dassembler-arm.h738 static const int kInstrSize = sizeof(Instr);
745 static const int kPatchDebugBreakSlotAddressOffset = 2 * kInstrSize;
753 kDebugBreakSlotInstructions * kInstrSize;
1371 return SizeOfCodeGeneratedSince(label) / kInstrSize;
1524 static const int kMaxNumPending32Constants = kMaxDistToIntPool / kInstrSize;
1525 static const int kMaxNumPending64Constants = kMaxDistToFPPool / kInstrSize;
1585 int start = pc_offset() + kInstrSize + 2 * kPointerSize;
1639 static const int kCheckPoolInterval = kCheckPoolIntervalInst * kInstrSize;
H A Dsimulator-arm.cc73 sim_->set_pc(sim_->get_pc() + 2 * Instruction::kInstrSize);
362 end = cur + (10 * Instruction::kInstrSize);
371 end = cur + (10 * Instruction::kInstrSize);
379 end = cur + (value * Instruction::kInstrSize);
387 end = cur + (value2 * Instruction::kInstrSize);
430 intptr_t stop_pc = sim_->get_pc() - 2 * Instruction::kInstrSize;
433 reinterpret_cast<Instruction*>(stop_pc + Instruction::kInstrSize);
638 cache_page->CachedData(offset), Instruction::kInstrSize));
736 Instruction::kInstrSize);
1898 set_pc(get_pc() + 2 * Instruction::kInstrSize); member in class:v8::internal::Instruction
4134 set_pc(get_pc() + 2 * Instruction::kInstrSize); member in class:v8::internal::Instruction
[all...]
H A Dassembler-arm.cc626 DCHECK((pc_offset() & (kInstrSize - 1)) == 0);
939 Register::from_code(Instruction::RmValue(instr_at(pos + kInstrSize)));
942 DCHECK(IsNop(instr_at(pos + kInstrSize), dst.code()));
944 DCHECK(IsNop(instr_at(pos + 2 * kInstrSize), dst.code()));
2235 CheckConstPool(true, no_const_pool_before_ == pc_offset() - kInstrSize);
4182 int pc_limit = pc_offset() + instructions * kInstrSize;
4186 int start = pc_limit + kInstrSize + 2 * kPointerSize;
4230 int jump_instr = require_jump ? kInstrSize : 0;
4231 int size_up_to_marker = jump_instr + kInstrSize;
4242 estimated_size_after_marker += kInstrSize;
[all...]
/external/v8/src/mips/
H A Dassembler-mips-inl.h126 pc_ + Assembler::kInstructionsFor32BitConstant * Assembler::kInstrSize);
148 Instr instr1 = Assembler::instr_at(pc + 0 * Assembler::kInstrSize);
149 Instr instr2 = Assembler::instr_at(pc + 1 * Assembler::kInstrSize);
161 Assembler::instr_at_put(pc + 0 * Assembler::kInstrSize,
163 Assembler::instr_at_put(pc + 1 * Assembler::kInstrSize,
167 Assembler::instr_at_put(pc + 0 * Assembler::kInstrSize,
169 Assembler::instr_at_put(pc + 1 * Assembler::kInstrSize,
233 Instr instr1 = Assembler::instr_at(pc_ + 0 * Assembler::kInstrSize);
234 Instr instr2 = Assembler::instr_at(pc_ + 1 * Assembler::kInstrSize);
295 static const int kNoCodeAgeSequenceLength = 7 * Assembler::kInstrSize;
[all...]
H A Dcode-stubs-mips.h125 2 * Assembler::kInstrSize);
150 PatchBranchIntoNop(&masm, 2 * Assembler::kInstrSize);
158 PatchNopIntoBranch(&masm, 2 * Assembler::kInstrSize);
163 4 * Assembler::kInstrSize);
H A Ddeoptimizer-mips.cc17 return kCallInstructionSizeInWords * Assembler::kInstrSize;
67 int call_size_in_words = call_size_in_bytes / Assembler::kInstrSize;
68 DCHECK(call_size_in_bytes % Assembler::kInstrSize == 0);
308 const int Deoptimizer::table_entry_size_ = 2 * Assembler::kInstrSize;
318 (table_entry_size_ / Assembler::kInstrSize);
H A Dsimulator-mips.cc94 sim_->set_pc(sim_->get_pc() + 2 * Instruction::kInstrSize);
398 sim_->set_pc(sim_->get_pc() + Instruction::kInstrSize);
565 end = cur + (10 * Instruction::kInstrSize);
574 end = cur + (10 * Instruction::kInstrSize);
582 end = cur + (value * Instruction::kInstrSize);
590 end = cur + (value2 * Instruction::kInstrSize);
598 cur += Instruction::kInstrSize;
626 2 * Instruction::kInstrSize;
630 Instruction::kInstrSize);
699 end = cur + (10 * Instruction::kInstrSize);
2215 set_pc(get_pc() + 2 * Instruction::kInstrSize); member in class:v8::internal::Instruction
[all...]
H A Dassembler-mips.h425 return pc_offset() - L->pos() < kMaxBranchOffset - 4 * kInstrSize;
429 return pc_offset() - L->pos() < kMaxCompactBranchOffset - 4 * kInstrSize;
502 instruction_payload - kInstructionsFor32BitConstant * kInstrSize, code,
512 static const int kInstrSize = sizeof(Instr);
534 static const int kCallTargetAddressOffset = 3 * kInstrSize;
536 static const int kCallTargetAddressOffset = 4 * kInstrSize;
541 static const int kPatchDebugBreakSlotAddressOffset = 4 * kInstrSize;
553 kDebugBreakSlotInstructions * kInstrSize;
992 return SizeOfCodeGeneratedSince(label) / kInstrSize;
1276 static const int kCheckConstInterval = kCheckConstIntervalInst * kInstrSize;
[all...]
H A Dassembler-mips.cc796 Instr instr1 = instr_at(pos + 0 * Assembler::kInstrSize);
797 Instr instr2 = instr_at(pos + 1 * Assembler::kInstrSize);
858 Instr instr1 = instr_at(pos + 0 * Assembler::kInstrSize);
859 Instr instr2 = instr_at(pos + 1 * Assembler::kInstrSize);
870 instr_at_put(pos + 0 * Assembler::kInstrSize, instr1 | lui_offset_u);
871 instr_at_put(pos + 1 * Assembler::kInstrSize, instr2 | jic_offset_u);
873 instr_at_put(pos + 0 * Assembler::kInstrSize,
875 instr_at_put(pos + 1 * Assembler::kInstrSize,
974 return pc_offset() - L->pos() < kMaxBranchOffset - 4 * kInstrSize;
980 return pc_offset() - L->pos() < (1 << (bits + 2 - 1)) - 1 - 5 * kInstrSize;
3104 BlockTrampolinePoolBefore(pc_offset() + instructions * kInstrSize); local
[all...]
H A Dconstants-mips.h872 kInstrSize = 4,
1163 const int kCArgsSlotsSize = kCArgSlotCount * Instruction::kInstrSize;
1166 const int kJSArgsSlotsSize = 0 * Instruction::kInstrSize;
1168 const int kBArgsSlotsSize = 0 * Instruction::kInstrSize;
1170 const int kBranchReturnOffset = 2 * Instruction::kInstrSize;
/external/v8/src/ppc/
H A Dassembler-ppc-inl.h146 IsConstantPoolLoadEnd(pc - 3 * kInstrSize, &access)) {
151 return pc - (len + 2) * kInstrSize;
164 return pc + (len + 2) * kInstrSize;
254 static const int kCodeAgingTargetDelta = 1 * Assembler::kInstrSize;
256 (kNoCodeAgeSequenceInstructions * Assembler::kInstrSize);
427 pc_ += kInstrSize;
444 Instr instr2 = instr_at(pc + kInstrSize);
448 Instr instr4 = instr_at(pc + (3 * kInstrSize));
449 Instr instr5 = instr_at(pc + (4 * kInstrSize));
489 opcode = instr_at(pc + kInstrSize)
[all...]
H A Dcode-stubs-ppc.h113 Assembler::instr_at(stub->instruction_start() + Assembler::kInstrSize);
115 (Assembler::kInstrSize * 2));
137 PatchBranchIntoNop(&masm, Assembler::kInstrSize);
138 PatchBranchIntoNop(&masm, Assembler::kInstrSize * 2);
142 PatchNopIntoBranch(&masm, Assembler::kInstrSize);
146 PatchNopIntoBranch(&masm, Assembler::kInstrSize * 2);
151 stub->instruction_start() + Assembler::kInstrSize,
152 2 * Assembler::kInstrSize);
H A Dassembler-ppc.h504 static const int kInstrSize = sizeof(Instr);
541 (kMovInstructions + 2) * kInstrSize;
549 static const int kPatchDebugBreakSlotAddressOffset = 0 * kInstrSize;
556 kDebugBreakSlotInstructions * kInstrSize;
595 int cmpi_pos = pc_offset() - kInstrSize;
599 int xpos = cmpi_pos - kInstrSize;
608 pc_ -= kInstrSize;
612 pc_ -= kInstrSize;
615 pc_ -= kInstrSize;
1155 return SizeOfCodeGeneratedSince(label) / kInstrSize;
[all...]
H A Ddeoptimizer-ppc.cc23 return kCallInstructionSizeInWords * Assembler::kInstrSize;
76 int call_size_in_words = call_size_in_bytes / Assembler::kInstrSize;
77 DCHECK(call_size_in_bytes % Assembler::kInstrSize == 0);
H A Dsimulator-ppc.cc71 *reinterpret_cast<char**>(sim_->get_pc() + Instruction::kInstrSize);
82 sim_->set_pc(sim_->get_pc() + Instruction::kInstrSize + kPointerSize);
230 sim_->set_pc(sim_->get_pc() + Instruction::kInstrSize);
254 sim_->set_pc(sim_->get_pc() + Instruction::kInstrSize);
427 end = cur + (10 * Instruction::kInstrSize);
436 end = cur + (10 * Instruction::kInstrSize);
444 end = cur + (value * Instruction::kInstrSize);
452 end = cur + (value2 * Instruction::kInstrSize);
496 sim_->get_pc() - (Instruction::kInstrSize + kPointerSize);
499 reinterpret_cast<Instruction*>(stop_pc + Instruction::kInstrSize);
3849 set_pc(reinterpret_cast<intptr_t>(instr) + Instruction::kInstrSize); member in class:v8::internal::Instruction
[all...]
/external/v8/src/mips64/
H A Dassembler-mips64-inl.h126 // pc_ + Assembler::kInstructionsFor32BitConstant * Assembler::kInstrSize);
128 pc_ + Assembler::kInstructionsFor64BitConstant * Assembler::kInstrSize);
151 Instr instr = Assembler::instr_at(pc + 0 * Assembler::kInstrSize);
220 Instr instr = Assembler::instr_at(pc_ + 0 * Assembler::kInstrSize);
277 static const int kNoCodeAgeSequenceLength = 9 * Assembler::kInstrSize;
289 Assembler::target_address_at(pc_ + Assembler::kInstrSize, host_));
296 Assembler::set_target_address_at(isolate_, pc_ + Assembler::kInstrSize, host_,
397 if (pc_offset() >= next_buffer_check_ - extra_instructions * kInstrSize) {
411 pc_ += kInstrSize;
424 pc_ += kInstrSize;
[all...]
H A Dcode-stubs-mips64.h126 2 * Assembler::kInstrSize);
151 PatchBranchIntoNop(&masm, 2 * Assembler::kInstrSize);
159 PatchNopIntoBranch(&masm, 2 * Assembler::kInstrSize);
164 4 * Assembler::kInstrSize);
H A Ddeoptimizer-mips64.cc17 return kCallInstructionSizeInWords * Assembler::kInstrSize;
67 int call_size_in_words = call_size_in_bytes / Assembler::kInstrSize;
68 DCHECK(call_size_in_bytes % Assembler::kInstrSize == 0);
307 const int Deoptimizer::table_entry_size_ = 2 * Assembler::kInstrSize;
317 (1 << (kImm16Bits - 2)) / (table_entry_size_ / Assembler::kInstrSize);
H A Dassembler-mips64.cc731 Instr instr_lui = instr_at(pos + 0 * Assembler::kInstrSize);
732 Instr instr_ori = instr_at(pos + 1 * Assembler::kInstrSize);
733 Instr instr_ori2 = instr_at(pos + 3 * Assembler::kInstrSize);
803 Instr instr_lui = instr_at(pos + 0 * Assembler::kInstrSize);
804 Instr instr_ori = instr_at(pos + 1 * Assembler::kInstrSize);
805 Instr instr_ori2 = instr_at(pos + 3 * Assembler::kInstrSize);
816 instr_at_put(pos + 0 * Assembler::kInstrSize,
818 instr_at_put(pos + 1 * Assembler::kInstrSize,
820 instr_at_put(pos + 3 * Assembler::kInstrSize,
940 return pc_offset() - L->pos() < kMaxBranchOffset - 4 * kInstrSize;
3341 BlockTrampolinePoolBefore(pc_offset() + instructions * kInstrSize); local
[all...]
H A Dassembler-mips64.h428 return pc_offset() - L->pos() < kMaxBranchOffset - 4 * kInstrSize;
432 return pc_offset() - L->pos() < kMaxCompactBranchOffset - 4 * kInstrSize;
508 instruction_payload - kInstructionsFor64BitConstant * kInstrSize, code,
518 static const int kInstrSize = sizeof(Instr);
541 static const int kCallTargetAddressOffset = 5 * kInstrSize;
543 static const int kCallTargetAddressOffset = 6 * kInstrSize;
548 static const int kPatchDebugBreakSlotAddressOffset = 6 * kInstrSize;
560 kDebugBreakSlotInstructions * kInstrSize;
1054 return SizeOfCodeGeneratedSince(label) / kInstrSize;
1330 static const int kCheckConstInterval = kCheckConstIntervalInst * kInstrSize;
[all...]
H A Dsimulator-mips64.cc106 sim_->set_pc(sim_->get_pc() + 3 * Instruction::kInstrSize);
364 sim_->set_pc(sim_->get_pc() + Instruction::kInstrSize);
498 end = cur + (10 * Instruction::kInstrSize);
507 end = cur + (10 * Instruction::kInstrSize);
515 end = cur + (value * Instruction::kInstrSize);
523 end = cur + (value2 * Instruction::kInstrSize);
531 cur += Instruction::kInstrSize;
559 2 * Instruction::kInstrSize;
563 Instruction::kInstrSize);
632 end = cur + (10 * Instruction::kInstrSize);
2209 set_pc(get_pc() + 2 * Instruction::kInstrSize); member in class:v8::internal::Instruction
[all...]
/external/v8/src/full-codegen/arm/
H A Dfull-codegen-arm.cc375 static const int kProfileCounterResetSequenceLength = 5 * Assembler::kInstrSize;
377 static const int kProfileCounterResetSequenceLength = 7 * Assembler::kInstrSize;
393 (kProfileCounterResetSequenceLength / Assembler::kInstrSize) - 2;
3564 Address load_address = pc - 2 * Assembler::kInstrSize;
3570 load_address -= 2 * Assembler::kInstrSize;
3573 Memory::int32_at(load_address + Assembler::kInstrSize)));
3575 load_address -= 4 * Assembler::kInstrSize;
3578 Memory::int32_at(load_address + Assembler::kInstrSize)));
3580 Memory::int32_at(load_address + 2 * Assembler::kInstrSize)));
3582 Memory::int32_at(load_address + 3 * Assembler::kInstrSize)));
[all...]

Completed in 554 milliseconds

123