Home
last modified time | relevance | path

Searched refs:fx (Results 1 – 5 of 5) sorted by relevance

/arch/x86/kernel/fpu/
Dlegacy.h50 static inline int fnsave_to_user_sigframe(struct fregs_state __user *fx) in fnsave_to_user_sigframe() argument
52 return user_insn(fnsave %[fx]; fwait, [fx] "=m" (*fx), "m" (*fx)); in fnsave_to_user_sigframe()
55 static inline int fxsave_to_user_sigframe(struct fxregs_state __user *fx) in fxsave_to_user_sigframe() argument
58 return user_insn(fxsave %[fx], [fx] "=m" (*fx), "m" (*fx)); in fxsave_to_user_sigframe()
60 return user_insn(fxsaveq %[fx], [fx] "=m" (*fx), "m" (*fx)); in fxsave_to_user_sigframe()
64 static inline void fxrstor(struct fxregs_state *fx) in fxrstor() argument
67 kernel_insn(fxrstor %[fx], "=m" (*fx), [fx] "m" (*fx)); in fxrstor()
69 kernel_insn(fxrstorq %[fx], "=m" (*fx), [fx] "m" (*fx)); in fxrstor()
72 static inline int fxrstor_safe(struct fxregs_state *fx) in fxrstor_safe() argument
75 return kernel_insn_err(fxrstor %[fx], "=m" (*fx), [fx] "m" (*fx)); in fxrstor_safe()
[all …]
Dregset.c405 struct fxregs_state fxsave, *fx; in fpregs_get() local
422 fx = &fxsave; in fpregs_get()
424 fx = &fpu->fpstate->regs.fxsave; in fpregs_get()
427 __convert_from_fxsr(&env, target, fx); in fpregs_get()
/arch/ia64/lib/
Didiv32.S36 # define FP_TO_INT(a,b) fcvt.fx.trunc.s1 a=b
Didiv64.S34 # define FP_TO_INT(a,b) fcvt.fx.trunc.s1 a=b
/arch/x86/kvm/
Demulate.c3761 rc = asm_safe("fxsave %[fx]", , [fx] "+m"(fx_state)); in em_fxsave()
3785 rc = asm_safe("fxsave %[fx]", , [fx] "+m"(fx_tmp)); in fxregs_fixup()
3821 rc = asm_safe("fxrstor %[fx]", : [fx] "m"(fx_state)); in em_fxrstor()