From 0888c93d4816bed48024e39002bf4e7899c26d35 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 21 Mar 2023 10:49:35 -0400 Subject: Common: Move FPU-related helpers into Common namespace Makes these utilities' namespace consistent with the majority of the Common library. --- Source/Core/Common/ArmFPURoundMode.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/Core/Common/ArmFPURoundMode.cpp') diff --git a/Source/Core/Common/ArmFPURoundMode.cpp b/Source/Core/Common/ArmFPURoundMode.cpp index 109e9612e7..d24cecf3a7 100644 --- a/Source/Core/Common/ArmFPURoundMode.cpp +++ b/Source/Core/Common/ArmFPURoundMode.cpp @@ -11,6 +11,8 @@ #include "Common/CommonTypes.h" #include "Common/Logging/Log.h" +namespace Common::FPU +{ static u64 GetFPCR() { #ifdef _MSC_VER @@ -31,8 +33,6 @@ static void SetFPCR(u64 fpcr) #endif } -namespace FPURoundMode -{ static const u64 default_fpcr = GetFPCR(); static u64 saved_fpcr = default_fpcr; @@ -87,4 +87,4 @@ void LoadDefaultSIMDState() SetFPCR(default_fpcr); } -} // namespace FPURoundMode +} // namespace Common::FPU -- cgit v1.2.3