Home
last modified time | relevance | path

Searched refs:xfsr (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/arch/sparc/math-emu/
Dmath_64.c103 u64 fsr = current_thread_info()->xfsr[0]; in record_exception()
148 current_thread_info()->xfsr[0] = fsr; in record_exception()
185 long XR, xfsr; in do_mathemu() local
220 unsigned long x = current_thread_info()->xfsr[0]; in do_mathemu()
228 unsigned long x = current_thread_info()->xfsr[0]; in do_mathemu()
273 XR = current_thread_info()->xfsr[0] >> 10; in do_mathemu()
275 XR = current_thread_info()->xfsr[0] >> (30 + ((insn >> 10) & 0x6)); in do_mathemu()
347 current_thread_info()->xfsr[0] &= ~(FSR_CEXC_MASK); in do_mathemu()
368 int ftt = (current_thread_info()->xfsr[0] >> 14) & 0x7; in do_mathemu()
372 current_thread_info()->xfsr[0] &= ~0x1c000; in do_mathemu()
[all …]
/linux-6.6.21/arch/sparc/include/asm/
Dsfp-machine_64.h77 #define FP_ROUNDMODE ((current_thread_info()->xfsr[0] >> 30) & 0x3)
89 #define FP_INHIBIT_RESULTS ((current_thread_info()->xfsr[0] >> 23) & _fex)
91 #define FP_TRAPPING_EXCEPTIONS ((current_thread_info()->xfsr[0] >> 23) & 0x1f)
Dprocessor_64.h130 current_thread_info()->xfsr[0] = 0; \
174 current_thread_info()->xfsr[0] = 0; \
Dthread_info_64.h58 unsigned long xfsr[7]; member
/linux-6.6.21/arch/sparc/kernel/
Dsigutil_64.c28 err |= __put_user(current_thread_info()->xfsr[0], &fpu->si_fsr); in save_fpu_state()
53 err |= __get_user(current_thread_info()->xfsr[0], &fpu->si_fsr); in restore_fpu_state()
Dptrace_64.c363 membuf_store(&to, t->xfsr[0]); in fpregs64_get()
388 task_thread_info(target)->xfsr, in fpregs64_set()
691 membuf_store(&to, (u32)t->xfsr[0]); in fpregs32_get()
728 val = task_thread_info(target)->xfsr[0]; in fpregs32_set()
731 task_thread_info(target)->xfsr[0] = val; in fpregs32_set()
840 membuf_store(&to, (u32)t->xfsr[0]); in getfpregs_get()
872 val = task_thread_info(target)->xfsr[0]; in setfpregs_set()
875 task_thread_info(target)->xfsr[0] = val; in setfpregs_set()
Dunaligned_64.c448 current_thread_info()->xfsr[0] &= ~0x1c000; in handle_ldf_stq()
456 current_thread_info()->xfsr[0] |= (6 << 14) /* invalid_fp_register */; in handle_ldf_stq()
Dsignal_64.c124 err |= __get_user(current_thread_info()->xfsr[0], in sparc64_set_context()
220 err |= __put_user(current_thread_info()->xfsr[0], &(mcp->mc_fpregs.mcfpu_fsr)); in sparc64_get_context()
Dtraps_64.c2321 unsigned long fsr = current_thread_info()->xfsr[0]; in do_fpe_common()
2368 switch ((current_thread_info()->xfsr[0] & 0x1c000)) { in do_fpother()
2856 TI_XFSR != offsetof(struct thread_info, xfsr) || in trap_init()