mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-17 07:49:21 +00:00
remove SetRoundMode
we only care about SSE rounding mode, and set that manually in SetSIMDMode
This commit is contained in:
parent
3c90b657f3
commit
8bddd8c675
5 changed files with 0 additions and 18 deletions
|
@ -14,13 +14,6 @@ namespace FPURoundMode
|
|||
static u32 saved_sse_state = _mm_getcsr();
|
||||
static const u32 default_sse_state = _mm_getcsr();
|
||||
|
||||
void SetRoundMode(RoundMode mode)
|
||||
{
|
||||
// Convert PowerPC to native rounding mode.
|
||||
static const int rounding_mode_lut[] = {FE_TONEAREST, FE_TOWARDZERO, FE_UPWARD, FE_DOWNWARD};
|
||||
fesetround(rounding_mode_lut[mode]);
|
||||
}
|
||||
|
||||
void SetSIMDMode(RoundMode rounding_mode, bool non_ieee_mode)
|
||||
{
|
||||
// OR-mask for disabling FPU exceptions (bits 7-12 in the MXCSR register)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue