Home
last modified time | relevance | path

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

/linux-2.4.37.9/arch/sparc64/math-emu/
Dmath.c99 u64 fsr = current->thread.xfsr[0]; in record_exception()
144 current->thread.xfsr[0] = fsr; in record_exception()
181 long XR, xfsr; in do_mathemu() local
248 XR = current->thread.xfsr[0] >> 10; in do_mathemu()
250 XR = current->thread.xfsr[0] >> (30 + ((insn >> 10) & 0x6)); in do_mathemu()
322 current->thread.xfsr[0] &= ~(FSR_CEXC_MASK); in do_mathemu()
336 freg = (current->thread.xfsr[0] >> 14) & 0xf; in do_mathemu()
339 current->thread.xfsr[0] &= ~0x1c000; in do_mathemu()
343 current->thread.xfsr[0] |= (6 << 14) /* invalid_fp_register */; in do_mathemu()
361 current->thread.xfsr[0] |= (6 << 14) /* invalid_fp_register */; in do_mathemu()
[all …]
/linux-2.4.37.9/include/asm-sparc64/
Dsfp-machine.h77 #define FP_ROUNDMODE ((current->thread.xfsr[0] >> 30) & 0x3)
89 #define FP_INHIBIT_RESULTS ((current->thread.xfsr[0] >> 23) & _fex)
Dprocessor.h84 unsigned long xfsr[7]; member
/linux-2.4.37.9/arch/sparc64/kernel/
Dptrace.c393 __put_user(child->thread.xfsr[0], (&fps->fsr)) || in do_ptrace()
414 __put_user(child->thread.xfsr[0], (&fps->fsr))) { in do_ptrace()
443 child->thread.xfsr[0] &= 0xffffffff00000000UL; in do_ptrace()
444 child->thread.xfsr[0] |= fsr; in do_ptrace()
461 __get_user(child->thread.xfsr[0], (&fps->fsr))) { in do_ptrace()
Dprocess.c776 fpregs32->pr_fsr = (unsigned int) current->thread.xfsr[0]; in dump_fpu()
796 fpregs->pr_fsr = current->thread.xfsr[0]; in dump_fpu()
830 current->thread.xfsr[0] = 0; in sparc_execve()
Dsignal.c159 err |= __get_user(current->thread.xfsr[0], in sparc64_set_context()
252 err |= __put_user(current->thread.xfsr[0], &(mcp->mc_fpregs.mcfpu_fsr)); in sparc64_get_context()
403 err |= __get_user(current->thread.xfsr[0], &fpu->si_fsr); in restore_fpu_state()
496 err |= __put_user(current->thread.xfsr[0], &fpu->si_fsr); in save_fpu_state()
Dunaligned.c495 current->thread.xfsr[0] &= ~0x1c000; in handle_ldf_stq()
497 current->thread.xfsr[0] |= (6 << 14) /* invalid_fp_register */; in handle_ldf_stq()
Dtraps.c1614 unsigned long fsr = current->thread.xfsr[0]; in do_fpe_common()
1654 switch ((current->thread.xfsr[0] & 0x1c000)) { in do_fpother()
Dsignal32.c260 err |= __get_user(current->thread.xfsr[0], &fpu->si_fsr); in restore_fpu_state32()
692 err |= __put_user(current->thread.xfsr[0], &fpu->si_fsr); in save_fpu_state32()
Dsys_sparc32.c3364 current->thread.xfsr[0] = 0; in sparc32_execve()