Searched refs:fx (Results 1 – 5 of 5) sorted by relevance
/arch/x86/include/asm/fpu/ |
D | internal.h | 99 static inline void fpstate_init_fxstate(struct fxregs_state *fx) in fpstate_init_fxstate() argument 101 fx->cwd = 0x37f; in fpstate_init_fxstate() 102 fx->mxcsr = MXCSR_DEFAULT; in fpstate_init_fxstate() 147 static inline int copy_fregs_to_user(struct fregs_state __user *fx) in copy_fregs_to_user() argument 149 return user_insn(fnsave %[fx]; fwait, [fx] "=m" (*fx), "m" (*fx)); in copy_fregs_to_user() 152 static inline int copy_fxregs_to_user(struct fxregs_state __user *fx) in copy_fxregs_to_user() argument 155 return user_insn(fxsave %[fx], [fx] "=m" (*fx), "m" (*fx)); in copy_fxregs_to_user() 157 return user_insn(fxsaveq %[fx], [fx] "=m" (*fx), "m" (*fx)); in copy_fxregs_to_user() 161 static inline void copy_kernel_to_fxregs(struct fxregs_state *fx) in copy_kernel_to_fxregs() argument 164 kernel_insn(fxrstor %[fx], "=m" (*fx), [fx] "m" (*fx)); in copy_kernel_to_fxregs() [all …]
|
/arch/x86/kernel/fpu/ |
D | xstate.c | 144 struct fxregs_state *fx = &fpu->state.fxsave; in fpstate_sanitize_xstate() local 164 fx->cwd = 0x37f; in fpstate_sanitize_xstate() 165 fx->swd = 0; in fpstate_sanitize_xstate() 166 fx->twd = 0; in fpstate_sanitize_xstate() 167 fx->fop = 0; in fpstate_sanitize_xstate() 168 fx->rip = 0; in fpstate_sanitize_xstate() 169 fx->rdp = 0; in fpstate_sanitize_xstate() 170 memset(&fx->st_space[0], 0, 128); in fpstate_sanitize_xstate() 177 memset(&fx->xmm_space[0], 0, 256); in fpstate_sanitize_xstate() 196 memcpy((void *)fx + offset, in fpstate_sanitize_xstate()
|
/arch/ia64/lib/ |
D | idiv32.S | 36 # define FP_TO_INT(a,b) fcvt.fx.trunc.s1 a=b
|
D | idiv64.S | 34 # define FP_TO_INT(a,b) fcvt.fx.trunc.s1 a=b
|
/arch/x86/kvm/ |
D | emulate.c | 4193 rc = asm_safe("fxsave %[fx]", , [fx] "+m"(fx_state)); in em_fxsave() 4217 rc = asm_safe("fxsave %[fx]", , [fx] "+m"(fx_tmp)); in fxregs_fixup() 4253 rc = asm_safe("fxrstor %[fx]", : [fx] "m"(fx_state)); in em_fxrstor()
|