backend/x64: Implement separate MSXCSR for ASIMDStandardValue

This commit is contained in:
MerryMage 2020-06-20 00:00:36 +01:00
parent d3664b03fe
commit 1b3a70a83c
8 changed files with 38 additions and 7 deletions

View file

@ -180,6 +180,14 @@ public:
return value;
}
/// Gets the StandardFPSCRValue (A32 ASIMD).
FPCR ASIMDStandardValue() const {
FPCR stdvalue;
stdvalue.AHP(AHP());
stdvalue.FZ16(FZ16());
return stdvalue;
}
private:
// Bits 0-7, 13-14, and 27-31 are reserved.
static constexpr u32 mask = 0x07FF9F00;