Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/kernel/fpu/
Dcore.c398 if (ustate->fxsave.mxcsr & ~mxcsr_feature_mask) in fpu_copy_uabi_to_guest_fpstate()
484 fpstate->regs.fxsave.mxcsr = MXCSR_DEFAULT; in fpstate_init_fxstate()
819 unsigned short mxcsr = MXCSR_DEFAULT; in fpu__exception_code() local
822 mxcsr = fpu->fpstate->regs.fxsave.mxcsr; in fpu__exception_code()
824 err = ~(mxcsr >> 7) & mxcsr; in fpu__exception_code()
Dlegacy.h9 static inline void ldmxcsr(u32 mxcsr) in ldmxcsr() argument
11 asm volatile("ldmxcsr %0" :: "m" (mxcsr)); in ldmxcsr()
Dxstate.c1061 const unsigned int off_mxcsr = offsetof(struct fxregs_state, mxcsr); in __copy_xstate_to_uabi_buf()
1093 &to, &xsave->i387.mxcsr, &xinit->i387.mxcsr, in __copy_xstate_to_uabi_buf()
1250 u32 mxcsr[2]; in copy_uabi_to_xstate() local
1252 offset = offsetof(struct fxregs_state, mxcsr); in copy_uabi_to_xstate()
1253 if (copy_from_buffer(mxcsr, offset, sizeof(mxcsr), kbuf, ubuf)) in copy_uabi_to_xstate()
1257 if (mxcsr[0] & ~mxcsr_feature_mask) in copy_uabi_to_xstate()
1262 xsave->i387.mxcsr = mxcsr[0]; in copy_uabi_to_xstate()
1263 xsave->i387.mxcsr_mask = mxcsr[1]; in copy_uabi_to_xstate()
Dsignal.c408 if (fpregs->fxsave.mxcsr & ~mxcsr_feature_mask) in __fpu_restore_sig()
412 fpregs->fxsave.mxcsr &= mxcsr_feature_mask; in __fpu_restore_sig()
Dregset.c109 if (newstate.mxcsr & ~mxcsr_feature_mask) in xfpregs_set()
/linux-6.1.9/arch/x86/include/asm/
Duser_32.h65 long mxcsr; member
Duser_64.h59 __u32 mxcsr; member
Duser32.h29 int mxcsr; member
Dsvm.h432 u32 mxcsr; member
/linux-6.1.9/arch/x86/include/uapi/asm/
Dsigcontext.h123 __u32 mxcsr; member
157 __u32 mxcsr; member
Dkvm.h186 __u32 mxcsr; member
/linux-6.1.9/arch/x86/include/asm/fpu/
Dtypes.h51 u32 mxcsr; /* MXCSR Register State */ member
/linux-6.1.9/tools/arch/x86/include/uapi/asm/
Dkvm.h186 __u32 mxcsr; member
/linux-6.1.9/arch/x86/kernel/
Dsev.c1070 vmsa->mxcsr = AP_INIT_MXCSR_DEFAULT; in wakeup_cpu_via_vmgexit()
/linux-6.1.9/arch/x86/kvm/
Demulate.c4159 if (fx_state.mxcsr >> 16) { in em_fxrstor()
/linux-6.1.9/Documentation/virt/kvm/
Dapi.rst783 __u32 mxcsr;
812 __u32 mxcsr;