From c94d9b62d0c2e67c305d06a02332de77c5cbe9d3 Mon Sep 17 00:00:00 2001 From: Ced2911 Date: Sat, 17 Aug 2013 13:42:33 +0200 Subject: [PATCH] Update ppc jit --- Core/MIPS/MIPS.cpp | 2 ++ Core/MIPS/PPC/PpcCompVFPU.cpp | 10 ++++++++++ Core/MIPS/PPC/PpcJit.h | 9 +++++++++ 3 files changed, 21 insertions(+) diff --git a/Core/MIPS/MIPS.cpp b/Core/MIPS/MIPS.cpp index 0e39e686ba..0dd81699cf 100644 --- a/Core/MIPS/MIPS.cpp +++ b/Core/MIPS/MIPS.cpp @@ -31,6 +31,8 @@ #if defined(ARM) #include "ARM/ArmJit.h" +#elif defined(PPC) +#include "PPC/PpcJit.h" #else #include "x86/Jit.h" #endif diff --git a/Core/MIPS/PPC/PpcCompVFPU.cpp b/Core/MIPS/PPC/PpcCompVFPU.cpp index 70973be151..c1bedb2bdf 100644 --- a/Core/MIPS/PPC/PpcCompVFPU.cpp +++ b/Core/MIPS/PPC/PpcCompVFPU.cpp @@ -136,4 +136,14 @@ void Jit::Comp_Viim(u32 op) { void Jit::Comp_Vfim(u32 op) { Comp_Generic(op); } + +void Jit::Comp_VCrossQuat(u32 op) { + Comp_Generic(op); +} +void Jit::Comp_Vsge(u32 op) { + Comp_Generic(op); +} +void Jit::Comp_Vslt(u32 op) { + Comp_Generic(op); +} } \ No newline at end of file diff --git a/Core/MIPS/PPC/PpcJit.h b/Core/MIPS/PPC/PpcJit.h index 1eef944a82..b93e53c67d 100644 --- a/Core/MIPS/PPC/PpcJit.h +++ b/Core/MIPS/PPC/PpcJit.h @@ -142,6 +142,12 @@ namespace MIPSComp JitBlockCache blocks; public: Jit(MIPSState *mips); + void DoState(PointerWrap &p) { + // Do nothing + } + static void DoDummyState(PointerWrap &p) { + // Do nothing + } // Compiled ops should ignore delay slots // the compiler will take care of them by itself @@ -213,6 +219,9 @@ namespace MIPSComp void Comp_Vcmov(u32 op); void Comp_Viim(u32 op); void Comp_Vfim(u32 op); + void Comp_VCrossQuat(u32 op); + void Comp_Vsge(u32 op); + void Comp_Vslt(u32 op); // Utility compilation functions