Searched refs:twd (Results 1 – 13 of 13) sorted by relevance
47 long twd; member58 unsigned short twd; member
10 u32 twd; member22 unsigned short twd; /* not compatible to 64bit twd */ member
53 unsigned short twd; /* Note this is not the same as member
172 __u16 twd; /* Note this is not the same as the member
292 u32 twd; /* FPU Tag Word */ member308 u16 twd; /* Tag Word */ member343 u32 twd; member
157 fp->twd = 0xffffffffu; in init_fpu()233 static inline unsigned short twd_i387_to_fxsr(unsigned short twd) in twd_i387_to_fxsr() argument238 tmp = ~twd; in twd_i387_to_fxsr()258 u32 twd = (unsigned long) fxsave->twd; in twd_fxsr_to_i387() local263 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()
39 static inline unsigned short twd_i387_to_fxsr(unsigned short twd) in twd_i387_to_fxsr() argument44 tmp = ~twd; in twd_i387_to_fxsr()56 unsigned long twd = (unsigned long) fxsave->twd; in twd_fxsr_to_i387() local64 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()
58 #define fpu_tag_word (I387->soft.twd)
40 soft->twd = 0xffff; in finit_task()
713 tags = S387->twd; in fpregs_soft_set()726 S387->twd = tags; in fpregs_soft_set()748 S387->twd |= 0xffff0000; in fpregs_soft_get()
137 int twd; member149 unsigned short twd; member
1357 __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()
3835 u16 twd; member3880 fpu->ftwx = fxsave->twd; in kvm_arch_vcpu_ioctl_get_fpu()3900 fxsave->twd = fpu->ftwx; in kvm_arch_vcpu_ioctl_set_fpu()