Lines Matching defs:fpu
267 /* Copy the current fpu state */
275 /* Restore the state in case the fpu was busy */
282 /* Fill in the fpu structure for a core dump. */
284 int dump_fpu (struct pt_regs *regs, struct user_m68kfp_struct *fpu)
291 memcpy(fpu->fpcntl, current->thread.fpcntl, 12);
292 memcpy(fpu->fpregs, current->thread.fp, 96);
293 /* Convert internal fpu reg representation
297 fpu->fpregs[i] = ((fpu->fpregs[i] & 0xffff0000) << 15) |
298 ((fpu->fpregs[i] & 0x0000ffff) << 16);
302 /* First dump the fpu context to avoid protocol violation. */
308 :: "m" (fpu->fpcntl[0])
311 :: "m" (fpu->fpregs[0])