Home | History | Annotate | Download | only in arm

Lines Matching refs:displacement

33 // PC displacement from patch location; Thumb2 PC is always at instruction address + 4.
36 // Maximum positive and negative displacement for method call measured from the patch location.
37 // (Signed 25 bit displacement with the last bit 0 has range [-2^24, 2^24-2] measured from
42 // Maximum positive and negative displacement for a conditional branch measured from the patch
43 // location. (Signed 21 bit displacement with the last bit 0 has range [-2^20, 2^20-2] measured
60 uint32_t displacement = CalculateMethodCallDisplacement(patch_offset, target_offset & ~1u);
61 displacement -= kPcDisplacement; // The base PC is at the end of the 4-byte patch.
62 DCHECK_EQ(displacement & 1u, 0u);
63 DCHECK((displacement >> 24) == 0u || (displacement >> 24) == 255u); // 25-bit signed.
64 uint32_t signbit = (displacement >> 31) & 0x1;
65 uint32_t i1 = (displacement >> 23) & 0x1;
66 uint32_t i2 = (displacement >> 22) & 0x1;
67 uint32_t imm10 = (displacement >> 12) & 0x03ff;
68 uint32_t imm11 = (displacement >> 1) & 0x07ff;