Home
last modified time | relevance | path

Searched refs:swd (Results 1 – 14 of 14) sorted by relevance

/arch/x86/kernel/fpu/
Dcore.c151 fp->swd = 0xffff0000u; in fpstate_init_fstate()
391 unsigned short cwd, swd; in fpu__exception_code() local
404 swd = fpu->state.fxsave.swd; in fpu__exception_code()
407 swd = (unsigned short)fpu->state.fsave.swd; in fpu__exception_code()
410 err = swd & ~cwd; in fpu__exception_code()
Dsignal.c73 __put_user(xsave->i387.swd, &fp->status) || in save_fsave_header()
78 u32 swd; in save_fsave_header() local
79 if (__get_user(swd, &fp->swd) || __put_user(swd, &fp->status)) in save_fsave_header()
Dregset.c189 u32 tos = (fxsave->swd >> 11) & 7; in twd_fxsr_to_i387()
240 env->swd = fxsave->swd | 0xffff0000u; in convert_from_fxsr()
277 fxsave->swd = env->swd; in convert_to_fxsr()
Dxstate.c169 fx->swd = 0; in fpstate_sanitize_xstate()
/arch/x86/include/asm/
Duser_32.h47 long swd; member
58 unsigned short swd; member
Duser32.h10 u32 swd; member
22 unsigned short swd; member
Duser_64.h53 unsigned short swd; member
/arch/x86/include/asm/fpu/
Dtypes.h14 u32 swd; /* FPU Status Word */ member
36 u16 swd; /* Status Word */ member
81 u32 swd; member
/arch/x86/math-emu/
Dfpu_entry.c636 ((S387->swd & ~SW_Top & 0xffff) | ((S387->ftop << SW_Top_Shift) & SW_Top))
656 S387->ftop = (S387->swd >> SW_Top_Shift) & 7; in fpregs_soft_set()
706 S387->swd = sstatus_word() | 0xffff0000; in fpregs_soft_get()
Dfpu_system.h98 #define partial_status (I387->soft.swd)
Dfpu_aux.c39 soft->swd = 0; in fpstate_init_soft()
/arch/x86/um/
Dsignal.c91 env[1] = (unsigned long)fxsave->swd | 0xffff0000ul; in convert_fxsr_to_user()
127 fxsave->swd = (unsigned short)(env[1] & 0xffff); in convert_fxsr_from_user()
307 err |= __put_user(fpx.swd, &to_fp->fpstate.status); in copy_sc_to_user()
/arch/x86/include/uapi/asm/
Dsigcontext.h151 __u16 swd; member
/arch/x86/kvm/
Dx86.c9137 fpu->fsw = fxsave->swd; in kvm_arch_vcpu_ioctl_get_fpu()
9158 fxsave->swd = fpu->fsw; in kvm_arch_vcpu_ioctl_set_fpu()