Lines Matching refs:tinstr
608 thumb2arm(u16 tinstr) in thumb2arm() argument
610 u32 L = (tinstr & (1<<11)) >> 11; in thumb2arm()
612 switch ((tinstr & 0xf800) >> 11) { in thumb2arm()
619 ((tinstr & (1<<12)) << (22-12)) | /* fixup */ in thumb2arm()
621 ((tinstr & (7<<0)) << (12-0)) | /* Rd */ in thumb2arm()
622 ((tinstr & (7<<3)) << (16-3)) | /* Rn */ in thumb2arm()
623 ((tinstr & (31<<6)) >> /* immed_5 */ in thumb2arm()
624 (6 - ((tinstr & (1<<12)) ? 0 : 2))); in thumb2arm()
629 ((tinstr & (7<<0)) << (12-0)) | /* Rd */ in thumb2arm()
630 ((tinstr & (7<<3)) << (16-3)) | /* Rn */ in thumb2arm()
631 ((tinstr & (7<<6)) >> (6-1)) | /* immed_5[2:0] */ in thumb2arm()
632 ((tinstr & (3<<9)) >> (9-8)); /* immed_5[4:3] */ in thumb2arm()
648 return subset[(tinstr & (7<<9)) >> 9] | in thumb2arm()
649 ((tinstr & (7<<0)) << (12-0)) | /* Rd */ in thumb2arm()
650 ((tinstr & (7<<3)) << (16-3)) | /* Rn */ in thumb2arm()
651 ((tinstr & (7<<6)) >> (6-0)); /* Rm */ in thumb2arm()
662 ((tinstr & (7<<8)) << (12-8)) | /* Rd */ in thumb2arm()
663 ((tinstr & 255) << (2-0)); /* immed_8 */ in thumb2arm()
670 ((tinstr & (7<<8)) << (12-8)) | /* Rd */ in thumb2arm()
671 ((tinstr & 255) << 2); /* immed_8 */ in thumb2arm()
677 u32 Rn = (tinstr & (7<<8)) >> 8; in thumb2arm()
678 u32 W = ((L<<Rn) & (tinstr&255)) ? 0 : 1<<21; in thumb2arm()
681 (tinstr&255); in thumb2arm()
687 if ((tinstr & (3 << 9)) == 0x0400) { in thumb2arm()
694 return subset[(L<<1) | ((tinstr & (1<<8)) >> 8)] | in thumb2arm()
695 (tinstr & 255); /* register_list */ in thumb2arm()
807 u16 tinstr = 0; in do_alignment() local
820 fault = alignment_get_thumb(regs, ptr, &tinstr); in do_alignment()
823 IS_T32(tinstr)) { in do_alignment()
827 instr = __opcode_thumb32_compose(tinstr, tinst2); in do_alignment()
831 instr = thumb2arm(tinstr); in do_alignment()
962 isize == 2 ? tinstr : instr, instrptr); in do_alignment()
974 isize == 2 ? tinstr : instr, in do_alignment()