diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2023-08-26 16:34:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-26 16:34:46 +0200 |
| commit | 2502e412b3ca333a866b36c14c232bb1f33af068 (patch) | |
| tree | e2c2cb420b64ac6388799d017a7992ee553b0081 /Source/UnitTests/Core/PowerPC/Jit64Common/ConvertDoubleToSingle.cpp | |
| parent | d8e35438bd1314d650c88e367782120b55f12327 (diff) | |
| parent | b62c25864f6d549976b94eda60763524413e896e (diff) | |
Merge pull request #12117 from JosJuice/config-callback-cpu
Don't call RunAsCPUThread in config callbacks
Diffstat (limited to 'Source/UnitTests/Core/PowerPC/Jit64Common/ConvertDoubleToSingle.cpp')
| -rw-r--r-- | Source/UnitTests/Core/PowerPC/Jit64Common/ConvertDoubleToSingle.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/UnitTests/Core/PowerPC/Jit64Common/ConvertDoubleToSingle.cpp b/Source/UnitTests/Core/PowerPC/Jit64Common/ConvertDoubleToSingle.cpp index bbf6445357..09c0f30169 100644 --- a/Source/UnitTests/Core/PowerPC/Jit64Common/ConvertDoubleToSingle.cpp +++ b/Source/UnitTests/Core/PowerPC/Jit64Common/ConvertDoubleToSingle.cpp @@ -5,7 +5,9 @@ #include <tuple> #include "Common/CommonTypes.h" +#include "Common/ScopeGuard.h" #include "Common/x64ABI.h" +#include "Core/Core.h" #include "Core/PowerPC/Gekko.h" #include "Core/PowerPC/Interpreter/Interpreter_FPUtils.h" #include "Core/PowerPC/Jit64/Jit.h" @@ -52,6 +54,9 @@ public: TEST(Jit64, ConvertDoubleToSingle) { + Core::DeclareAsCPUThread(); + Common::ScopeGuard cpu_thread_guard([] { Core::UndeclareAsCPUThread(); }); + TestCommonAsmRoutines routines(Core::System::GetInstance()); for (const u64 input : double_test_values) |
