x64FPURoundMode: move things around a bit

This commit is contained in:
Tillmann Karras
2014-02-23 14:57:31 +01:00
parent 269e2aefa7
commit 1a428de189
4 changed files with 46 additions and 46 deletions

View File

@ -11,20 +11,20 @@ namespace FPURoundMode
enum RoundModes
{
ROUND_NEAR = 0,
ROUND_CHOP,
ROUND_UP,
ROUND_DOWN
ROUND_CHOP = 1,
ROUND_UP = 2,
ROUND_DOWN = 3
};
enum PrecisionModes {
PREC_24 = 0,
PREC_53,
PREC_64
PREC_53 = 1,
PREC_64 = 2
};
void SetRoundMode(u32 mode);
void SetRoundMode(enum RoundModes mode);
void SetPrecisionMode(u32 mode);
void SetPrecisionMode(enum PrecisionModes mode);
void SetSIMDMode(u32 roundingMode, u32 nonIEEEMode);
void SetSIMDMode(enum RoundModes rounding_mode, bool non_ieee_mode);
/*
* There are two different flavors of float to int conversion: