diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-09-20 17:21:23 +0200 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-09-21 04:15:47 +0200 |
commit | ebdae19fd226104baec712b9da9939ff82ef3c3a (patch) | |
tree | e046c0f562fc4400480b2e3257f140e973a9ce6a /src/common/x64 | |
parent | Manually tweak source formatting and then re-run clang-format (diff) | |
download | yuzu-ebdae19fd226104baec712b9da9939ff82ef3c3a.tar yuzu-ebdae19fd226104baec712b9da9939ff82ef3c3a.tar.gz yuzu-ebdae19fd226104baec712b9da9939ff82ef3c3a.tar.bz2 yuzu-ebdae19fd226104baec712b9da9939ff82ef3c3a.tar.lz yuzu-ebdae19fd226104baec712b9da9939ff82ef3c3a.tar.xz yuzu-ebdae19fd226104baec712b9da9939ff82ef3c3a.tar.zst yuzu-ebdae19fd226104baec712b9da9939ff82ef3c3a.zip |
Diffstat (limited to 'src/common/x64')
-rw-r--r-- | src/common/x64/cpu_detect.cpp | 4 | ||||
-rw-r--r-- | src/common/x64/emitter.cpp | 8 | ||||
-rw-r--r-- | src/common/x64/emitter.h | 1 |
3 files changed, 4 insertions, 9 deletions
diff --git a/src/common/x64/cpu_detect.cpp b/src/common/x64/cpu_detect.cpp index 19f1a4030..ac37c42bc 100644 --- a/src/common/x64/cpu_detect.cpp +++ b/src/common/x64/cpu_detect.cpp @@ -2,14 +2,12 @@ // Licensed under GPLv2 or any later version // Refer to the license.txt file included. +#include "cpu_detect.h" #include <cstring> #include <string> #include <thread> - #include "common/common_types.h" -#include "cpu_detect.h" - namespace Common { #ifndef _MSC_VER diff --git a/src/common/x64/emitter.cpp b/src/common/x64/emitter.cpp index 7cf350b4a..b69e4bd5e 100644 --- a/src/common/x64/emitter.cpp +++ b/src/common/x64/emitter.cpp @@ -15,16 +15,14 @@ // Official SVN repository and contact information can be found at // http://code.google.com/p/dolphin-emu/ +#include "emitter.h" #include <cinttypes> #include <cstring> - +#include "abi.h" #include "common/assert.h" #include "common/logging/log.h" #include "common/memory_util.h" - -#include "abi.h" #include "cpu_detect.h" -#include "emitter.h" namespace Gen { @@ -222,7 +220,7 @@ void OpArg::WriteVex(XEmitter* emit, X64Reg regOp1, X64Reg regOp2, int L, int pp void OpArg::WriteRest(XEmitter* emit, int extraBytes, X64Reg _operandReg, bool warn_64bit_offset) const { if (_operandReg == INVALID_REG) - _operandReg = (X64Reg)this->operandReg; + _operandReg = (X64Reg) this->operandReg; int mod = 0; int ireg = indexReg; bool SIB = false; diff --git a/src/common/x64/emitter.h b/src/common/x64/emitter.h index 6c9dc3d6b..7d7cdde16 100644 --- a/src/common/x64/emitter.h +++ b/src/common/x64/emitter.h @@ -18,7 +18,6 @@ #pragma once #include <cstddef> - #include "common/assert.h" #include "common/bit_set.h" #include "common/code_block.h" |