mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 17:19:44 -06:00
Arm64Emitter: Make RoundingMode enum an enum class
Prevents namespace pollution and makes the enum members strongly typed.
This commit is contained in:
@ -310,13 +310,13 @@ enum ShiftAmount
|
||||
SHIFT_48 = 3,
|
||||
};
|
||||
|
||||
enum RoundingMode
|
||||
enum class RoundingMode
|
||||
{
|
||||
ROUND_A, // round to nearest, ties to away
|
||||
ROUND_M, // round towards -inf
|
||||
ROUND_N, // round to nearest, ties to even
|
||||
ROUND_P, // round towards +inf
|
||||
ROUND_Z, // round towards zero
|
||||
A, // round to nearest, ties to away
|
||||
M, // round towards -inf
|
||||
N, // round to nearest, ties to even
|
||||
P, // round towards +inf
|
||||
Z, // round towards zero
|
||||
};
|
||||
|
||||
struct FixupBranch
|
||||
|
Reference in New Issue
Block a user