summaryrefslogtreecommitdiffstats
path: root/src/common/x64
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-08-15 00:27:27 +0200
committerLioncash <mathew1800@gmail.com>2018-08-15 00:27:27 +0200
commit0ce0905380da2aba1f4f71e723b71c5fd70d693a (patch)
treec99d2b55532b9455f081835e280719caeb2292c2 /src/common/x64
parentMerge pull request #1055 from lioncash/init (diff)
downloadyuzu-0ce0905380da2aba1f4f71e723b71c5fd70d693a.tar
yuzu-0ce0905380da2aba1f4f71e723b71c5fd70d693a.tar.gz
yuzu-0ce0905380da2aba1f4f71e723b71c5fd70d693a.tar.bz2
yuzu-0ce0905380da2aba1f4f71e723b71c5fd70d693a.tar.lz
yuzu-0ce0905380da2aba1f4f71e723b71c5fd70d693a.tar.xz
yuzu-0ce0905380da2aba1f4f71e723b71c5fd70d693a.tar.zst
yuzu-0ce0905380da2aba1f4f71e723b71c5fd70d693a.zip
Diffstat (limited to 'src/common/x64')
-rw-r--r--src/common/x64/xbyak_abi.h6
-rw-r--r--src/common/x64/xbyak_util.h6
2 files changed, 4 insertions, 8 deletions
diff --git a/src/common/x64/xbyak_abi.h b/src/common/x64/xbyak_abi.h
index fd3fbdd4b..a27f5c72d 100644
--- a/src/common/x64/xbyak_abi.h
+++ b/src/common/x64/xbyak_abi.h
@@ -9,8 +9,7 @@
#include "common/assert.h"
#include "common/bit_set.h"
-namespace Common {
-namespace X64 {
+namespace Common::X64 {
int RegToIndex(const Xbyak::Reg& reg) {
using Kind = Xbyak::Reg::Kind;
@@ -217,5 +216,4 @@ void ABI_PopRegistersAndAdjustStack(Xbyak::CodeGenerator& code, BitSet32 regs, s
}
}
-} // namespace X64
-} // namespace Common
+} // namespace Common::X64
diff --git a/src/common/x64/xbyak_util.h b/src/common/x64/xbyak_util.h
index ec76e0a47..02323a017 100644
--- a/src/common/x64/xbyak_util.h
+++ b/src/common/x64/xbyak_util.h
@@ -8,8 +8,7 @@
#include <xbyak.h>
#include "common/x64/xbyak_abi.h"
-namespace Common {
-namespace X64 {
+namespace Common::X64 {
// Constants for use with cmpps/cmpss
enum {
@@ -45,5 +44,4 @@ inline void CallFarFunction(Xbyak::CodeGenerator& code, const T f) {
}
}
-} // namespace X64
-} // namespace Common
+} // namespace Common::X64