mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 00:41:26 +12:00
PPUJIT: Fix unit tests
This commit is contained in:
parent
e7f278b5d2
commit
3a2b13c02b
2 changed files with 543 additions and 543 deletions
|
@ -923,8 +923,8 @@ namespace ppu_recompiler_llvm {
|
||||||
llvm::Value * IndirectCall(u32 address, llvm::Value * context_i64, bool is_function);
|
llvm::Value * IndirectCall(u32 address, llvm::Value * context_i64, bool is_function);
|
||||||
|
|
||||||
/// Test an instruction against the interpreter
|
/// Test an instruction against the interpreter
|
||||||
template <class PPULLVMRecompilerFn, class PPUInterpreterFn, class... Args>
|
template <class... Args>
|
||||||
void VerifyInstructionAgainstInterpreter(const char * name, PPULLVMRecompilerFn recomp_fn, PPUInterpreterFn interp_fn, PPUState & input_state, Args... args);
|
void VerifyInstructionAgainstInterpreter(const char * name, void (Compiler::*recomp_fn)(Args...), void (PPUInterpreter::*interp_fn)(Args...), PPUState & input_state, Args... args);
|
||||||
|
|
||||||
/// Excute a test
|
/// Excute a test
|
||||||
void RunTest(const char * name, std::function<void()> test_case, std::function<void()> input, std::function<bool(std::string & msg)> check_result);
|
void RunTest(const char * name, std::function<void()> test_case, std::function<void()> input, std::function<bool(std::string & msg)> check_result);
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue