Home
last modified time | relevance | path

Searched refs:fxsave (Results 1 – 12 of 12) sorted by relevance

/linux/arch/x86/kernel/fpu/
A Dregset.c263 env->fip = fxsave->rip; in __convert_from_fxsr()
264 env->foo = fxsave->rdp; in __convert_from_fxsr()
277 env->fip = fxsave->fip; in __convert_from_fxsr()
278 env->fcs = (u16) fxsave->fcs | ((u32) fxsave->fop << 16); in __convert_from_fxsr()
279 env->foo = fxsave->foo; in __convert_from_fxsr()
280 env->fos = fxsave->fos; in __convert_from_fxsr()
301 fxsave->cwd = env->cwd; in convert_to_fxsr()
302 fxsave->swd = env->swd; in convert_to_fxsr()
306 fxsave->rip = env->fip; in convert_to_fxsr()
338 struct membuf mb = { .p = &fxsave, .left = sizeof(fxsave) }; in fpregs_get()
[all …]
A Dcore.c130 fxsave(&fpu->fpstate->regs.fxsave); in save_fpregs_to_fpstate()
190 fxrstor(&fpstate->regs.fxsave); in restore_fpregs_from_fpstate()
290 memcpy(&ustate->fxsave, &kstate->regs.fxsave, in fpu_copy_guest_fpstate_to_uabi()
291 sizeof(ustate->fxsave)); in fpu_copy_guest_fpstate_to_uabi()
311 memcpy(&kstate->regs.fxsave, &ustate->fxsave, sizeof(ustate->fxsave)); in fpu_copy_uabi_to_guest_fpstate()
398 fpstate->regs.fxsave.cwd = 0x37f; in fpstate_init_fxstate()
399 fpstate->regs.fxsave.mxcsr = MXCSR_DEFAULT; in fpstate_init_fxstate()
572 fxrstor(&init_fpstate.regs.fxsave); in restore_fpregs_from_init_fpstate()
709 cwd = fpu->fpstate->regs.fxsave.cwd; in fpu__exception_code()
710 swd = fpu->fpstate->regs.fxsave.swd; in fpu__exception_code()
[all …]
A Dsignal.c78 fxsave(&tsk->thread.fpu.fpstate->regs.fxsave); in save_fsave_header()
402 if (__copy_from_user(&fpregs->fxsave, buf_fx, in __fpu_restore_sig()
403 sizeof(fpregs->fxsave))) in __fpu_restore_sig()
408 if (fpregs->fxsave.mxcsr & ~mxcsr_feature_mask) in __fpu_restore_sig()
412 fpregs->fxsave.mxcsr &= mxcsr_feature_mask; in __fpu_restore_sig()
421 convert_to_fxsr(&fpregs->fxsave, &env); in __fpu_restore_sig()
440 success = !fxrstor_safe(&fpregs->fxsave); in __fpu_restore_sig()
A Dlegacy.h62 return user_insn(fxsave %[fx], [fx] "=m" (*fx), "m" (*fx)); in fxsave_to_user_sigframe()
107 static inline void fxsave(struct fxregs_state *fx) in fxsave() function
A Dxstate.c448 fxsave(&init_fpstate.regs.fxsave); in setup_init_fpu_buf()
/linux/arch/x86/um/
A Dsignal.c40 unsigned long twd = (unsigned long) fxsave->twd; in twd_fxsr_to_i387()
83 struct user_fxsr_struct *fxsave) in convert_fxsr_to_user() argument
92 env[2] = twd_fxsr_to_i387(fxsave); in convert_fxsr_to_user()
93 env[3] = fxsave->fip; in convert_fxsr_to_user()
94 env[4] = fxsave->fcs | ((unsigned long)fxsave->fop << 16); in convert_fxsr_to_user()
95 env[5] = fxsave->foo; in convert_fxsr_to_user()
96 env[6] = fxsave->fos; in convert_fxsr_to_user()
129 fxsave->fip = env[3]; in convert_fxsr_from_user()
131 fxsave->fcs = (env[4] & 0xffff); in convert_fxsr_from_user()
132 fxsave->foo = env[5]; in convert_fxsr_from_user()
[all …]
/linux/arch/x86/include/asm/fpu/
A Dsignal.h30 extern void convert_to_fxsr(struct fxregs_state *fxsave,
A Dtypes.h338 struct fxregs_state fxsave; member
/linux/arch/x86/kvm/
A Dx86.c10782 fxsave = &vcpu->arch.guest_fpu.fpstate->regs.fxsave; in kvm_arch_vcpu_ioctl_get_fpu()
10784 fpu->fcw = fxsave->cwd; in kvm_arch_vcpu_ioctl_get_fpu()
10785 fpu->fsw = fxsave->swd; in kvm_arch_vcpu_ioctl_get_fpu()
10786 fpu->ftwx = fxsave->twd; in kvm_arch_vcpu_ioctl_get_fpu()
10788 fpu->last_ip = fxsave->rip; in kvm_arch_vcpu_ioctl_get_fpu()
10790 memcpy(fpu->xmm, fxsave->xmm_space, sizeof(fxsave->xmm_space)); in kvm_arch_vcpu_ioctl_get_fpu()
10805 fxsave = &vcpu->arch.guest_fpu.fpstate->regs.fxsave; in kvm_arch_vcpu_ioctl_set_fpu()
10808 fxsave->cwd = fpu->fcw; in kvm_arch_vcpu_ioctl_set_fpu()
10809 fxsave->swd = fpu->fsw; in kvm_arch_vcpu_ioctl_set_fpu()
10810 fxsave->twd = fpu->ftwx; in kvm_arch_vcpu_ioctl_set_fpu()
[all …]
/linux/arch/x86/lib/
A Dx86-opcode-map.txt1039 0: fxsave | RDFSBASE Ry (F3),(11B)
/linux/tools/arch/x86/lib/
A Dx86-opcode-map.txt1039 0: fxsave | RDFSBASE Ry (F3),(11B)
/linux/Documentation/virt/kvm/
A Dapi.rst780 __u8 ftwx; /* in fxsave format */
809 __u8 ftwx; /* in fxsave format */

Completed in 52 milliseconds