summaryrefslogtreecommitdiff
path: root/Source/Core/Common/ArmFPURoundMode.cpp
diff options
context:
space:
mode:
authorLioncash <mai.iam2048@gmail.com>2023-03-21 10:49:35 -0400
committerLioncash <mai.iam2048@gmail.com>2023-03-21 10:58:13 -0400
commit0888c93d4816bed48024e39002bf4e7899c26d35 (patch)
treeb6f5eb2bbf515559825e419195266e2294b1851b /Source/Core/Common/ArmFPURoundMode.cpp
parentd41751c954e5d6896af8ca93bfac054bc2da1d85 (diff)
Common: Move FPU-related helpers into Common namespace
Makes these utilities' namespace consistent with the majority of the Common library.
Diffstat (limited to 'Source/Core/Common/ArmFPURoundMode.cpp')
-rw-r--r--Source/Core/Common/ArmFPURoundMode.cpp6
1 files changed, 3 insertions, 3 deletions
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