diff --git a/Core/MIPS/x86/CompVFPU.cpp b/Core/MIPS/x86/CompVFPU.cpp index 931778df5b..743b2a5c1f 100644 --- a/Core/MIPS/x86/CompVFPU.cpp +++ b/Core/MIPS/x86/CompVFPU.cpp @@ -2317,6 +2317,31 @@ void Jit::Comp_VMatrixInit(MIPSOpcode op) { MatrixSize sz = GetMtxSize(op); int n = GetMatrixSide(sz); + // Not really about trying here, it will work if enabled. + if (jo.enableVFPUSIMD) { + VectorSize vsz = GetVectorSize(sz); + u8 vecs[4]; + GetMatrixColumns(_VD, sz, vecs); + for (int i = 0; i < n; i++) { + u8 vec[4]; + GetVectorRegs(vec, vsz, vecs[i]); + fpr.MapRegsVS(vec, vsz, MAP_NOINIT | MAP_DIRTY); + switch ((op >> 16) & 0xF) { + case 3: + MOVAPS(fpr.VSX(vec), M(&identityMatrix[i])); + break; + case 6: + XORPS(fpr.VSX(vec), fpr.VS(vec)); + break; + case 7: + MOVAPS(fpr.VSX(vec), M(&oneOneOneOne)); + break; + } + } + fpr.ReleaseSpillLocks(); + return; + } + u8 dregs[16]; GetMatrixRegs(dregs, sz, _VD); @@ -2835,7 +2860,6 @@ void Jit::Comp_Vhoriz(MIPSOpcode op) { } ApplyPrefixD(dregs, V_Single); fpr.ReleaseSpillLocks(); - NOTICE_LOG(JIT, "Horiz %08x", js.blockStart); return; } diff --git a/Core/MIPS/x86/Jit.cpp b/Core/MIPS/x86/Jit.cpp index 7a30bd9f2d..22a7cabcc6 100644 --- a/Core/MIPS/x86/Jit.cpp +++ b/Core/MIPS/x86/Jit.cpp @@ -120,7 +120,7 @@ JitOptions::JitOptions() continueBranches = false; continueJumps = false; continueMaxInstructions = 300; - enableVFPUSIMD = true; + enableVFPUSIMD = false; } #ifdef _MSC_VER