diff options
| author | Tillmann Karras <tilkax@gmail.com> | 2014-03-09 15:21:50 +0100 |
|---|---|---|
| committer | Tillmann Karras <tilkax@gmail.com> | 2014-03-09 15:24:35 +0100 |
| commit | d05e205a241f7673659f38ff75fcbf7ef6419712 (patch) | |
| tree | e04e825cb03240aefbdaef0d36a777271ba442dc /Source/Core/Common/GenericFPURoundMode.cpp | |
| parent | 154ad838f4c481cc8f3099c5869bdbe636aade26 (diff) | |
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.
Diffstat (limited to 'Source/Core/Common/GenericFPURoundMode.cpp')
| -rw-r--r-- | Source/Core/Common/GenericFPURoundMode.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/Common/GenericFPURoundMode.cpp b/Source/Core/Common/GenericFPURoundMode.cpp index 61343514a5..a1a9e6acd2 100644 --- a/Source/Core/Common/GenericFPURoundMode.cpp +++ b/Source/Core/Common/GenericFPURoundMode.cpp @@ -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() |
