1 |
|
/* |
2 |
|
* fpu/exceptions.h - system-dependant FPU exceptions management |
3 |
|
* |
4 |
< |
* Basilisk II (C) 1997-1999 Christian Bauer |
4 |
> |
* Basilisk II (C) 1997-2008 Christian Bauer |
5 |
|
* |
6 |
|
* MC68881/68040 fpu emulation |
7 |
|
* |
50 |
|
/* -------------------------------------------------------------------------- */ |
51 |
|
|
52 |
|
/* Optimized i386 fpu core must use native exceptions */ |
53 |
< |
#if defined(FPU_X86) && defined(X86_ASSEMBLY) |
53 |
> |
#if defined(FPU_X86) && defined(USE_X87_ASSEMBLY) |
54 |
|
# undef FPU_USE_GENERIC_EXCEPTIONS |
55 |
|
# define FPU_USE_X86_EXCEPTIONS |
56 |
|
#endif |
57 |
|
|
58 |
|
/* Optimized i386 fpu core must use native accrued exceptions */ |
59 |
< |
#if defined(FPU_X86) && defined(X86_ASSEMBLY) |
59 |
> |
#if defined(FPU_X86) && defined(USE_X87_ASSEMBLY) |
60 |
|
# undef FPU_USE_GENERIC_ACCRUED_EXCEPTIONS |
61 |
|
# define FPU_USE_X86_ACCRUED_EXCEPTIONS |
62 |
|
#endif |
117 |
|
#ifdef FPU_USE_GENERIC_EXCEPTIONS |
118 |
|
|
119 |
|
/* Initialize native exception management */ |
120 |
< |
PUBLIC inline void FFPU fpu_init_native_exceptions(void) |
120 |
> |
static inline void FFPU fpu_init_native_exceptions(void) |
121 |
|
{ } |
122 |
|
|
123 |
|
/* Return m68k floating-point exception status */ |