Searched refs:twd (Results 1 – 14 of 14) sorted by relevance
14 static inline unsigned short twd_i387_to_fxsr(unsigned short twd) in twd_i387_to_fxsr() argument19 tmp = ~twd; in twd_i387_to_fxsr()32 unsigned long twd = (unsigned long) fxsave->twd; in twd_fxsr_to_i387() local40 if (twd & 0x1) { in twd_fxsr_to_i387()69 twd = twd >> 1; in twd_fxsr_to_i387()87 G(2, fxsave->twd); in convert_fxsr_from_user()88 fxsave->twd = twd_i387_to_fxsr(fxsave->twd); in convert_fxsr_from_user()
38 empty_fpu_state.fsave.twd = 0xffffffff; in boot_init_fpu()119 static inline unsigned short twd_i387_to_fxsr( unsigned short twd ) in twd_i387_to_fxsr() argument124 tmp = ~twd; in twd_i387_to_fxsr()137 unsigned long twd = (unsigned long) fxsave->twd; in twd_fxsr_to_i387() local145 if ( twd & 0x1 ) { in twd_fxsr_to_i387()174 twd = twd >> 1; in twd_fxsr_to_i387()204 return tsk->thread.i387.fxsave.twd; in get_fpu_twd()206 return (unsigned short)tsk->thread.i387.fsave.twd; in get_fpu_twd()237 void set_fpu_twd( struct task_struct *tsk, unsigned short twd ) in set_fpu_twd() argument240 tsk->thread.i387.fxsave.twd = twd_i387_to_fxsr(twd); in set_fpu_twd()[all …]
48 long twd; member59 unsigned short twd; member
280 long twd; member292 unsigned short twd; member308 long twd; member
53 extern void set_fpu_twd( struct task_struct *tsk, unsigned short twd );
9 u32 twd; member21 unsigned short twd; /* not compatible to 64bit twd */ member
67 #define get_fpu_fxsr_twd(t) ((t)->thread.i387.fxsave.twd)71 #define set_fpu_fxsr_twd(t,val) ((t)->thread.i387.fxsave.twd = (val))
12 __u16 twd; /* Note this is not the same as the 32bit/x87/FSAVE twd */ member
54 unsigned short twd; /* Note this is not the same as the 32bit/x87/FSAVE twd */ member
269 u16 twd; member
147 int twd; member159 unsigned short twd; member
60 #define fpu_tag_word (I387.soft.twd)
708 tags = S387->twd; in restore_i387_soft()721 S387->twd = tags; in restore_i387_soft()739 S387->twd |= 0xffff0000; in save_i387_soft()
2979 __put_user((tsk->thread.fsr>>16) & 0xffff, &save->twd); in save_ia32_fpstate()3010 __get_user(fsrhi, (unsigned int *)&save->twd); in restore_ia32_fpstate()3043 __put_user((tsk->thread.fsr>>16) & 0xffff, &save->twd); in save_ia32_fpxstate()3085 __get_user(fsrhi, (unsigned int *)&save->twd); in restore_ia32_fpxstate()