Lines Matching refs:displacement
62 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()
147 uint32_t i2 = (displacement >> 22) & 0x1; in PatchBl()
148 uint32_t imm10 = (displacement >> 12) & 0x03ff; in PatchBl()
149 uint32_t imm11 = (displacement >> 1) & 0x07ff; in PatchBl()