Home
last modified time | relevance | path

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

/linux-2.4.37.9/arch/x86_64/ia32/
Dfpu32.c14 static inline unsigned short twd_i387_to_fxsr(unsigned short twd) in twd_i387_to_fxsr() argument
19 tmp = ~twd; in twd_i387_to_fxsr()
32 unsigned long twd = (unsigned long) fxsave->twd; in twd_fxsr_to_i387() local
40 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()
/linux-2.4.37.9/arch/i386/kernel/
Di387.c38 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() argument
124 tmp = ~twd; in twd_i387_to_fxsr()
137 unsigned long twd = (unsigned long) fxsave->twd; in twd_fxsr_to_i387() local
145 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() argument
240 tsk->thread.i387.fxsave.twd = twd_i387_to_fxsr(twd); in set_fpu_twd()
[all …]
/linux-2.4.37.9/include/asm-i386/
Duser.h48 long twd; member
59 unsigned short twd; member
Dprocessor.h280 long twd; member
292 unsigned short twd; member
308 long twd; member
Di387.h53 extern void set_fpu_twd( struct task_struct *tsk, unsigned short twd );
/linux-2.4.37.9/include/asm-x86_64/
Duser32.h9 u32 twd; member
21 unsigned short twd; /* not compatible to 64bit twd */ member
Di387.h67 #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))
Dsigcontext.h12 __u16 twd; /* Note this is not the same as the 32bit/x87/FSAVE twd */ member
Duser.h54 unsigned short twd; /* Note this is not the same as the 32bit/x87/FSAVE twd */ member
Dprocessor.h269 u16 twd; member
/linux-2.4.37.9/include/asm-ia64/
Dia32.h147 int twd; member
159 unsigned short twd; member
/linux-2.4.37.9/arch/i386/math-emu/
Dfpu_system.h60 #define fpu_tag_word (I387.soft.twd)
Dfpu_entry.c708 tags = S387->twd; in restore_i387_soft()
721 S387->twd = tags; in restore_i387_soft()
739 S387->twd |= 0xffff0000; in save_i387_soft()
/linux-2.4.37.9/arch/ia64/ia32/
Dsys_ia32.c2979 __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()