/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/x86_64/kernel/ |
H A D | i387.c | 12 * Does direct fxsave in and out of user space now for signal handlers. 32 memset(¤t->thread.i387.fxsave, 0, sizeof(struct i387_fxsave_struct)); 33 asm volatile("fxsave %0" : : "m" (current->thread.i387.fxsave)); 34 mask = current->thread.i387.fxsave.mxcsr_mask; 49 if (offsetof(struct task_struct, thread.i387.fxsave) & 15) 69 memset(&child->thread.i387.fxsave, 0, sizeof(struct i387_fxsave_struct)); 70 child->thread.i387.fxsave.cwd = 0x37f; 71 child->thread.i387.fxsave.mxcsr = 0x1f80; 86 sizeof(tsk->thread.i387.fxsave)); [all...] |
H A D | process.c | 581 prefetch(&next->i387.fxsave);
|
H A D | traps.c | 1064 restore_fpu_checking(&me->thread.i387.fxsave);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/x86_64/ia32/ |
H A D | fpu32.c | 27 static inline unsigned long twd_fxsr_to_i387(struct i387_fxsave_struct *fxsave) argument 30 unsigned long tos = (fxsave->swd >> 11) & 7; 31 unsigned long twd = (unsigned long) fxsave->twd; 40 st = FPREG_ADDR( fxsave, (i - tos) & 7 ); 74 static inline int convert_fxsr_from_user(struct i387_fxsave_struct *fxsave, argument 84 G(0, fxsave->cwd); 85 G(1, fxsave->swd); 86 G(2, fxsave->twd); 87 fxsave->twd = twd_i387_to_fxsr(fxsave 107 convert_fxsr_to_user(struct _fpstate_ia32 __user *buf, struct i387_fxsave_struct *fxsave, struct pt_regs *regs, struct task_struct *tsk) argument [all...] |
H A D | ptrace32.c | 369 if (__copy_to_user(u, &child->thread.i387.fxsave, sizeof(*u))) 383 if (__copy_from_user(&child->thread.i387.fxsave, u, sizeof(*u))) 386 child->thread.i387.fxsave.mxcsr &= mxcsr_feature_mask;
|
H A D | ia32_binfmt.c | 197 memcpy(xfpu, &t->thread.i387.fxsave, sizeof(elf_fpxregset_t));
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/i386/kernel/ |
H A D | i387.c | 34 memset(¤t->thread.i387.fxsave, 0, sizeof(struct i387_fxsave_struct)); 35 asm volatile("fxsave %0" : : "m" (current->thread.i387.fxsave)); 36 mask = current->thread.i387.fxsave.mxcsr_mask; 52 memset(&tsk->thread.i387.fxsave, 0, sizeof(struct i387_fxsave_struct)); 53 tsk->thread.i387.fxsave.cwd = 0x37f; 55 tsk->thread.i387.fxsave.mxcsr = 0x1f80; 102 static inline unsigned long twd_fxsr_to_i387( struct i387_fxsave_struct *fxsave ) 105 unsigned long tos = (fxsave->swd >> 11) & 7; 106 unsigned long twd = (unsigned long) fxsave 218 convert_fxsr_from_user( struct i387_fxsave_struct *fxsave, struct _fpstate __user *buf ) argument [all...] |
H A D | process.c | 656 prefetch(&next->i387.fxsave);
|
H A D | traps.c | 1154 thread.i387.fxsave) & 15);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-x86_64/ |
H A D | i387.h | 70 #define get_fpu_mxcsr(t) ((t)->thread.i387.fxsave.mxcsr) 71 #define get_fpu_cwd(t) ((t)->thread.i387.fxsave.cwd) 72 #define get_fpu_fxsr_twd(t) ((t)->thread.i387.fxsave.twd) 73 #define get_fpu_swd(t) ((t)->thread.i387.fxsave.swd) 74 #define set_fpu_cwd(t,val) ((t)->thread.i387.fxsave.cwd = (val)) 75 #define set_fpu_swd(t,val) ((t)->thread.i387.fxsave.swd = (val)) 76 #define set_fpu_fxsr_twd(t,val) ((t)->thread.i387.fxsave.twd = (val)) 120 asm volatile("1: rex64/fxsave (%[fx])\n\t" 140 /* Using "rex64; fxsave %0" is broken because, if the memory operand 144 __asm__ __volatile__("rex64/fxsave [all...] |
H A D | processor.h | 174 struct i387_fxsave_struct fxsave; member in union:i387_union
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/um/sys-i386/ |
H A D | ptrace.c | 191 static inline unsigned long twd_fxsr_to_i387( struct i387_fxsave_struct *fxsave ) 194 unsigned long twd = (unsigned long) fxsave->twd; 203 st = (struct _fpxreg *) FPREG_ADDR( fxsave, i ); 244 struct i387_fxsave_struct *fxsave = SC_FXSR_ENV(PT_REGS_SC(regs)); local 250 env[0] = (unsigned long)fxsave->cwd | 0xffff0000; 251 env[1] = (unsigned long)fxsave->swd | 0xffff0000; 252 env[2] = twd_fxsr_to_i387(fxsave); 253 env[3] = fxsave->fip; 254 env[4] = fxsave->fcs | ((unsigned long)fxsave 281 struct i387_fxsave_struct *fxsave = SC_FXSR_ENV(PT_REGS_SC(regs)); local 339 struct i387_fxsave_struct *fxsave = SC_FXSR_ENV(PT_REGS_SC(regs)); local 358 struct i387_fxsave_struct *fxsave = SC_FXSR_ENV(PT_REGS_SC(regs)); local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-i386/ |
H A D | i387.h | 37 "m" ((tsk)->thread.i387.fxsave)) 60 "fxsave %[fx]\n" 63 [fx] "m" (tsk->thread.i387.fxsave), 64 [fsw] "m" (tsk->thread.i387.fxsave.swd) : "memory");
|
H A D | processor.h | 284 struct i387_fxsave_struct fxsave; member in union:i387_union
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/kvm/ |
H A D | kvm_main.c | 2409 * fxsave fpu state. Taken from x86_64/processor.h. To be killed when 2412 struct fxsave { struct 2431 struct fxsave *fxsave = (struct fxsave *)vcpu->guest_fx_image; local 2435 memcpy(fpu->fpr, fxsave->st_space, 128); 2436 fpu->fcw = fxsave->cwd; 2437 fpu->fsw = fxsave->swd; 2438 fpu->ftwx = fxsave->twd; 2439 fpu->last_opcode = fxsave 2451 struct fxsave *fxsave = (struct fxsave *)vcpu->guest_fx_image; local [all...] |