Searched defs:displacement (Results 1 - 8 of 8) sorted by path

/art/compiler/jni/quick/
H A Dcalling_convention.h59 // Place iterator at start of arguments. The displacement is applied to
62 void ResetIterator(FrameOffset displacement) { argument
63 displacement_ = displacement;
/art/compiler/linker/arm/
H A Drelative_patcher_arm_base.cc338 uint32_t displacement = target_offset - patch_offset; local
342 if (displacement > max_positive_displacement && displacement < -max_negative_displacement) {
348 displacement = method_call_thunk_->GetPendingOffset() - patch_offset;
353 displacement = method_call_thunk_->LastWrittenOffset() - patch_offset;
354 DCHECK_GE(displacement, -max_negative_displacement);
357 return displacement;
H A Drelative_patcher_thumb2.cc36 // PC displacement from patch location; Thumb2 PC is always at instruction address + 4.
39 // Maximum positive and negative displacement for method call measured from the patch location.
40 // (Signed 25 bit displacement with the last bit 0 has range [-2^24, 2^24-2] measured from
45 // Maximum positive and negative displacement for a conditional branch measured from the patch
46 // location. (Signed 21 bit displacement with the last bit 0 has range [-2^20, 2^20-2] measured
63 uint32_t displacement = CalculateMethodCallDisplacement(patch_offset, target_offset & ~1u); local
64 displacement -= kPcDisplacement; // The base PC is at the end of the 4-byte patch.
65 DCHECK_EQ(displacement & 1u, 0u);
66 DCHECK((displacement >> 24) == 0u || (displacement >> 2
[all...]
/art/compiler/linker/arm64/
H A Drelative_patcher_arm64.cc42 // Maximum positive and negative displacement for method call measured from the patch location.
43 // (Signed 28 bit displacement with the last two bits 0 has range [-2^27, 2^27-4] measured from
48 // Maximum positive and negative displacement for a conditional branch measured from the patch
49 // location. (Signed 21 bit displacement with the last two bits 0 has range [-2^20, 2^20-4]
197 uint32_t displacement = CalculateMethodCallDisplacement(patch_offset, target_offset & ~1u); local
198 DCHECK_EQ(displacement & 3u, 0u);
199 DCHECK((displacement >> 27) == 0u || (displacement >> 27) == 31u); // 28-bit signed.
200 uint32_t insn = (displacement & 0x0fffffffu) >> 2;
600 // be negative yet passed as uint32_t. Therefore we limit the displacement
[all...]
/art/compiler/linker/x86/
H A Drelative_patcher_x86_base.cc50 uint32_t displacement = target_offset - patch_offset; local
51 displacement -= kPcDisplacement; // The base PC is at the end of the 4-byte patch.
54 reinterpret_cast<unaligned_int32_t*>(&(*code)[literal_offset])[0] = displacement;
/art/compiler/linker/x86_64/
H A Drelative_patcher_x86_64.cc31 uint32_t displacement = target_offset - patch_offset; local
32 displacement -= kPcDisplacement; // The base PC is at the end of the 4-byte patch.
35 reinterpret_cast<unaligned_int32_t*>(&(*code)[patch.LiteralOffset()])[0] = displacement;
/art/compiler/utils/x86_64/
H A Dassembler_x86_64_test.cc2022 ssize_t displacement = static_cast<ssize_t>(frame_size) - (spill_regs.size() * 8 + 8); local
2023 str << "subq $" << displacement << ", %rsp\n"; local
2055 ssize_t displacement = static_cast<ssize_t>(frame_size) - spill_regs.size() * 8 - 8; local
2056 str << "addq $" << displacement << ", %rsp\n"; local
/art/disassembler/
H A Ddisassembler_x86.cc1549 int32_t displacement; local
1551 displacement = *reinterpret_cast<const int8_t*>(instr);
1555 displacement = *reinterpret_cast<const int32_t*>(instr);
1558 args << StringPrintf("%+d (", displacement)
1559 << FormatInstructionPointer(instr + displacement)

Completed in 112 milliseconds