From f17cd3750a5785033d9f2f9e80e97ee3d0a66ba8 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Sun, 24 Jan 2021 14:27:07 +0100 Subject: [PATCH] JitArm64: Remove default parameters from Arm64FPRCache::R/RW It obscures more than it helps in my opinion. --- Source/Core/Core/PowerPC/JitArm64/JitArm64_FloatingPoint.cpp | 2 +- Source/Core/Core/PowerPC/JitArm64/JitArm64_RegCache.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Core/Core/PowerPC/JitArm64/JitArm64_FloatingPoint.cpp b/Source/Core/Core/PowerPC/JitArm64/JitArm64_FloatingPoint.cpp index 942342707d..08e3d2ab9b 100644 --- a/Source/Core/Core/PowerPC/JitArm64/JitArm64_FloatingPoint.cpp +++ b/Source/Core/Core/PowerPC/JitArm64/JitArm64_FloatingPoint.cpp @@ -356,7 +356,7 @@ void JitArm64::fctiwzx(UGeckoInstruction inst) const bool single = fpr.IsSingle(b, true); const ARM64Reg VB = fpr.R(b, single ? RegType::LowerPairSingle : RegType::LowerPair); - const ARM64Reg VD = fpr.RW(d); + const ARM64Reg VD = fpr.RW(d, RegType::LowerPair); const ARM64Reg V0 = fpr.GetReg(); diff --git a/Source/Core/Core/PowerPC/JitArm64/JitArm64_RegCache.h b/Source/Core/Core/PowerPC/JitArm64/JitArm64_RegCache.h index b074001830..4e37df9528 100644 --- a/Source/Core/Core/PowerPC/JitArm64/JitArm64_RegCache.h +++ b/Source/Core/Core/PowerPC/JitArm64/JitArm64_RegCache.h @@ -281,9 +281,9 @@ public: // Returns a guest register inside of a host register // Will dump an immediate to the host register as well - Arm64Gen::ARM64Reg R(size_t preg, RegType type = RegType::LowerPair); + Arm64Gen::ARM64Reg R(size_t preg, RegType type); - Arm64Gen::ARM64Reg RW(size_t preg, RegType type = RegType::LowerPair); + Arm64Gen::ARM64Reg RW(size_t preg, RegType type); BitSet32 GetCallerSavedUsed() const override;