Home
last modified time | relevance | path

Searched refs:displacement (Results 1 – 18 of 18) sorted by relevance

/art/dex2oat/linker/arm/
Drelative_patcher_thumb2.cc62 uint32_t displacement = CalculateMethodCallDisplacement(patch_offset, target_offset & ~1u); in PatchCall() local
63 PatchBl(code, literal_offset, displacement); in PatchCall()
93 uint32_t displacement = target_offset - patch_offset; in PatchEntrypointCall() local
94 PatchBl(code, patch.LiteralOffset(), displacement); in PatchEntrypointCall()
141 uint32_t displacement) { in PatchBl() argument
142 displacement -= kPcDisplacement; // The base PC is at the end of the 4-byte patch. in PatchBl()
143 DCHECK_EQ(displacement & 1u, 0u); in PatchBl()
144 DCHECK((displacement >> 24) == 0u || (displacement >> 24) == 255u); // 25-bit signed. in PatchBl()
145 uint32_t signbit = (displacement >> 31) & 0x1; in PatchBl()
146 uint32_t i1 = (displacement >> 23) & 0x1; in PatchBl()
[all …]
Drelative_patcher_arm_base.cc345 uint32_t displacement = target_offset - patch_offset; in CalculateMethodCallDisplacement() local
349 if (displacement > max_positive_displacement && displacement < -max_negative_displacement) { in CalculateMethodCallDisplacement()
355 displacement = method_call_thunk_->GetPendingOffset() - patch_offset; in CalculateMethodCallDisplacement()
360 displacement = method_call_thunk_->LastWrittenOffset() - patch_offset; in CalculateMethodCallDisplacement()
361 DCHECK_GE(displacement, -max_negative_displacement); in CalculateMethodCallDisplacement()
364 return displacement; in CalculateMethodCallDisplacement()
Drelative_patcher_thumb2.h57 static void PatchBl(std::vector<uint8_t>* code, uint32_t literal_offset, uint32_t displacement);
/art/dex2oat/linker/x86_64/
Drelative_patcher_x86_64.cc31 uint32_t displacement = target_offset - patch_offset; in PatchPcRelativeReference() local
32 displacement -= kPcDisplacement; // The base PC is at the end of the 4-byte patch. in PatchPcRelativeReference()
35 reinterpret_cast<unaligned_int32_t*>(&(*code)[patch.LiteralOffset()])[0] = displacement; in PatchPcRelativeReference()
/art/dex2oat/linker/x86/
Drelative_patcher_x86_base.cc50 uint32_t displacement = target_offset - patch_offset; in PatchCall() local
51 displacement -= kPcDisplacement; // The base PC is at the end of the 4-byte patch. in PatchCall()
54 reinterpret_cast<unaligned_int32_t*>(&(*code)[literal_offset])[0] = displacement; in PatchCall()
/art/dex2oat/linker/arm64/
Drelative_patcher_arm64.cc200 uint32_t displacement = CalculateMethodCallDisplacement(patch_offset, target_offset & ~1u); in PatchCall() local
201 PatchBl(code, literal_offset, displacement); in PatchCall()
315 uint32_t displacement = target_offset - patch_offset; in PatchEntrypointCall() local
316 PatchBl(code, patch.LiteralOffset(), displacement); in PatchEntrypointCall()
371 uint32_t displacement) { in PatchBl() argument
372 DCHECK_ALIGNED(displacement, 4u); in PatchBl()
373 DCHECK((displacement >> 27) == 0u || (displacement >> 27) == 31u); // 28-bit signed. in PatchBl()
374 uint32_t insn = (displacement & 0x0fffffffu) >> 2; in PatchBl()
Drelative_patcher_arm64.h63 static void PatchBl(std::vector<uint8_t>* code, uint32_t literal_offset, uint32_t displacement);
/art/compiler/jni/quick/x86/
Dcalling_convention_x86.h37 void ResetIterator(FrameOffset displacement) override;
Dcalling_convention_x86.cc119 void X86ManagedRuntimeCallingConvention::ResetIterator(FrameOffset displacement) { in ResetIterator() argument
120 ManagedRuntimeCallingConvention::ResetIterator(displacement); in ResetIterator()
/art/compiler/jni/quick/arm/
Dcalling_convention_arm.h39 void ResetIterator(FrameOffset displacement) override;
Dcalling_convention_arm.cc199 void ArmManagedRuntimeCallingConvention::ResetIterator(FrameOffset displacement) { in ResetIterator() argument
200 ManagedRuntimeCallingConvention::ResetIterator(displacement); in ResetIterator()
/art/compiler/jni/quick/
Dcalling_convention.h56 virtual void ResetIterator(FrameOffset displacement) { in ResetIterator() argument
57 displacement_ = displacement; in ResetIterator()
/art/runtime/interpreter/mterp/x86_64ng/
Dcontrol_flow.S32 movswq 2(rPC), rINSTq # fetch signed displacement
/art/disassembler/
Ddisassembler_x86.cc1582 int32_t displacement; in DumpInstruction() local
1584 displacement = *reinterpret_cast<const int8_t*>(instr); in DumpInstruction()
1588 displacement = *reinterpret_cast<const int32_t*>(instr); in DumpInstruction()
1591 args << StringPrintf("%+d (", displacement) in DumpInstruction()
1592 << FormatInstructionPointer(instr + displacement) in DumpInstruction()
/art/runtime/interpreter/mterp/x86_64/
Dcontrol_flow.S35 movswq 2(rPC), rINSTq # fetch signed displacement
/art/runtime/interpreter/mterp/x86/
Dcontrol_flow.S35 movswl 2(rPC), rINST # fetch signed displacement
/art/compiler/utils/x86_64/
Dassembler_x86_64_test.cc2364 ssize_t displacement = static_cast<ssize_t>(frame_size) - (spill_regs.size() * 8 + 8); in buildframe_test_fn() local
2365 str << "subq $" << displacement << ", %rsp\n"; in buildframe_test_fn()
2397 ssize_t displacement = static_cast<ssize_t>(frame_size) - spill_regs.size() * 8 - 8; in removeframe_test_fn() local
2398 str << "addq $" << displacement << ", %rsp\n"; in removeframe_test_fn()
/art/runtime/interpreter/
Dinterpreter_switch_impl-inl.h116 int32_t displacement = in HandlePendingException() local
118 SetNextInstruction(inst_->RelativeAt(displacement)); in HandlePendingException()