mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-24 18:28:44 +00:00
Merge branch 'master' of https://github.com/dolphin-emu/dolphin into dolphin-emu-master
This commit is contained in:
commit
6280ce45a7
415 changed files with 14795 additions and 9405 deletions
|
@ -292,7 +292,7 @@ TEST_F(x64EmitterTest, JMP)
|
|||
"jmp .-8");
|
||||
|
||||
emitter->NOP(6);
|
||||
emitter->JMP(code_buffer, true);
|
||||
emitter->JMP(code_buffer, XEmitter::Jump::Near);
|
||||
ExpectDisassembly("multibyte nop "
|
||||
"jmp .-11");
|
||||
}
|
||||
|
@ -380,10 +380,10 @@ BITSEARCH_TEST(TZCNT);
|
|||
|
||||
TEST_F(x64EmitterTest, PREFETCH)
|
||||
{
|
||||
emitter->PREFETCH(XEmitter::PF_NTA, MatR(R12));
|
||||
emitter->PREFETCH(XEmitter::PF_T0, MatR(R12));
|
||||
emitter->PREFETCH(XEmitter::PF_T1, MatR(R12));
|
||||
emitter->PREFETCH(XEmitter::PF_T2, MatR(R12));
|
||||
emitter->PREFETCH(XEmitter::PrefetchLevel::NTA, MatR(R12));
|
||||
emitter->PREFETCH(XEmitter::PrefetchLevel::T0, MatR(R12));
|
||||
emitter->PREFETCH(XEmitter::PrefetchLevel::T1, MatR(R12));
|
||||
emitter->PREFETCH(XEmitter::PrefetchLevel::T2, MatR(R12));
|
||||
|
||||
ExpectDisassembly("prefetchnta byte ptr ds:[r12] "
|
||||
"prefetcht0 byte ptr ds:[r12] "
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#include <fmt/format.h>
|
||||
|
||||
#include "Common/MsgHandler.h"
|
||||
#include "Core/Core.h"
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
|
@ -24,6 +25,7 @@ int main(int argc, char** argv)
|
|||
{
|
||||
fmt::print(stderr, "Running main() from UnitTestsMain.cpp\n");
|
||||
Common::RegisterMsgAlertHandler(TestMsgHandler);
|
||||
Core::DeclareAsHostThread();
|
||||
|
||||
::testing::InitGoogleTest(&argc, argv);
|
||||
return RUN_ALL_TESTS();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue