Lines Matching full:fpu
34 #include <asm/fpu.h>
44 /* Make sure we will not lose FPU ownership */
48 /* Assembly functions to move context to/from the FPU */
67 struct _ctx_layout fpu; member
90 __put_user(get_fpr64(¤t->thread.fpu.fpr[i], 0), in copy_fpu_to_sigcontext()
93 err |= __put_user(current->thread.fpu.fcc, fcc); in copy_fpu_to_sigcontext()
94 err |= __put_user(current->thread.fpu.fcsr, fcsr); in copy_fpu_to_sigcontext()
110 set_fpr64(¤t->thread.fpu.fpr[i], 0, fpr_val); in copy_fpu_from_sigcontext()
112 err |= __get_user(current->thread.fpu.fcc, fcc); in copy_fpu_from_sigcontext()
113 err |= __get_user(current->thread.fpu.fcsr, fcsr); in copy_fpu_from_sigcontext()
147 * If the signal handler set some FPU exceptions, clear it and in fcsr_pending()
164 struct sctx_info __user *info = extctx->fpu.addr; in protected_save_fpu_context()
179 err |= __put_user(extctx->fpu.size, &info->size); in protected_save_fpu_context()
183 /* Touch the FPU context and try again */ in protected_save_fpu_context()
198 struct sctx_info __user *info = extctx->fpu.addr; in protected_restore_fpu_context()
218 /* Touch the FPU context and try again */ in protected_restore_fpu_context()
243 if (extctx->fpu.addr) in setup_sigcontext()
274 extctx->fpu.addr = info; in parse_extcontext()
309 * The signal handler may have used FPU; give it up if the program in restore_sigcontext()
322 if (extctx.fpu.addr) in restore_sigcontext()
379 new_sp = extframe_alloc(extctx, &extctx->fpu, in setup_extcontext()