Partial FXSave/FXRStor instruction implementations.

This commit is contained in:
Ryan Houdek authored and Stefanos Kornilios Mitsis Poiitidis committed 2020-03-06 07:52:35 +02:00
1 parent 3e4743512d
commit 92d4aaf2e2
3 files changed
+93 -2

No files matched your search

+1
View File
@@ -14,6 +14,7 @@ namespace FEXCore::Core {
uint64_t gs;
uint64_t fs;
uint8_t flags[32];
uint64_t mm[8][2];
};
static_assert(offsetof(CPUState, xmm) % 16 == 0, "xmm needs to be 128bit aligned!");
+8
View File
@@ -36,6 +36,14 @@ constexpr unsigned REG_XMM_12 = 28;
constexpr unsigned REG_XMM_13 = 29;
constexpr unsigned REG_XMM_14 = 30;
constexpr unsigned REG_XMM_15 = 31;
constexpr unsigned REG_MM_0 = 32;
constexpr unsigned REG_MM_1 = 33;
constexpr unsigned REG_MM_2 = 34;
constexpr unsigned REG_MM_3 = 35;
constexpr unsigned REG_MM_4 = 36;
constexpr unsigned REG_MM_5 = 37;
constexpr unsigned REG_MM_6 = 38;
constexpr unsigned REG_MM_7 = 39;
constexpr unsigned REG_INVALID = 255;
/** @} */