Home
last modified time | relevance | path

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

/arch/x86/kernel/fpu/
Dcore.c189 fp->swd = 0xffff0000u; in fpstate_init_fstate()
437 return fpu->state.fxsave.swd; in get_fpu_swd()
439 return (unsigned short)fpu->state.fsave.swd; in get_fpu_swd()
457 unsigned short cwd, swd; in fpu__exception_code() local
469 swd = get_fpu_swd(fpu); in fpu__exception_code()
471 err = swd & ~cwd; in fpu__exception_code()
Dsignal.c64 __put_user(xsave->i387.swd, &fp->status) || in save_fsave_header()
69 u32 swd; in save_fsave_header() local
70 if (__get_user(swd, &fp->swd) || __put_user(swd, &fp->status)) in save_fsave_header()
Dregset.c173 u32 tos = (fxsave->swd >> 11) & 7; in twd_fxsr_to_i387()
224 env->swd = fxsave->swd | 0xffff0000u; in convert_from_fxsr()
262 fxsave->swd = env->swd; in convert_to_fxsr()
Dxstate.c133 fx->swd = 0; in fpstate_sanitize_xstate()
/arch/x86/include/asm/
Duser_32.h46 long swd; member
57 unsigned short swd; member
Duser32.h9 u32 swd; member
21 unsigned short swd; member
Duser_64.h52 unsigned short swd; member
/arch/x86/include/asm/fpu/
Dtypes.h13 u32 swd; /* FPU Status Word */ member
35 u16 swd; /* Status Word */ member
77 u32 swd; member
/arch/x86/math-emu/
Dfpu_system.h71 #define partial_status (I387->soft.swd)
Dfpu_entry.c639 ((S387->swd & ~SW_Top & 0xffff) | ((S387->ftop << SW_Top_Shift) & SW_Top))
659 S387->ftop = (S387->swd >> SW_Top_Shift) & 7; in fpregs_soft_set()
709 S387->swd = sstatus_word() | 0xffff0000; in fpregs_soft_get()
Dfpu_aux.c38 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()
317 err |= __put_user(fpx.swd, &to_fp->status); in copy_sc_to_user()
/arch/x86/include/uapi/asm/
Dsigcontext.h150 __u16 swd; member
/arch/x86/kvm/
Dx86.c7370 fpu->fsw = fxsave->swd; in kvm_arch_vcpu_ioctl_get_fpu()
7387 fxsave->swd = fpu->fsw; in kvm_arch_vcpu_ioctl_set_fpu()