Searched refs:fxsave (Results 1 – 8 of 8) sorted by relevance
/linux-2.6.39/arch/x86/kernel/ |
D | i387.c | 127 struct i387_fxsave_struct *fx = &fpu->state->fxsave; in fpu_finit() 205 &target->thread.fpu.state->fxsave, 0, -1); in xfpregs_get() 224 &target->thread.fpu.state->fxsave, 0, -1); in xfpregs_set() 229 target->thread.fpu.state->fxsave.mxcsr &= mxcsr_feature_mask; in xfpregs_set() 259 memcpy(&target->thread.fpu.state->fxsave.sw_reserved, in xstateregs_get() 290 target->thread.fpu.state->fxsave.mxcsr &= mxcsr_feature_mask; in xstateregs_set() 330 static inline u32 twd_fxsr_to_i387(struct i387_fxsave_struct *fxsave) in twd_fxsr_to_i387() argument 333 u32 tos = (fxsave->swd >> 11) & 7; in twd_fxsr_to_i387() 334 u32 twd = (unsigned long) fxsave->twd; in twd_fxsr_to_i387() 341 st = FPREG_ADDR(fxsave, (i - tos) & 7); in twd_fxsr_to_i387() [all …]
|
D | xsave.c | 45 struct i387_fxsave_struct *fx = &tsk->thread.fpu.state->fxsave; in __sanitize_i387_state() 183 if (__copy_to_user(buf, &tsk->thread.fpu.state->fxsave, in save_i387_xstate()
|
/linux-2.6.39/arch/um/sys-i386/ |
D | signal.c | 53 static inline unsigned long twd_fxsr_to_i387(struct user_fxsr_struct *fxsave) in twd_fxsr_to_i387() argument 56 unsigned long twd = (unsigned long) fxsave->twd; in twd_fxsr_to_i387() 65 st = (struct _fpxreg *) FPREG_ADDR(fxsave, i); in twd_fxsr_to_i387() 99 struct user_fxsr_struct *fxsave) in convert_fxsr_to_user() argument 106 env[0] = (unsigned long)fxsave->cwd | 0xffff0000ul; in convert_fxsr_to_user() 107 env[1] = (unsigned long)fxsave->swd | 0xffff0000ul; in convert_fxsr_to_user() 108 env[2] = twd_fxsr_to_i387(fxsave); in convert_fxsr_to_user() 109 env[3] = fxsave->fip; in convert_fxsr_to_user() 110 env[4] = fxsave->fcs | ((unsigned long)fxsave->fop << 16); in convert_fxsr_to_user() 111 env[5] = fxsave->foo; in convert_fxsr_to_user() [all …]
|
/linux-2.6.39/arch/x86/include/asm/ |
D | i387.h | 173 : "=m" (fpu->state->fxsave)); in fpu_fxsave() 184 : "=m" (fpu->state->fxsave) in fpu_fxsave() 185 : [fx] "R" (&fpu->state->fxsave)); in fpu_fxsave() 210 : [fx] "=m" (fpu->state->fxsave)); in fpu_fxsave() 245 if (unlikely(fpu->state->fxsave.swd & X87_FSW_ES)) in fpu_save_init() 267 return fxrstor_checking(&fpu->state->fxsave); in fpu_fxrstor_checking() 396 return tsk->thread.fpu.state->fxsave.cwd; in get_fpu_cwd() 405 return tsk->thread.fpu.state->fxsave.swd; in get_fpu_swd() 414 return tsk->thread.fpu.state->fxsave.mxcsr; in get_fpu_mxcsr()
|
D | processor.h | 371 struct i387_fxsave_struct fxsave; member
|
/linux-2.6.39/arch/x86/kvm/ |
D | x86.c | 2724 &vcpu->arch.guest_fpu.state->fxsave, in kvm_vcpu_ioctl_x86_get_xsave() 2743 memcpy(&vcpu->arch.guest_fpu.state->fxsave, in kvm_vcpu_ioctl_x86_set_xsave() 5755 struct i387_fxsave_struct *fxsave = in kvm_arch_vcpu_ioctl_get_fpu() local 5756 &vcpu->arch.guest_fpu.state->fxsave; in kvm_arch_vcpu_ioctl_get_fpu() 5758 memcpy(fpu->fpr, fxsave->st_space, 128); in kvm_arch_vcpu_ioctl_get_fpu() 5759 fpu->fcw = fxsave->cwd; in kvm_arch_vcpu_ioctl_get_fpu() 5760 fpu->fsw = fxsave->swd; in kvm_arch_vcpu_ioctl_get_fpu() 5761 fpu->ftwx = fxsave->twd; in kvm_arch_vcpu_ioctl_get_fpu() 5762 fpu->last_opcode = fxsave->fop; in kvm_arch_vcpu_ioctl_get_fpu() 5763 fpu->last_ip = fxsave->rip; in kvm_arch_vcpu_ioctl_get_fpu() [all …]
|
/linux-2.6.39/Documentation/kvm/ |
D | api.txt | 486 __u8 ftwx; /* in fxsave format */ 511 __u8 ftwx; /* in fxsave format */
|
/linux-2.6.39/arch/x86/lib/ |
D | x86-opcode-map.txt | 858 0: fxsave
|