mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Allow testing WIP JIT by using "scons jittest=1". Done by the request
of nakeee. Hopefully this works the way I think it does. And of course, use at your own risk... git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1760 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -27,6 +27,9 @@
|
||||
// * A flush simply does a conditional write to the appropriate CRx.
|
||||
// * If flag available, branch code can become absolutely trivial.
|
||||
|
||||
#ifdef JITTEST
|
||||
#include "../Jit64IL/Jit.h"
|
||||
#else
|
||||
#ifndef _JIT_H
|
||||
#define _JIT_H
|
||||
|
||||
@ -292,4 +295,4 @@ extern Jit64 jit;
|
||||
void Jit(u32 em_address);
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -80,25 +80,45 @@ files = ["Console.cpp",
|
||||
"PowerPC/Interpreter/Interpreter_LoadStore.cpp",
|
||||
"PowerPC/Interpreter/Interpreter_LoadStorePaired.cpp",
|
||||
"PowerPC/Interpreter/Interpreter_SystemRegisters.cpp",
|
||||
"PowerPC/Jit64/Jit.cpp",
|
||||
"PowerPC/Jit64/JitBackpatch.cpp",
|
||||
# "PowerPC/Jit64/JitCore.cpp",
|
||||
"PowerPC/Jit64/JitCache.cpp",
|
||||
"PowerPC/Jit64/JitRegCache.cpp",
|
||||
"PowerPC/Jit64/JitAsm.cpp",
|
||||
"PowerPC/Jit64/Jit_Branch.cpp",
|
||||
"PowerPC/Jit64/Jit_Integer.cpp",
|
||||
"PowerPC/Jit64/Jit_FloatingPoint.cpp",
|
||||
"PowerPC/Jit64/Jit_LoadStorePaired.cpp",
|
||||
"PowerPC/Jit64/Jit_Paired.cpp",
|
||||
"PowerPC/Jit64/Jit_LoadStore.cpp",
|
||||
"PowerPC/Jit64/Jit_LoadStoreFloating.cpp",
|
||||
"PowerPC/Jit64/Jit_SystemRegisters.cpp",
|
||||
"PowerPC/Jit64/Jit_Util.cpp",
|
||||
"HLE/HLE.cpp",
|
||||
"HLE/HLE_Misc.cpp",
|
||||
"HLE/HLE_OS.cpp",
|
||||
]
|
||||
|
||||
if env['JITTEST']:
|
||||
files += ["PowerPC/Jit64IL/Jit.cpp",
|
||||
"PowerPC/Jit64IL/JitBackpatch.cpp",
|
||||
"PowerPC/Jit64IL/JitCache.cpp",
|
||||
"PowerPC/Jit64IL/JitRegCache.cpp",
|
||||
"PowerPC/Jit64IL/JitAsm.cpp",
|
||||
"PowerPC/Jit64IL/Jit_Branch.cpp",
|
||||
"PowerPC/Jit64IL/Jit_Integer.cpp",
|
||||
"PowerPC/Jit64IL/Jit_FloatingPoint.cpp",
|
||||
"PowerPC/Jit64IL/Jit_LoadStorePaired.cpp",
|
||||
"PowerPC/Jit64IL/Jit_Paired.cpp",
|
||||
"PowerPC/Jit64IL/Jit_LoadStore.cpp",
|
||||
"PowerPC/Jit64IL/Jit_LoadStoreFloating.cpp",
|
||||
"PowerPC/Jit64IL/Jit_SystemRegisters.cpp",
|
||||
"PowerPC/Jit64IL/Jit_Util.cpp",
|
||||
"PowerPC/Jit64IL/IR.cpp",
|
||||
]
|
||||
else:
|
||||
files += ["PowerPC/Jit64/Jit.cpp",
|
||||
"PowerPC/Jit64/JitBackpatch.cpp",
|
||||
"PowerPC/Jit64/JitCache.cpp",
|
||||
"PowerPC/Jit64/JitRegCache.cpp",
|
||||
"PowerPC/Jit64/JitAsm.cpp",
|
||||
"PowerPC/Jit64/Jit_Branch.cpp",
|
||||
"PowerPC/Jit64/Jit_Integer.cpp",
|
||||
"PowerPC/Jit64/Jit_FloatingPoint.cpp",
|
||||
"PowerPC/Jit64/Jit_LoadStorePaired.cpp",
|
||||
"PowerPC/Jit64/Jit_Paired.cpp",
|
||||
"PowerPC/Jit64/Jit_LoadStore.cpp",
|
||||
"PowerPC/Jit64/Jit_LoadStoreFloating.cpp",
|
||||
"PowerPC/Jit64/Jit_SystemRegisters.cpp",
|
||||
"PowerPC/Jit64/Jit_Util.cpp",
|
||||
]
|
||||
|
||||
libs = [
|
||||
'bdisasm'
|
||||
]
|
||||
|
Reference in New Issue
Block a user