CachedInterpreter: New kind of jit which always fallback to interpreter.

This commit is contained in:
degasus
2015-07-03 00:15:01 +02:00
parent 6bcdae616b
commit 1c9b5efb4c
9 changed files with 297 additions and 7 deletions

View File

@ -14,6 +14,7 @@
#include "Core/ConfigManager.h"
#include "Core/HW/Memmap.h"
#include "Core/PowerPC/CachedInterpreter.h"
#include "Core/PowerPC/JitInterface.h"
#include "Core/PowerPC/PowerPC.h"
#include "Core/PowerPC/PPCSymbolDB.h"
@ -63,6 +64,10 @@ namespace JitInterface
ptr = new JitArm64();
break;
#endif
case PowerPC::CORE_CACHEDINTERPRETER:
ptr = new CachedInterpreter();
break;
default:
PanicAlert("Unrecognizable cpu_core: %d", core);
jit = nullptr;
@ -89,6 +94,9 @@ namespace JitInterface
JitArm64Tables::InitTables();
break;
#endif
case PowerPC::CORE_CACHEDINTERPRETER:
// has no tables
break;
default:
PanicAlert("Unrecognizable cpu_core: %d", core);
break;