From 9460467e7caf34b39d461f31e0f1b137dac4b0e5 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Mon, 21 Dec 2020 17:58:07 +0100 Subject: [PATCH] Jit64: Fix FPURegCache::GetRegUtilization This performance bug was probably a simple copy-paste error. (The function was identical to GPRRegCache::GetRegUtilization.) --- Source/Core/Core/PowerPC/Jit64/RegCache/FPURegCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/PowerPC/Jit64/RegCache/FPURegCache.cpp b/Source/Core/Core/PowerPC/Jit64/RegCache/FPURegCache.cpp index 79ca0165ae..ffa1c3aff2 100644 --- a/Source/Core/Core/PowerPC/Jit64/RegCache/FPURegCache.cpp +++ b/Source/Core/Core/PowerPC/Jit64/RegCache/FPURegCache.cpp @@ -39,7 +39,7 @@ OpArg FPURegCache::GetDefaultLocation(preg_t preg) const BitSet32 FPURegCache::GetRegUtilization() const { - return m_jit.js.op->gprInReg; + return m_jit.js.op->fprInXmm; } BitSet32 FPURegCache::CountRegsIn(preg_t preg, u32 lookahead) const