Home
last modified time | relevance | path

Searched refs:i387 (Results 1 – 19 of 19) sorted by relevance

/linux-2.4.37.9/arch/i386/kernel/
Di387.c49 memcpy(&tsk->thread.i387, &empty_fpu_state, sizeof(union i387_union)); in load_empty_fpu()
75 : "=m" (tsk->thread.i387.fxsave) ); in __save_init_fpu()
76 if (tsk->thread.i387.fxsave.swd & (1<<7)) in __save_init_fpu()
82 : "=m" (tsk->thread.i387.fsave) ); in __save_init_fpu()
108 : : "m" (tsk->thread.i387.fxsave) ); in restore_fpu()
111 : : "m" (tsk->thread.i387.fsave) ); in restore_fpu()
186 return tsk->thread.i387.fxsave.cwd; in get_fpu_cwd()
188 return (unsigned short)tsk->thread.i387.fsave.cwd; in get_fpu_cwd()
195 return tsk->thread.i387.fxsave.swd; in get_fpu_swd()
197 return (unsigned short)tsk->thread.i387.fsave.swd; in get_fpu_swd()
[all …]
Dprocess.c569 struct_cpy(&p->thread.i387, &current->thread.i387); in copy_thread()
613 dump->u_fpvalid = dump_fpu (regs, &dump->i387); in dump_thread()
DMakefile21 pci-dma.o i386_ksyms.o i387.o bluesmoke.o dmi_scan.o
/linux-2.4.37.9/include/asm-x86_64/
Di387.h65 #define get_fpu_mxcsr(t) ((t)->thread.i387.fxsave.mxcsr)
66 #define get_fpu_cwd(t) ((t)->thread.i387.fxsave.cwd)
67 #define get_fpu_fxsr_twd(t) ((t)->thread.i387.fxsave.twd)
68 #define get_fpu_swd(t) ((t)->thread.i387.fxsave.swd)
69 #define set_fpu_cwd(t,val) ((t)->thread.i387.fxsave.cwd = (val))
70 #define set_fpu_swd(t,val) ((t)->thread.i387.fxsave.swd = (val))
71 #define set_fpu_fxsr_twd(t,val) ((t)->thread.i387.fxsave.twd = (val))
72 #define set_fpu_mxcsr(t,val) ((t)->thread.i387.fxsave.mxcsr = (val)&0xffbf)
119 : "=m" (tsk->thread.i387.fxsave)); in kernel_fpu_begin()
129 : "=m" (tsk->thread.i387.fxsave)); in save_init_fpu()
[all …]
Dbugs.h22 if (offsetof(struct task_struct, thread.i387.fxsave) & 15) in check_fpu()
Duser.h87 struct user_i387_struct i387; /* Math Co-processor registers. */ member
Duser32.h48 struct user_i387_ia32_struct i387; /* Math Co-processor registers. */ member
Dprocessor.h320 union i387_union i387; member
/linux-2.4.37.9/arch/x86_64/kernel/
Di387.c34 memset(&child->thread.i387.fxsave, 0, sizeof(struct i387_fxsave_struct)); in init_fpu()
35 child->thread.i387.fxsave.cwd = 0x37f; in init_fpu()
36 child->thread.i387.fxsave.mxcsr = 0x1f80; in init_fpu()
51 if (sizeof(struct user_i387_struct) != sizeof(tsk->thread.i387.fxsave)) in save_i387()
68 if (__copy_to_user(buf, &tsk->thread.i387.fxsave, in save_i387()
82 return __copy_to_user((void *)buf, &tsk->thread.i387.fxsave, in get_fpregs()
88 if (__copy_from_user(&tsk->thread.i387.fxsave, buf, in set_fpregs()
92 tsk->thread.i387.fxsave.mxcsr &= 0xffbf; in set_fpregs()
108 memcpy(fpu, &tsk->thread.i387.fxsave, sizeof(struct user_i387_struct)); in dump_fpu()
DMakefile22 pci-dma.o x8664_ksyms.o i387.o syscall.o vsyscall.o \
Dprocess.c535 p->thread.i387 = current->thread.i387; in copy_thread()
Dtraps.c825 restore_fpu_checking(&me->thread.i387.fxsave); in math_state_restore()
/linux-2.4.37.9/arch/x86_64/ia32/
Dfpu32.c155 if (__copy_from_user(&tsk->thread.i387.fxsave, in restore_i387_ia32()
159 tsk->thread.i387.fxsave.mxcsr &= 0xffbf; in restore_i387_ia32()
162 return convert_fxsr_from_user(&tsk->thread.i387.fxsave, buf); in restore_i387_ia32()
173 if (convert_fxsr_to_user(buf, &tsk->thread.i387.fxsave, regs, tsk)) in save_i387_ia32()
177 err |= __put_user(tsk->thread.i387.fxsave.swd, &buf->status); in save_i387_ia32()
181 err |= __copy_to_user(&buf->_fxsr_env[0], &tsk->thread.i387.fxsave, in save_i387_ia32()
Dptrace32.c327 if (__copy_to_user(u, &child->thread.i387.fxsave, sizeof(*u))) in sys32_ptrace()
340 __copy_from_user(&child->thread.i387.fxsave, u, sizeof(*u)); in sys32_ptrace()
342 child->thread.i387.fxsave.mxcsr &= 0xffbf; in sys32_ptrace()
/linux-2.4.37.9/include/asm-i386/
Duser.h98 struct user_i387_struct i387; /* Math Co-processor registers. */ member
Dbugs.h82 if (offsetof(struct task_struct, thread.i387.fxsave) & 15) { in check_fpu()
Dprocessor.h373 union i387_union i387; member
/linux-2.4.37.9/arch/i386/math-emu/
Dfpu_system.h36 #define I387 (current->thread.i387)
/linux-2.4.37.9/arch/cris/kernel/
Dprocess.c322 dump->u_fpvalid = dump_fpu (regs, &dump->i387); in dump_thread()