Lines Matching full:fpu
182 /* Copy the current fpu state */ in copy_thread()
207 /* Restore the state in case the fpu was busy */ in copy_thread()
215 /* Fill in the fpu structure for a core dump. */
216 int dump_fpu (struct pt_regs *regs, struct user_m68kfp_struct *fpu) in dump_fpu() argument
221 memcpy(fpu->fpcntl, current->thread.fpcntl, 12); in dump_fpu()
222 memcpy(fpu->fpregs, current->thread.fp, 96); in dump_fpu()
223 /* Convert internal fpu reg representation in dump_fpu()
227 fpu->fpregs[i] = ((fpu->fpregs[i] & 0xffff0000) << 15) | in dump_fpu()
228 ((fpu->fpregs[i] & 0x0000ffff) << 16); in dump_fpu()
235 /* First dump the fpu context to avoid protocol violation. */ in dump_fpu()
246 : "m" (fpu->fpcntl[0]), in dump_fpu()
247 "m" (fpu->fpcntl[1]), in dump_fpu()
248 "m" (fpu->fpcntl[2]), in dump_fpu()
249 "m" (fpu->fpregs[0]) in dump_fpu()
254 : "m" (fpu->fpcntl[0]) in dump_fpu()
258 : "m" (fpu->fpregs[0]) in dump_fpu()