1 |
/* |
2 |
* fpu/fpu.h - public header |
3 |
* |
4 |
* Basilisk II (C) 1997-2008 Christian Bauer |
5 |
* |
6 |
* MC68881/68040 fpu emulation |
7 |
* |
8 |
* Original UAE FPU, copyright 1996 Herman ten Brugge |
9 |
* Rewrite for x86, copyright 1999-2000 Lauri Pesonen |
10 |
* New framework, copyright 2000 Gwenole Beauchesne |
11 |
* Adapted for JIT compilation (c) Bernd Meyer, 2000 |
12 |
* |
13 |
* This program is free software; you can redistribute it and/or modify |
14 |
* it under the terms of the GNU General Public License as published by |
15 |
* the Free Software Foundation; either version 2 of the License, or |
16 |
* (at your option) any later version. |
17 |
* |
18 |
* This program is distributed in the hope that it will be useful, |
19 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
20 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
21 |
* GNU General Public License for more details. |
22 |
* |
23 |
* You should have received a copy of the GNU General Public License |
24 |
* along with this program; if not, write to the Free Software |
25 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
26 |
*/ |
27 |
|
28 |
#ifndef FPU_PUBLIC_HEADER_H |
29 |
#define FPU_PUBLIC_HEADER_H |
30 |
|
31 |
#ifndef FPU_DEBUG |
32 |
#define FPU_DEBUG 0 |
33 |
#endif |
34 |
|
35 |
#if FPU_DEBUG |
36 |
#define fpu_debug(args) printf args; |
37 |
#define FPU_DUMP_REGISTERS 0 |
38 |
#define FPU_DUMP_FIRST_BYTES 0 |
39 |
#else |
40 |
#define fpu_debug(args) ; |
41 |
#undef FPU_DUMP_REGISTERS |
42 |
#undef FPU_DUMP_FIRST_BYTES |
43 |
#endif |
44 |
|
45 |
#include "sysdeps.h" |
46 |
#include "fpu/types.h" |
47 |
#include "fpu/core.h" |
48 |
|
49 |
#endif /* FPU_PUBLIC_HEADER_H */ |