ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/uae_cpu/fpu/flags.h
(Generate patch)

Comparing BasiliskII/src/uae_cpu/fpu/flags.h (file contents):
Revision 1.1 by gbeauche, 2002-09-13T12:50:40Z vs.
Revision 1.4 by cebix, 2004-01-12T15:29:31Z

# Line 1 | Line 1
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   *  
# Line 49 | Line 49
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
# Line 67 | Line 67
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
# Line 126 | Line 126 | PRIVATE inline bool FFPU fpcctrue(int co
126   #endif /* FPU_UAE */
127  
128   /* Return the address of the floating-point condition codes truth table */
129 < PUBLIC inline uae_u8 * const FFPU address_of_fpcond_truth_table(void)
129 > static inline uae_u8 * const FFPU address_of_fpcond_truth_table(void)
130          { return ((uae_u8*)&fpcond_truth_table[0][0]); }
131  
132   #endif /* FPU_X86_USE_NATIVE_FLAGS */
# Line 217 | Line 217 | PRIVATE inline void FFPU make_fpsr(fpu_r
217   /* -------------------------------------------------------------------------- */
218  
219   /* Return the address of the floating-point condition codes register */
220 < PUBLIC inline uae_u32 * const FFPU address_of_fpccr(void)
220 > static inline uae_u32 * const FFPU address_of_fpccr(void)
221          { return ((uae_u32 *)& FPU fpsr.condition_codes); }
222  
223   #endif /* FPU_FLAGS_H */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines