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

Comparing BasiliskII/src/uae_cpu/fpu/rounding.h (file contents):
Revision 1.2 by gbeauche, 2002-09-19T15:42:16Z vs.
Revision 1.5 by gbeauche, 2005-01-30T21:42:16Z

# Line 1 | Line 1
1   /*
2   *  fpu/rounding.h - system-dependant FPU rounding mode and precision
3   *
4 < *  Basilisk II (C) 1997-1999 Christian Bauer
4 > *  Basilisk II (C) 1997-2005 Christian Bauer
5   *
6   *  MC68881/68040 fpu emulation
7   *  
# Line 50 | Line 50
50   /* -------------------------------------------------------------------------- */
51  
52   /* Optimized i386 fpu core must use native rounding mode */
53 < #if defined(FPU_X86) && defined(X86_ASSEMBLY)
53 > #if defined(FPU_X86) && defined(USE_X87_ASSEMBLY)
54   # undef FPU_USE_GENERIC_ROUNDING_MODE
55   # define FPU_USE_X86_ROUNDING_MODE
56   #endif
57  
58   /* Optimized i386 fpu core must use native rounding precision */
59 < #if defined(FPU_X86) && defined(X86_ASSEMBLY)
59 > #if defined(FPU_X86) && defined(USE_X87_ASSEMBLY)
60   # undef FPU_USE_GENERIC_ROUNDING_PRECISION
61   # define FPU_USE_X86_ROUNDING_PRECISION
62   #endif
63  
64   #if 0 // gb-- FIXME: that doesn't work
65   /* IEEE-based fpu core can have native rounding mode on i386 */
66 < #if defined(FPU_IEEE) && defined(X86_ASSEMBLY)
66 > #if defined(FPU_IEEE) && defined(USE_X87_ASSEMBLY)
67   # undef FPU_USE_GENERIC_ROUNDING_MODE
68   # define FPU_USE_X86_ROUNDING_MODE
69   #endif
70  
71   /* IEEE-based fpu core can have native rounding precision on i386 */
72 < #if defined(FPU_IEEE) && defined(X86_ASSEMBLY)
72 > #if defined(FPU_IEEE) && defined(USE_X87_ASSEMBLY)
73   # undef FPU_USE_GENERIC_ROUNDING_PRECISION
74   # define FPU_USE_X86_ROUNDING_PRECISION
75   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines