Lines Matching refs:tinstr
183 static unsigned long thumb2arm(u16 tinstr) in thumb2arm() argument
185 u32 L = (tinstr & (1<<11)) >> 11; in thumb2arm()
187 switch ((tinstr & 0xf800) >> 11) { in thumb2arm()
192 u32 Rn = (tinstr & (7<<8)) >> 8; in thumb2arm()
193 u32 W = ((L<<Rn) & (tinstr&255)) ? 0 : 1<<21; in thumb2arm()
196 (tinstr&255); in thumb2arm()
202 if ((tinstr & (3 << 9)) == 0x0400) { in thumb2arm()
209 return subset[(L<<1) | ((tinstr & (1<<8)) >> 8)] | in thumb2arm()
210 (tinstr & 255); /* register_list */ in thumb2arm()
324 u16 tinstr, tinst2; in do_compat_alignment_fixup() local
326 if (alignment_get_thumb(regs, ptr, &tinstr)) in do_compat_alignment_fixup()
329 if (IS_T32(tinstr)) { /* Thumb-2 32-bit */ in do_compat_alignment_fixup()
332 instr = ((u32)tinstr << 16) | tinst2; in do_compat_alignment_fixup()
336 instr = thumb2arm(tinstr); in do_compat_alignment_fixup()