1 |
|
/* |
2 |
|
* fpu/flags.h - Floating-point flags |
3 |
|
* |
4 |
< |
* Basilisk II (C) 1997-1999 Christian Bauer |
4 |
> |
* Basilisk II (C) 1997-2004 Christian Bauer |
5 |
|
* |
6 |
|
* MC68881/68040 fpu emulation |
7 |
|
* |
49 |
|
/* -------------------------------------------------------------------------- */ |
50 |
|
|
51 |
|
/* Optimized i386 fpu core must use native flags */ |
52 |
< |
#if defined(FPU_X86) && defined(X86_ASSEMBLY) |
52 |
> |
#if defined(FPU_X86) && defined(USE_X87_ASSEMBLY) |
53 |
|
# undef FPU_USE_GENERIC_FLAGS |
54 |
|
# define FPU_USE_X86_FLAGS |
55 |
|
#endif |
56 |
|
|
57 |
|
/* Old UAE FPU core can use native flags */ |
58 |
< |
#if defined(FPU_UAE) && defined(X86_ASSEMBLY) |
58 |
> |
#if defined(FPU_UAE) && defined(USE_X87_ASSEMBLY) |
59 |
|
# undef FPU_USE_GENERIC_FLAGS |
60 |
|
# define FPU_USE_X86_FLAGS |
61 |
|
#endif |
67 |
|
#endif |
68 |
|
|
69 |
|
/* JIT Compilation for FPU only works with lazy evaluation of FPU flags */ |
70 |
< |
#if defined(FPU_IEEE) && defined(X86_ASSEMBLY) && defined(USE_JIT_FPU) |
70 |
> |
#if defined(FPU_IEEE) && defined(USE_X87_ASSEMBLY) && defined(USE_JIT_FPU) |
71 |
|
# undef FPU_USE_GENERIC_FLAGS |
72 |
|
# define FPU_USE_LAZY_FLAGS |
73 |
|
#endif |