Lines Matching refs:shift
78 uint32_t shift; in arm_get_shifted_register() local
80 if (arm_get_register_offpc(proc, BITS(inst, 8, 11), &shift) < 0) in arm_get_shifted_register()
82 shift &= 0xff; in arm_get_shifted_register()
84 shift = BITS(inst, 7, 11); in arm_get_shifted_register()
96 res = shift >= 32 ? 0 : res << shift; in arm_get_shifted_register()
100 res = shift >= 32 ? 0 : res >> shift; in arm_get_shifted_register()
104 if (shift >= 32) in arm_get_shifted_register()
105 shift = 31; in arm_get_shifted_register()
107 ? ~((~res) >> shift) : res >> shift); in arm_get_shifted_register()
111 shift &= 31; in arm_get_shifted_register()
112 if (shift == 0) in arm_get_shifted_register()
115 res = (res >> shift) | (res << (32 - shift)); in arm_get_shifted_register()