summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-09-04 02:24:27 +0200
committerGitHub <noreply@github.com>2020-09-04 02:24:27 +0200
commit94a25b75a0baf3a35a5b343e0908efa7b2ccf1d9 (patch)
tree8d17bf61c717eda5c5dd07c308a51784b927afd3 /src/video_core
parentMerge pull request #4583 from lioncash/trunc (diff)
parentexternals: Update Xbyak to 5.96 (diff)
downloadyuzu-94a25b75a0baf3a35a5b343e0908efa7b2ccf1d9.tar
yuzu-94a25b75a0baf3a35a5b343e0908efa7b2ccf1d9.tar.gz
yuzu-94a25b75a0baf3a35a5b343e0908efa7b2ccf1d9.tar.bz2
yuzu-94a25b75a0baf3a35a5b343e0908efa7b2ccf1d9.tar.lz
yuzu-94a25b75a0baf3a35a5b343e0908efa7b2ccf1d9.tar.xz
yuzu-94a25b75a0baf3a35a5b343e0908efa7b2ccf1d9.tar.zst
yuzu-94a25b75a0baf3a35a5b343e0908efa7b2ccf1d9.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/macro/macro_jit_x64.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/video_core/macro/macro_jit_x64.cpp b/src/video_core/macro/macro_jit_x64.cpp
index c1b9e4ad9..954b87515 100644
--- a/src/video_core/macro/macro_jit_x64.cpp
+++ b/src/video_core/macro/macro_jit_x64.cpp
@@ -14,11 +14,11 @@ MICROPROFILE_DEFINE(MacroJitCompile, "GPU", "Compile macro JIT", MP_RGB(173, 255
MICROPROFILE_DEFINE(MacroJitExecute, "GPU", "Execute macro JIT", MP_RGB(255, 255, 0));
namespace Tegra {
-static const Xbyak::Reg64 STATE = Xbyak::util::rbx;
-static const Xbyak::Reg32 RESULT = Xbyak::util::ebp;
-static const Xbyak::Reg64 PARAMETERS = Xbyak::util::r12;
-static const Xbyak::Reg32 METHOD_ADDRESS = Xbyak::util::r14d;
-static const Xbyak::Reg64 BRANCH_HOLDER = Xbyak::util::r15;
+constexpr Xbyak::Reg64 STATE = Xbyak::util::rbx;
+constexpr Xbyak::Reg32 RESULT = Xbyak::util::ebp;
+constexpr Xbyak::Reg64 PARAMETERS = Xbyak::util::r12;
+constexpr Xbyak::Reg32 METHOD_ADDRESS = Xbyak::util::r14d;
+constexpr Xbyak::Reg64 BRANCH_HOLDER = Xbyak::util::r15;
static const std::bitset<32> PERSISTENT_REGISTERS = Common::X64::BuildRegSet({
STATE,