Lines Matching refs:addr
211 uint32_t addr; in bcj_ia64() local
239 addr = (norm >> 13) & 0x0FFFFF; in bcj_ia64()
240 addr |= ((uint32_t)(norm >> 36) & 1) << 20; in bcj_ia64()
241 addr <<= 4; in bcj_ia64()
242 addr -= s->pos + (uint32_t)i; in bcj_ia64()
243 addr >>= 4; in bcj_ia64()
246 norm |= (uint64_t)(addr & 0x0FFFFF) << 13; in bcj_ia64()
247 norm |= (uint64_t)(addr & 0x100000) in bcj_ia64()
268 uint32_t addr; in bcj_arm() local
272 addr = (uint32_t)buf[i] | ((uint32_t)buf[i + 1] << 8) in bcj_arm()
274 addr <<= 2; in bcj_arm()
275 addr -= s->pos + (uint32_t)i + 8; in bcj_arm()
276 addr >>= 2; in bcj_arm()
277 buf[i] = (uint8_t)addr; in bcj_arm()
278 buf[i + 1] = (uint8_t)(addr >> 8); in bcj_arm()
279 buf[i + 2] = (uint8_t)(addr >> 16); in bcj_arm()
291 uint32_t addr; in bcj_armthumb() local
296 addr = (((uint32_t)buf[i + 1] & 0x07) << 19) in bcj_armthumb()
300 addr <<= 1; in bcj_armthumb()
301 addr -= s->pos + (uint32_t)i + 4; in bcj_armthumb()
302 addr >>= 1; in bcj_armthumb()
303 buf[i + 1] = (uint8_t)(0xF0 | ((addr >> 19) & 0x07)); in bcj_armthumb()
304 buf[i] = (uint8_t)(addr >> 11); in bcj_armthumb()
305 buf[i + 3] = (uint8_t)(0xF8 | ((addr >> 8) & 0x07)); in bcj_armthumb()
306 buf[i + 2] = (uint8_t)addr; in bcj_armthumb()