Home
last modified time | relevance | path

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

/linux-6.12.1/arch/arm/mm/
Dalignment.c608 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()
[all …]
/linux-6.12.1/arch/arm64/kernel/
Dcompat_alignment.c183 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
[all …]
/linux-6.12.1/arch/csky/abiv2/
Dfpu.c25 unsigned long tinstr = 0; in fpu_libc_helper() local
40 tinstr = instr_hi | ((unsigned long)instr_low << 16); in fpu_libc_helper()
42 if (((tinstr >> 21) & 0x1F) != 2) in fpu_libc_helper()
45 if ((tinstr & MTCR_MASK) == MTCR_DIST) { in fpu_libc_helper()
46 index = (tinstr >> 16) & 0x1F; in fpu_libc_helper()
50 tmp = tinstr & 0x1F; in fpu_libc_helper()
67 if ((tinstr & MFCR_MASK) == MFCR_DIST) { in fpu_libc_helper()
68 index = tinstr & 0x1F; in fpu_libc_helper()
72 tmp = ((tinstr >> 16) & 0x1F); in fpu_libc_helper()