Home
last modified time | relevance | path

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

/art/dex2oat/linker/arm/
Drelative_patcher_thumb2.cc63 uint32_t displacement = CalculateMethodCallDisplacement(patch_offset, target_offset & ~1u); in PatchCall() local
64 PatchBl(code, literal_offset, displacement); in PatchCall()
94 uint32_t displacement = target_offset - patch_offset; in PatchEntrypointCall() local
95 PatchBl(code, patch.LiteralOffset(), displacement); in PatchEntrypointCall()
142 uint32_t displacement) { in PatchBl() argument
143 displacement -= kPcDisplacement; // The base PC is at the end of the 4-byte patch. in PatchBl()
144 DCHECK_EQ(displacement & 1u, 0u); in PatchBl()
145 DCHECK((displacement >> 24) == 0u || (displacement >> 24) == 255u); // 25-bit signed. in PatchBl()
146 uint32_t signbit = (displacement >> 31) & 0x1; in PatchBl()
147 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.cc198 uint32_t displacement = CalculateMethodCallDisplacement(patch_offset, target_offset & ~1u); in PatchCall() local
199 PatchBl(code, literal_offset, displacement); in PatchCall()
308 uint32_t displacement = target_offset - patch_offset; in PatchEntrypointCall() local
309 PatchBl(code, patch.LiteralOffset(), displacement); in PatchEntrypointCall()
364 uint32_t displacement) { in PatchBl() argument
365 DCHECK_ALIGNED(displacement, 4u); in PatchBl()
366 DCHECK((displacement >> 27) == 0u || (displacement >> 27) == 31u); // 28-bit signed. in PatchBl()
367 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.cc113 void X86ManagedRuntimeCallingConvention::ResetIterator(FrameOffset displacement) { in ResetIterator() argument
114 ManagedRuntimeCallingConvention::ResetIterator(displacement); in ResetIterator()
/art/compiler/jni/quick/arm/
Dcalling_convention_arm.h39 void ResetIterator(FrameOffset displacement) override;
Dcalling_convention_arm.cc200 void ArmManagedRuntimeCallingConvention::ResetIterator(FrameOffset displacement) { in ResetIterator() argument
201 ManagedRuntimeCallingConvention::ResetIterator(displacement); in ResetIterator()
/art/compiler/jni/quick/
Dcalling_convention.h57 virtual void ResetIterator(FrameOffset displacement) { in ResetIterator() argument
58 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.cc2359 ssize_t displacement = static_cast<ssize_t>(frame_size) - (spill_regs.size() * 8 + 8); in buildframe_test_fn() local
2360 str << "subq $" << displacement << ", %rsp\n"; in buildframe_test_fn()
2392 ssize_t displacement = static_cast<ssize_t>(frame_size) - spill_regs.size() * 8 - 8; in removeframe_test_fn() local
2393 str << "addq $" << displacement << ", %rsp\n"; in removeframe_test_fn()
/art/runtime/interpreter/
Dinterpreter_switch_impl-inl.h89 int32_t displacement = in HandlePendingException() local
91 SetNextInstruction(inst->RelativeAt(displacement)); in HandlePendingException()