mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 15:49:25 +01:00
msvc: disable optimizations for x64EmitterTest.cpp
40s -> 5s speedup
This commit is contained in:
parent
dde2f7e637
commit
cad1f2735c
@ -19,6 +19,11 @@
|
|||||||
#include "Common/StringUtil.h"
|
#include "Common/StringUtil.h"
|
||||||
#include "Common/x64Emitter.h"
|
#include "Common/x64Emitter.h"
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
// This file is extremely slow to optimize (40s on amd 3990x), so just disable optimizations
|
||||||
|
#pragma optimize("", off)
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace Gen
|
namespace Gen
|
||||||
{
|
{
|
||||||
struct NamedReg
|
struct NamedReg
|
||||||
@ -1243,3 +1248,7 @@ FMA4_TEST(VFMADDSUB, P, true)
|
|||||||
FMA4_TEST(VFMSUBADD, P, true)
|
FMA4_TEST(VFMSUBADD, P, true)
|
||||||
|
|
||||||
} // namespace Gen
|
} // namespace Gen
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#pragma optimize("", on)
|
||||||
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user