Home
last modified time | relevance | path

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

/frameworks/compile/mclinker/lib/Target/ARM/
DARMRelocator.cpp207 Relocator::DWord pUpper16, in helper_thumb32_branch_offset() argument
209 Relocator::DWord s = (pUpper16 & (1U << 10)) >> 10, // 26 bit in helper_thumb32_branch_offset()
210 u = pUpper16 & 0x3ffU, // 25-16 in helper_thumb32_branch_offset()
223 static Relocator::DWord helper_thumb32_branch_upper(Relocator::DWord pUpper16, in helper_thumb32_branch_upper() argument
226 return (pUpper16 & ~0x7ffU) | ((pOffset >> 12) & 0x3ffU) | (sign << 10); in helper_thumb32_branch_upper()
237 Relocator::DWord pUpper16, in helper_thumb32_cond_branch_offset() argument
239 uint32_t s = (pUpper16 & 0x0400U) >> 10; in helper_thumb32_cond_branch_offset()
243 uint32_t upper = (s << 8) | (j2 << 7) | (j1 << 6) | (pUpper16 & 0x003fU); in helper_thumb32_cond_branch_offset()
248 Relocator::DWord pUpper16, in helper_thumb32_cond_branch_upper() argument
251 return (pUpper16 & 0xfbc0U) | (sign << 10) | ((pOffset & 0x0003f000U) >> 12); in helper_thumb32_cond_branch_upper()