Lines Matching defs:fpu
236 /* Copy the current fpu state */
244 /* Restore the state in case the fpu was busy */
252 /* Fill in the fpu structure for a core dump. */
254 int dump_fpu(struct pt_regs *regs, struct user_m68kfp_struct *fpu)
262 memcpy(fpu->fpcntl, current->thread.fpcntl, 12);
263 memcpy(fpu->fpregs, current->thread.fp, 96);
264 /* Convert internal fpu reg representation
268 fpu->fpregs[i] = ((fpu->fpregs[i] & 0xffff0000) << 15) |
269 ((fpu->fpregs[i] & 0x0000ffff) << 16);
273 /* First dump the fpu context to avoid protocol violation. */
279 :: "m" (fpu->fpcntl[0])
282 :: "m" (fpu->fpregs[0])