Searched refs:fx (Results 1 – 5 of 5) sorted by relevance
/arch/x86/include/asm/ |
D | fpu-internal.h | 108 static inline void fx_finit(struct i387_fxsave_struct *fx) in fx_finit() argument 110 memset(fx, 0, xstate_size); in fx_finit() 111 fx->cwd = 0x37f; in fx_finit() 112 fx->mxcsr = MXCSR_DEFAULT; in fx_finit() 155 static inline int fsave_user(struct i387_fsave_struct __user *fx) in fsave_user() argument 157 return user_insn(fnsave %[fx]; fwait, [fx] "=m" (*fx), "m" (*fx)); in fsave_user() 160 static inline int fxsave_user(struct i387_fxsave_struct __user *fx) in fxsave_user() argument 163 return user_insn(fxsave %[fx], [fx] "=m" (*fx), "m" (*fx)); in fxsave_user() 165 return user_insn(fxsaveq %[fx], [fx] "=m" (*fx), "m" (*fx)); in fxsave_user() 168 return user_insn(rex64/fxsave (%[fx]), "=m" (*fx), [fx] "R" (fx)); in fxsave_user() [all …]
|
D | xsave.h | 73 static inline int xsave_state_booting(struct xsave_struct *fx, u64 mask) in xsave_state_booting() argument 85 : "D" (fx), "m" (*fx), "a" (lmask), "d" (hmask) in xsave_state_booting() 91 : "D" (fx), "m" (*fx), "a" (lmask), "d" (hmask) in xsave_state_booting() 100 static inline int xrstor_state_booting(struct xsave_struct *fx, u64 mask) in xrstor_state_booting() argument 112 : "D" (fx), "m" (*fx), "a" (lmask), "d" (hmask) in xrstor_state_booting() 118 : "D" (fx), "m" (*fx), "a" (lmask), "d" (hmask) in xrstor_state_booting() 126 static inline int xsave_state(struct xsave_struct *fx, u64 mask) in xsave_state() argument 149 [fx] "D" (fx), "a" (lmask), "d" (hmask) : in xsave_state() 162 static inline int xrstor_state(struct xsave_struct *fx, u64 mask) in xrstor_state() argument 176 "D" (fx), "m" (*fx), "a" (lmask), "d" (hmask) in xrstor_state() [all …]
|
/arch/x86/kernel/ |
D | xsave.c | 45 struct i387_fxsave_struct *fx = &tsk->thread.fpu.state->fxsave; in __sanitize_i387_state() local 49 if (!fx) in __sanitize_i387_state() 65 fx->cwd = 0x37f; in __sanitize_i387_state() 66 fx->swd = 0; in __sanitize_i387_state() 67 fx->twd = 0; in __sanitize_i387_state() 68 fx->fop = 0; in __sanitize_i387_state() 69 fx->rip = 0; in __sanitize_i387_state() 70 fx->rdp = 0; in __sanitize_i387_state() 71 memset(&fx->st_space[0], 0, 128); in __sanitize_i387_state() 78 memset(&fx->xmm_space[0], 0, 256); in __sanitize_i387_state() [all …]
|
/arch/ia64/lib/ |
D | idiv32.S | 34 # define FP_TO_INT(a,b) fcvt.fx.trunc.s1 a=b
|
D | idiv64.S | 32 # define FP_TO_INT(a,b) fcvt.fx.trunc.s1 a=b
|