mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 07:09:48 -06:00
Merge pull request #133 from shuffle2/fix-ldmxscr-exception
commit 1a428de189
introduced a bug by usin...
This commit is contained in:
@ -8,14 +8,15 @@
|
|||||||
|
|
||||||
namespace FPURoundMode
|
namespace FPURoundMode
|
||||||
{
|
{
|
||||||
enum RoundModes
|
enum RoundModes : u32
|
||||||
{
|
{
|
||||||
ROUND_NEAR = 0,
|
ROUND_NEAR = 0,
|
||||||
ROUND_CHOP = 1,
|
ROUND_CHOP = 1,
|
||||||
ROUND_UP = 2,
|
ROUND_UP = 2,
|
||||||
ROUND_DOWN = 3
|
ROUND_DOWN = 3
|
||||||
};
|
};
|
||||||
enum PrecisionModes {
|
enum PrecisionModes : u32
|
||||||
|
{
|
||||||
PREC_24 = 0,
|
PREC_24 = 0,
|
||||||
PREC_53 = 1,
|
PREC_53 = 1,
|
||||||
PREC_64 = 2
|
PREC_64 = 2
|
||||||
|
@ -390,7 +390,7 @@ union UReg_FPSCR
|
|||||||
struct
|
struct
|
||||||
{
|
{
|
||||||
// Rounding mode (towards: nearest, zero, +inf, -inf)
|
// Rounding mode (towards: nearest, zero, +inf, -inf)
|
||||||
enum FPURoundMode::RoundModes RN : 2;
|
FPURoundMode::RoundModes RN : 2;
|
||||||
// Non-IEEE mode enable (aka flush-to-zero)
|
// Non-IEEE mode enable (aka flush-to-zero)
|
||||||
u32 NI : 1;
|
u32 NI : 1;
|
||||||
// Inexact exception enable
|
// Inexact exception enable
|
||||||
|
Reference in New Issue
Block a user