130 |
|
#if defined(FPU_USE_GENERIC_ROUNDING_MODE) || defined(FPU_USE_X86_ROUNDING_MODE) |
131 |
|
|
132 |
|
/* Return the current rounding mode in m68k format */ |
133 |
< |
PUBLIC inline uae_u32 FFPU get_rounding_mode(void) |
133 |
> |
static inline uae_u32 FFPU get_rounding_mode(void) |
134 |
|
{ return FPU fpcr.rounding_mode; } |
135 |
|
|
136 |
|
/* Convert and set to native rounding mode */ |
137 |
< |
PUBLIC inline void FFPU set_rounding_mode(uae_u32 new_rounding_mode) |
137 |
> |
static inline void FFPU set_rounding_mode(uae_u32 new_rounding_mode) |
138 |
|
{ FPU fpcr.rounding_mode = new_rounding_mode; } |
139 |
|
|
140 |
|
#endif |
142 |
|
#if defined(FPU_USE_GENERIC_ROUNDING_PRECISION) || defined(FPU_USE_X86_ROUNDING_PRECISION) |
143 |
|
|
144 |
|
/* Return the current rounding precision in m68k format */ |
145 |
< |
PUBLIC inline uae_u32 FFPU get_rounding_precision(void) |
145 |
> |
static inline uae_u32 FFPU get_rounding_precision(void) |
146 |
|
{ return FPU fpcr.rounding_precision; } |
147 |
|
|
148 |
|
/* Convert and set to native rounding precision */ |
149 |
< |
PUBLIC inline void FFPU set_rounding_precision(uae_u32 new_rounding_precision) |
149 |
> |
static inline void FFPU set_rounding_precision(uae_u32 new_rounding_precision) |
150 |
|
{ FPU fpcr.rounding_precision = new_rounding_precision; } |
151 |
|
|
152 |
|
#endif |