mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-03-25 12:02:57 +00:00
CMakeLists: Enable /W4 on MSVC
This commit is contained in:
@@ -54,6 +54,7 @@ using HostLocList = std::initializer_list<HostLoc>;
|
||||
|
||||
// RSP is preserved for function calls
|
||||
// R15 contains the JitState pointer
|
||||
#pragma warning (suppress : 4592) // Symbol will be dynamically initialized (implementation limitation)
|
||||
const HostLocList any_gpr = {
|
||||
HostLoc::RAX,
|
||||
HostLoc::RBX,
|
||||
@@ -71,6 +72,7 @@ const HostLocList any_gpr = {
|
||||
HostLoc::R14,
|
||||
};
|
||||
|
||||
#pragma warning (suppress : 4592) // Symbol will be dynamically initialized (implementation limitation)
|
||||
const HostLocList any_xmm = {
|
||||
HostLoc::XMM0,
|
||||
HostLoc::XMM1,
|
||||
|
||||
@@ -24,6 +24,7 @@ struct JitState {
|
||||
std::array<u32, 16> Reg{}; // Current register file.
|
||||
// TODO: Mode-specific register sets unimplemented.
|
||||
|
||||
#pragma warning (suppress : 4324) // Structure was padded due to alignment specifier
|
||||
alignas(u64) std::array<u32, 64> ExtReg{}; // Extension registers.
|
||||
|
||||
std::array<u64, SpillCount> Spill{}; // Spill.
|
||||
|
||||
Reference in New Issue
Block a user