Searched refs:fxsave (Results 1 – 12 of 12) sorted by relevance
| /linux-6.15/arch/x86/kernel/fpu/ |
| H A D | regset.c | 344 env->fip = fxsave->rip; in __convert_from_fxsr() 345 env->foo = fxsave->rdp; in __convert_from_fxsr() 358 env->fip = fxsave->fip; in __convert_from_fxsr() 359 env->fcs = (u16) fxsave->fcs | ((u32) fxsave->fop << 16); in __convert_from_fxsr() 360 env->foo = fxsave->foo; in __convert_from_fxsr() 361 env->fos = fxsave->fos; in __convert_from_fxsr() 382 fxsave->cwd = env->cwd; in convert_to_fxsr() 383 fxsave->swd = env->swd; in convert_to_fxsr() 387 fxsave->rip = env->fip; in convert_to_fxsr() 419 struct membuf mb = { .p = &fxsave, .left = sizeof(fxsave) }; in fpregs_get() [all …]
|
| H A D | core.c | 131 fxsave(&fpu->fpstate->regs.fxsave); in save_fpregs_to_fpstate() 191 fxrstor(&fpstate->regs.fxsave); in restore_fpregs_from_fpstate() 389 memcpy(&ustate->fxsave, &kstate->regs.fxsave, in fpu_copy_guest_fpstate_to_uabi() 390 sizeof(ustate->fxsave)); in fpu_copy_guest_fpstate_to_uabi() 408 memcpy(&kstate->regs.fxsave, &ustate->fxsave, sizeof(ustate->fxsave)); in fpu_copy_uabi_to_guest_fpstate() 493 fpstate->regs.fxsave.cwd = 0x37f; in fpstate_init_fxstate() 494 fpstate->regs.fxsave.mxcsr = MXCSR_DEFAULT; in fpstate_init_fxstate() 711 fxrstor(&init_fpstate.regs.fxsave); in restore_fpregs_from_init_fpstate() 866 cwd = fpu->fpstate->regs.fxsave.cwd; in fpu__exception_code() 867 swd = fpu->fpstate->regs.fxsave.swd; in fpu__exception_code() [all …]
|
| H A D | signal.c | 73 fxsave(&tsk->thread.fpu.fpstate->regs.fxsave); in save_fsave_header() 395 if (__copy_from_user(&fpregs->fxsave, buf_fx, in __fpu_restore_sig() 396 sizeof(fpregs->fxsave))) in __fpu_restore_sig() 401 if (fpregs->fxsave.mxcsr & ~mxcsr_feature_mask) in __fpu_restore_sig() 405 fpregs->fxsave.mxcsr &= mxcsr_feature_mask; in __fpu_restore_sig() 414 convert_to_fxsr(&fpregs->fxsave, &env); in __fpu_restore_sig() 433 success = !fxrstor_safe(&fpregs->fxsave); in __fpu_restore_sig()
|
| H 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
|
| H A D | xstate.c | 382 fxsave(&init_fpstate.regs.fxsave); in setup_init_fpu_buf()
|
| /linux-6.15/arch/x86/um/ |
| H A D | ptrace.c | 31 unsigned long twd = (unsigned long) fxsave->twd; in twd_fxsr_to_i387() 82 membuf_store(&to, twd_fxsr_to_i387(fxsave)); in fpregs_legacy_get() 83 membuf_store(&to, fxsave->fip); in fpregs_legacy_get() 84 membuf_store(&to, fxsave->fcs | ((unsigned long)fxsave->fop << 16)); in fpregs_legacy_get() 85 membuf_store(&to, fxsave->foo); in fpregs_legacy_get() 86 membuf_store(&to, fxsave->fos); in fpregs_legacy_get() 115 fxsave->fip = from->fip; in fpregs_legacy_set() 117 fxsave->fcs = (from->fcs & 0xffff); in fpregs_legacy_set() 118 fxsave->foo = from->foo; in fpregs_legacy_set() 119 fxsave->fos = from->fos; in fpregs_legacy_set() [all …]
|
| /linux-6.15/arch/x86/include/asm/fpu/ |
| H A D | signal.h | 23 extern void convert_to_fxsr(struct fxregs_state *fxsave,
|
| H A D | types.h | 352 struct fxregs_state fxsave; member
|
| /linux-6.15/arch/x86/kvm/ |
| H A D | x86.c | 12176 fxsave = &vcpu->arch.guest_fpu.fpstate->regs.fxsave; in kvm_arch_vcpu_ioctl_get_fpu() 12178 fpu->fcw = fxsave->cwd; in kvm_arch_vcpu_ioctl_get_fpu() 12179 fpu->fsw = fxsave->swd; in kvm_arch_vcpu_ioctl_get_fpu() 12180 fpu->ftwx = fxsave->twd; in kvm_arch_vcpu_ioctl_get_fpu() 12182 fpu->last_ip = fxsave->rip; in kvm_arch_vcpu_ioctl_get_fpu() 12184 memcpy(fpu->xmm, fxsave->xmm_space, sizeof(fxsave->xmm_space)); in kvm_arch_vcpu_ioctl_get_fpu() 12199 fxsave = &vcpu->arch.guest_fpu.fpstate->regs.fxsave; in kvm_arch_vcpu_ioctl_set_fpu() 12202 fxsave->cwd = fpu->fcw; in kvm_arch_vcpu_ioctl_set_fpu() 12203 fxsave->swd = fpu->fsw; in kvm_arch_vcpu_ioctl_set_fpu() 12204 fxsave->twd = fpu->ftwx; in kvm_arch_vcpu_ioctl_set_fpu() [all …]
|
| /linux-6.15/arch/x86/lib/ |
| H A D | x86-opcode-map.txt | 1256 0: fxsave | RDFSBASE Ry (F3),(11B)
|
| /linux-6.15/tools/arch/x86/lib/ |
| H A D | x86-opcode-map.txt | 1256 0: fxsave | RDFSBASE Ry (F3),(11B)
|
| /linux-6.15/Documentation/virt/kvm/ |
| H A D | api.rst | 789 __u8 ftwx; /* in fxsave format */ 827 __u8 ftwx; /* in fxsave format */
|