| * linux/include/asm-arm/fpstate.h |
| * Copyright (C) 1995 Russell King |
| * This program is free software; you can redistribute it and/or modify |
| * it under the terms of the GNU General Public License version 2 as |
| * published by the Free Software Foundation. |
| #ifndef __ASM_ARM_FPSTATE_H |
| #define __ASM_ARM_FPSTATE_H |
| #include <linux/config.h> |
| * - FPEXC, FPSCR, FPINST and FPINST2. |
| * - 16 double precision data registers |
| * - an implementation-dependant word of state for FLDMX/FSTMX |
| * FPEXC will always be non-zero once the VFP has been used in this process. |
| * VFP implementation specific state |
| struct vfp_hard_struct hard; |
| extern void vfp_flush_thread(union vfp_state *); |
| extern void vfp_release_thread(union vfp_state *); |
| unsigned int save[FP_HARD_SIZE]; /* as yet undefined */ |
| unsigned int save[FP_SOFT_SIZE]; /* undefined information */ |
| unsigned int save[IWMMXT_SIZE / sizeof(unsigned int)]; |
| struct fp_hard_struct hard; |
| struct fp_soft_struct soft; |
| struct iwmmxt_struct iwmmxt; |
| #define FP_SIZE (sizeof(union fp_state) / sizeof(int)) |