Searched refs:fxsave (Results 1 – 12 of 12) sorted by relevance
/linux-6.3-rc2/arch/x86/kernel/fpu/ |
A D | regset.c | 262 env->fip = fxsave->rip; in __convert_from_fxsr() 263 env->foo = fxsave->rdp; in __convert_from_fxsr() 276 env->fip = fxsave->fip; in __convert_from_fxsr() 277 env->fcs = (u16) fxsave->fcs | ((u32) fxsave->fop << 16); in __convert_from_fxsr() 278 env->foo = fxsave->foo; in __convert_from_fxsr() 279 env->fos = fxsave->fos; in __convert_from_fxsr() 300 fxsave->cwd = env->cwd; in convert_to_fxsr() 301 fxsave->swd = env->swd; in convert_to_fxsr() 305 fxsave->rip = env->fip; in convert_to_fxsr() 337 struct membuf mb = { .p = &fxsave, .left = sizeof(fxsave) }; in fpregs_get() [all …]
|
A D | core.c | 124 fxsave(&fpu->fpstate->regs.fxsave); in save_fpregs_to_fpstate() 184 fxrstor(&fpstate->regs.fxsave); in restore_fpregs_from_fpstate() 381 memcpy(&ustate->fxsave, &kstate->regs.fxsave, in fpu_copy_guest_fpstate_to_uabi() 382 sizeof(ustate->fxsave)); in fpu_copy_guest_fpstate_to_uabi() 400 memcpy(&kstate->regs.fxsave, &ustate->fxsave, sizeof(ustate->fxsave)); in fpu_copy_uabi_to_guest_fpstate() 483 fpstate->regs.fxsave.cwd = 0x37f; in fpstate_init_fxstate() 484 fpstate->regs.fxsave.mxcsr = MXCSR_DEFAULT; in fpstate_init_fxstate() 667 fxrstor(&init_fpstate.regs.fxsave); in restore_fpregs_from_init_fpstate() 804 cwd = fpu->fpstate->regs.fxsave.cwd; in fpu__exception_code() 805 swd = fpu->fpstate->regs.fxsave.swd; in fpu__exception_code() [all …]
|
A D | signal.c | 78 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 D | legacy.h | 58 return user_insn(fxsave %[fx], [fx] "=m" (*fx), "m" (*fx)); in fxsave_to_user_sigframe() 103 static inline void fxsave(struct fxregs_state *fx) in fxsave() function
|
A D | xstate.c | 386 fxsave(&init_fpstate.regs.fxsave); in setup_init_fpu_buf()
|
/linux-6.3-rc2/arch/x86/um/ |
A D | signal.c | 84 struct user_fxsr_struct *fxsave) in convert_fxsr_to_user() argument 93 env[2] = twd_fxsr_to_i387(fxsave); in convert_fxsr_to_user() 94 env[3] = fxsave->fip; in convert_fxsr_to_user() 95 env[4] = fxsave->fcs | ((unsigned long)fxsave->fop << 16); in convert_fxsr_to_user() 96 env[5] = fxsave->foo; in convert_fxsr_to_user() 97 env[6] = fxsave->fos; in convert_fxsr_to_user() 130 fxsave->fip = env[3]; in convert_fxsr_from_user() 132 fxsave->fcs = (env[4] & 0xffff); in convert_fxsr_from_user() 133 fxsave->foo = env[5]; in convert_fxsr_from_user() 134 fxsave->fos = env[6]; in convert_fxsr_from_user() [all …]
|
/linux-6.3-rc2/arch/x86/include/asm/fpu/ |
A D | signal.h | 23 extern void convert_to_fxsr(struct fxregs_state *fxsave,
|
A D | types.h | 338 struct fxregs_state fxsave; member
|
/linux-6.3-rc2/arch/x86/kvm/ |
A D | x86.c | 11621 fxsave = &vcpu->arch.guest_fpu.fpstate->regs.fxsave; in kvm_arch_vcpu_ioctl_get_fpu() 11623 fpu->fcw = fxsave->cwd; in kvm_arch_vcpu_ioctl_get_fpu() 11624 fpu->fsw = fxsave->swd; in kvm_arch_vcpu_ioctl_get_fpu() 11625 fpu->ftwx = fxsave->twd; in kvm_arch_vcpu_ioctl_get_fpu() 11627 fpu->last_ip = fxsave->rip; in kvm_arch_vcpu_ioctl_get_fpu() 11629 memcpy(fpu->xmm, fxsave->xmm_space, sizeof(fxsave->xmm_space)); in kvm_arch_vcpu_ioctl_get_fpu() 11644 fxsave = &vcpu->arch.guest_fpu.fpstate->regs.fxsave; in kvm_arch_vcpu_ioctl_set_fpu() 11647 fxsave->cwd = fpu->fcw; in kvm_arch_vcpu_ioctl_set_fpu() 11648 fxsave->swd = fpu->fsw; in kvm_arch_vcpu_ioctl_set_fpu() 11649 fxsave->twd = fpu->ftwx; in kvm_arch_vcpu_ioctl_set_fpu() [all …]
|
/linux-6.3-rc2/arch/x86/lib/ |
A D | x86-opcode-map.txt | 1125 0: fxsave | RDFSBASE Ry (F3),(11B)
|
/linux-6.3-rc2/tools/arch/x86/lib/ |
A D | x86-opcode-map.txt | 1125 0: fxsave | RDFSBASE Ry (F3),(11B)
|
/linux-6.3-rc2/Documentation/virt/kvm/ |
A D | api.rst | 754 __u8 ftwx; /* in fxsave format */ 783 __u8 ftwx; /* in fxsave format */
|
Completed in 44 milliseconds