Lines Matching full:fpu
184 /* Copy the current fpu state */ in copy_thread()
209 /* Restore the state in case the fpu was busy */ in copy_thread()
217 /* Fill in the fpu structure for a core dump. */
218 int elf_core_copy_task_fpregs(struct task_struct *t, elf_fpregset_t *fpu) in elf_core_copy_task_fpregs() argument
223 memcpy(fpu->fpcntl, current->thread.fpcntl, 12); in elf_core_copy_task_fpregs()
224 memcpy(fpu->fpregs, current->thread.fp, 96); in elf_core_copy_task_fpregs()
225 /* Convert internal fpu reg representation in elf_core_copy_task_fpregs()
229 fpu->fpregs[i] = ((fpu->fpregs[i] & 0xffff0000) << 15) | in elf_core_copy_task_fpregs()
230 ((fpu->fpregs[i] & 0x0000ffff) << 16); in elf_core_copy_task_fpregs()
237 /* First dump the fpu context to avoid protocol violation. */ in elf_core_copy_task_fpregs()
248 : "m" (fpu->fpcntl[0]), in elf_core_copy_task_fpregs()
249 "m" (fpu->fpcntl[1]), in elf_core_copy_task_fpregs()
250 "m" (fpu->fpcntl[2]), in elf_core_copy_task_fpregs()
251 "m" (fpu->fpregs[0]) in elf_core_copy_task_fpregs()
256 : "m" (fpu->fpcntl[0]) in elf_core_copy_task_fpregs()
260 : "m" (fpu->fpregs[0]) in elf_core_copy_task_fpregs()