Searched refs:displacement (Results 1 – 11 of 11) sorted by relevance
/art/dex2oat/linker/arm/ |
D | relative_patcher_thumb2.cc | 65 uint32_t displacement = CalculateMethodCallDisplacement(patch_offset, target_offset & ~1u); in PatchCall() local 66 displacement -= kPcDisplacement; // The base PC is at the end of the 4-byte patch. in PatchCall() 67 DCHECK_EQ(displacement & 1u, 0u); in PatchCall() 68 DCHECK((displacement >> 24) == 0u || (displacement >> 24) == 255u); // 25-bit signed. in PatchCall() 69 uint32_t signbit = (displacement >> 31) & 0x1; in PatchCall() 70 uint32_t i1 = (displacement >> 23) & 0x1; in PatchCall() 71 uint32_t i2 = (displacement >> 22) & 0x1; in PatchCall() 72 uint32_t imm10 = (displacement >> 12) & 0x03ff; in PatchCall() 73 uint32_t imm11 = (displacement >> 1) & 0x07ff; in PatchCall()
|
D | relative_patcher_arm_base.cc | 345 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()
|
/art/dex2oat/linker/x86_64/ |
D | relative_patcher_x86_64.cc | 31 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/ |
D | relative_patcher_x86_base.cc | 50 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/ |
D | relative_patcher_arm64.cc | 198 uint32_t displacement = CalculateMethodCallDisplacement(patch_offset, target_offset & ~1u); in PatchCall() local 199 DCHECK_EQ(displacement & 3u, 0u); in PatchCall() 200 DCHECK((displacement >> 27) == 0u || (displacement >> 27) == 31u); // 28-bit signed. in PatchCall() 201 uint32_t insn = (displacement & 0x0fffffffu) >> 2; in PatchCall()
|
/art/compiler/jni/quick/ |
D | calling_convention.h | 64 void ResetIterator(FrameOffset displacement) { in ResetIterator() argument 65 displacement_ = displacement; in ResetIterator()
|
/art/disassembler/ |
D | disassembler_x86.cc | 1565 int32_t displacement; in DumpInstruction() local 1567 displacement = *reinterpret_cast<const int8_t*>(instr); in DumpInstruction() 1571 displacement = *reinterpret_cast<const int32_t*>(instr); in DumpInstruction() 1574 args << StringPrintf("%+d (", displacement) in DumpInstruction() 1575 << FormatInstructionPointer(instr + displacement) in DumpInstruction()
|
/art/runtime/interpreter/mterp/x86_64/ |
D | control_flow.S | 35 movswq 2(rPC), rINSTq # fetch signed displacement
|
/art/runtime/interpreter/mterp/x86/ |
D | control_flow.S | 35 movswl 2(rPC), rINST # fetch signed displacement
|
/art/compiler/utils/x86_64/ |
D | assembler_x86_64_test.cc | 2069 ssize_t displacement = static_cast<ssize_t>(frame_size) - (spill_regs.size() * 8 + 8); in buildframe_test_fn() local 2070 str << "subq $" << displacement << ", %rsp\n"; in buildframe_test_fn() 2102 ssize_t displacement = static_cast<ssize_t>(frame_size) - spill_regs.size() * 8 - 8; in removeframe_test_fn() local 2103 str << "addq $" << displacement << ", %rsp\n"; in removeframe_test_fn()
|
/art/runtime/interpreter/ |
D | interpreter_switch_impl-inl.h | 135 int32_t displacement = in HandlePendingExceptionWithInstrumentationImpl() local 137 inst = inst->RelativeAt(displacement); in HandlePendingExceptionWithInstrumentationImpl()
|