Home
last modified time | relevance | path

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

/linux/arch/sparc/math-emu/
A 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
273 XR = current_thread_info()->xfsr[0] >> 10; in do_mathemu()
372 current_thread_info()->xfsr[0] &= ~0x1c000; in do_mathemu()
496 case 0: xfsr = current_thread_info()->xfsr[0]; in do_mathemu()
500 case 0: xfsr &= ~0xc00; xfsr |= (XR << 10); break; in do_mathemu()
501 case 1: xfsr &= ~0x300000000UL; xfsr |= (XR << 32); break; in do_mathemu()
502 case 2: xfsr &= ~0xc00000000UL; xfsr |= (XR << 34); break; in do_mathemu()
503 case 3: xfsr &= ~0x3000000000UL; xfsr |= (XR << 36); break; in do_mathemu()
[all …]
/linux/arch/sparc/include/asm/
A 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)
A Dprocessor_64.h134 current_thread_info()->xfsr[0] = 0; \
178 current_thread_info()->xfsr[0] = 0; \
A Dthread_info_64.h58 unsigned long xfsr[7]; member
/linux/arch/sparc/kernel/
A 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()
A Dptrace_64.c364 membuf_store(&to, t->xfsr[0]); in fpregs64_get()
389 task_thread_info(target)->xfsr, in fpregs64_set()
693 membuf_store(&to, (u32)t->xfsr[0]); in fpregs32_get()
730 val = task_thread_info(target)->xfsr[0]; in fpregs32_set()
733 task_thread_info(target)->xfsr[0] = val; in fpregs32_set()
842 membuf_store(&to, (u32)t->xfsr[0]); in getfpregs_get()
874 val = task_thread_info(target)->xfsr[0]; in setfpregs_set()
877 task_thread_info(target)->xfsr[0] = val; in setfpregs_set()
A 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()
A 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()
A 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()
2858 TI_XFSR != offsetof(struct thread_info, xfsr) || in trap_init()

Completed in 18 milliseconds