Home
last modified time | relevance | path

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

/Linux-v4.19/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-v4.19/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.h140 current_thread_info()->xfsr[0] = 0; \
184 current_thread_info()->xfsr[0] = 0; \
Dthread_info_64.h58 unsigned long xfsr[7]; member
/Linux-v4.19/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.c409 fsr = task_thread_info(target)->xfsr[0]; in fpregs64_get()
455 task_thread_info(target)->xfsr, in fpregs64_set()
765 fsr = task_thread_info(target)->xfsr[0]; in fpregs32_get()
833 val = task_thread_info(target)->xfsr[0]; in fpregs32_set()
836 task_thread_info(target)->xfsr[0] = val; in fpregs32_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.c125 err |= __get_user(current_thread_info()->xfsr[0], in sparc64_set_context()
221 err |= __put_user(current_thread_info()->xfsr[0], &(mcp->mc_fpregs.mcfpu_fsr)); in sparc64_get_context()
Dprocess_64.c726 fpregs32->pr_fsr = (unsigned int) current_thread_info()->xfsr[0]; in dump_fpu()
746 fpregs->pr_fsr = current_thread_info()->xfsr[0]; in dump_fpu()
Dtraps_64.c2326 unsigned long fsr = current_thread_info()->xfsr[0]; in do_fpe_common()
2374 switch ((current_thread_info()->xfsr[0] & 0x1c000)) { in do_fpother()
2866 TI_XFSR != offsetof(struct thread_info, xfsr) || in trap_init()