Home
last modified time | relevance | path

Searched refs:twd (Results 1 – 13 of 13) sorted by relevance

/arch/x86/include/asm/
Duser_32.h47 long twd; member
58 unsigned short twd; member
Duser32.h10 u32 twd; member
22 unsigned short twd; /* not compatible to 64bit twd */ member
Duser_64.h53 unsigned short twd; /* Note this is not the same as member
Dsigcontext.h172 __u16 twd; /* Note this is not the same as the member
Dprocessor.h292 u32 twd; /* FPU Tag Word */ member
308 u16 twd; /* Tag Word */ member
343 u32 twd; member
/arch/x86/kernel/
Di387.c157 fp->twd = 0xffffffffu; in init_fpu()
233 static inline unsigned short twd_i387_to_fxsr(unsigned short twd) in twd_i387_to_fxsr() argument
238 tmp = ~twd; in twd_i387_to_fxsr()
258 u32 twd = (unsigned long) fxsave->twd; in twd_fxsr_to_i387() local
263 for (i = 0; i < 8; i++, twd >>= 1) { in twd_fxsr_to_i387()
264 if (twd & 0x1) { in twd_fxsr_to_i387()
309 env->twd = twd_fxsr_to_i387(fxsave); in convert_from_fxsr()
349 fxsave->twd = twd_i387_to_fxsr(env->twd); in convert_to_fxsr()
/arch/um/sys-i386/
Dsignal.c39 static inline unsigned short twd_i387_to_fxsr(unsigned short twd) in twd_i387_to_fxsr() argument
44 tmp = ~twd; in twd_i387_to_fxsr()
56 unsigned long twd = (unsigned long) fxsave->twd; in twd_fxsr_to_i387() local
64 if (twd & 0x1) { in twd_fxsr_to_i387()
93 twd = twd >> 1; in twd_fxsr_to_i387()
144 fxsave->twd = twd_i387_to_fxsr((unsigned short)(env[2] & 0xffff)); in convert_fxsr_from_user()
/arch/x86/math-emu/
Dfpu_system.h58 #define fpu_tag_word (I387->soft.twd)
Dfpu_aux.c40 soft->twd = 0xffff; in finit_task()
Dfpu_entry.c713 tags = S387->twd; in fpregs_soft_set()
726 S387->twd = tags; in fpregs_soft_set()
748 S387->twd |= 0xffff0000; in fpregs_soft_get()
/arch/ia64/ia32/
Dia32priv.h137 int twd; member
149 unsigned short twd; member
Dsys_ia32.c1357 __put_user((tsk->thread.fsr>>16) & 0xffff, &save->twd); in save_ia32_fpstate()
1388 __get_user(fsrhi, (unsigned int __user *)&save->twd); in restore_ia32_fpstate()
1421 __put_user((tsk->thread.fsr>>16) & 0xffff, &save->twd); in save_ia32_fpxstate()
1463 __get_user(fsrhi, (unsigned int __user *)&save->twd); in restore_ia32_fpxstate()
2381 else if (start == OFFSET(twd)) in getfpxreg()
2422 } else if (start == OFFSET(twd)) { in setfpxreg()
/arch/x86/kvm/
Dx86.c3835 u16 twd; member
3880 fpu->ftwx = fxsave->twd; in kvm_arch_vcpu_ioctl_get_fpu()
3900 fxsave->twd = fpu->ftwx; in kvm_arch_vcpu_ioctl_set_fpu()