diff options
Diffstat (limited to 'include/asm-mips/fpu_emulator.h')
-rw-r--r-- | include/asm-mips/fpu_emulator.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/include/asm-mips/fpu_emulator.h b/include/asm-mips/fpu_emulator.h new file mode 100644 index 000000000000..46972ae2b95d --- /dev/null +++ b/include/asm-mips/fpu_emulator.h | |||
@@ -0,0 +1,38 @@ | |||
1 | /* | ||
2 | * This program is free software; you can distribute it and/or modify it | ||
3 | * under the terms of the GNU General Public License (Version 2) as | ||
4 | * published by the Free Software Foundation. | ||
5 | * | ||
6 | * This program is distributed in the hope it will be useful, but WITHOUT | ||
7 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
8 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||
9 | * for more details. | ||
10 | * | ||
11 | * You should have received a copy of the GNU General Public License along | ||
12 | * with this program; if not, write to the Free Software Foundation, Inc., | ||
13 | * 59 Temple Place - Suite 330, Boston MA 02111-1307, USA. | ||
14 | * | ||
15 | * Further private data for which no space exists in mips_fpu_soft_struct. | ||
16 | * This should be subsumed into the mips_fpu_soft_struct structure as | ||
17 | * defined in processor.h as soon as the absurd wired absolute assembler | ||
18 | * offsets become dynamic at compile time. | ||
19 | * | ||
20 | * Kevin D. Kissell, kevink@mips.com and Carsten Langgaard, carstenl@mips.com | ||
21 | * Copyright (C) 2000 MIPS Technologies, Inc. All rights reserved. | ||
22 | */ | ||
23 | #ifndef _ASM_FPU_EMULATOR_H | ||
24 | #define _ASM_FPU_EMULATOR_H | ||
25 | |||
26 | struct mips_fpu_emulator_private { | ||
27 | unsigned int eir; | ||
28 | struct { | ||
29 | unsigned int emulated; | ||
30 | unsigned int loads; | ||
31 | unsigned int stores; | ||
32 | unsigned int cp1ops; | ||
33 | unsigned int cp1xops; | ||
34 | unsigned int errors; | ||
35 | } stats; | ||
36 | }; | ||
37 | |||
38 | #endif /* _ASM_FPU_EMULATOR_H */ | ||