FPURoundMode: revert use of enums in bit-fields

The workaround of using fixed underlying types produces lots of warnings
in GCC because now the bit-fields are too small for the value range used
for conversion semantics.
This commit is contained in:
Tillmann Karras
2014-03-09 15:21:50 +01:00
parent 154ad838f4
commit d05e205a24
5 changed files with 18 additions and 14 deletions

View File

@ -21,13 +21,13 @@
// Generic, do nothing
namespace FPURoundMode
{
void SetRoundMode(RoundModes mode)
void SetRoundMode(int mode)
{
}
void SetPrecisionMode(PrecisionModes mode)
void SetPrecisionMode(PrecisionMode mode)
{
}
void SetSIMDMode(RoundModes rounding_mode, bool non_ieee_mode)
void SetSIMDMode(int rounding_mode, bool non_ieee_mode)
{
}
void SaveSIMDState()