Home
last modified time | relevance | path

Searched refs:mxcsr (Results 1 – 16 of 16) sorted by relevance

/linux-6.6.21/arch/x86/kernel/fpu/
Dcore.c399 if (ustate->fxsave.mxcsr & ~mxcsr_feature_mask) in fpu_copy_uabi_to_guest_fpstate()
485 fpstate->regs.fxsave.mxcsr = MXCSR_DEFAULT; in fpstate_init_fxstate()
872 unsigned short mxcsr = MXCSR_DEFAULT; in fpu__exception_code() local
875 mxcsr = fpu->fpstate->regs.fxsave.mxcsr; in fpu__exception_code()
877 err = ~(mxcsr >> 7) & mxcsr; in fpu__exception_code()
Dxstate.c1066 const unsigned int off_mxcsr = offsetof(struct fxregs_state, mxcsr); in __copy_xstate_to_uabi_buf()
1098 &to, &xsave->i387.mxcsr, &xinit->i387.mxcsr, in __copy_xstate_to_uabi_buf()
1254 u32 mxcsr[2]; in copy_uabi_to_xstate() local
1256 offset = offsetof(struct fxregs_state, mxcsr); in copy_uabi_to_xstate()
1257 if (copy_from_buffer(mxcsr, offset, sizeof(mxcsr), kbuf, ubuf)) in copy_uabi_to_xstate()
1261 if (mxcsr[0] & ~mxcsr_feature_mask) in copy_uabi_to_xstate()
1266 xsave->i387.mxcsr = mxcsr[0]; in copy_uabi_to_xstate()
1267 xsave->i387.mxcsr_mask = mxcsr[1]; in copy_uabi_to_xstate()
Dlegacy.h9 static inline void ldmxcsr(u32 mxcsr) in ldmxcsr() argument
11 asm volatile("ldmxcsr %0" :: "m" (mxcsr)); in ldmxcsr()
Dsignal.c405 if (fpregs->fxsave.mxcsr & ~mxcsr_feature_mask) in __fpu_restore_sig()
409 fpregs->fxsave.mxcsr &= mxcsr_feature_mask; in __fpu_restore_sig()
Dregset.c110 if (newstate.mxcsr & ~mxcsr_feature_mask) in xfpregs_set()
/linux-6.6.21/arch/x86/include/uapi/asm/
Dsigcontext.h123 __u32 mxcsr; member
157 __u32 mxcsr; member
Dkvm.h179 __u32 mxcsr; member
/linux-6.6.21/arch/x86/include/asm/
Duser_32.h65 long mxcsr; member
Duser_64.h59 __u32 mxcsr; member
Duser32.h29 int mxcsr; member
Dsvm.h450 u32 mxcsr; member
/linux-6.6.21/arch/x86/include/asm/fpu/
Dtypes.h51 u32 mxcsr; /* MXCSR Register State */ member
/linux-6.6.21/tools/arch/x86/include/uapi/asm/
Dkvm.h179 __u32 mxcsr; member
/linux-6.6.21/arch/x86/kernel/
Dsev.c1054 vmsa->mxcsr = AP_INIT_MXCSR_DEFAULT; in wakeup_cpu_via_vmgexit()
/linux-6.6.21/arch/x86/kvm/
Demulate.c3815 if (fx_state.mxcsr >> 16) { in em_fxrstor()
/linux-6.6.21/Documentation/virt/kvm/
Dapi.rst760 __u32 mxcsr;
789 __u32 mxcsr;