a32_jitstate: Remove exception trap enables from FPSCR_MODE_MASK

We don't currently use this for anything (we do not currently trap
floating point exceptions).

This frees these bits up for other purposes.
This commit is contained in:
MerryMage 2019-05-05 19:38:51 +01:00
parent fd6222f0a1
commit f178562ee7
2 changed files with 1 additions and 4 deletions

View file

@ -26,7 +26,7 @@ class LocationDescriptor {
public:
// Indicates bits that should be preserved within descriptors.
static constexpr u32 CPSR_MODE_MASK = 0x00000220;
static constexpr u32 FPSCR_MODE_MASK = 0x07F79F00;
static constexpr u32 FPSCR_MODE_MASK = 0x07F70000;
LocationDescriptor(u32 arm_pc, PSR cpsr, FPSCR fpscr)
: arm_pc(arm_pc), cpsr(cpsr.Value() & CPSR_MODE_MASK), fpscr(fpscr.Value() & FPSCR_MODE_MASK) {}