summaryrefslogtreecommitdiff
path: root/src/common/x64/abi.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2015-08-14 22:29:08 -0400
committerGravatar bunnei2015-08-15 18:03:27 -0400
commitb39c053785abc4a94ce380885a846c5d8be89675 (patch)
tree42911208a051652a7452c8bbbd35ec91aa2d4e20 /src/common/x64/abi.cpp
parentCommon: Cleanup CPU capability detection code. (diff)
downloadyuzu-b39c053785abc4a94ce380885a846c5d8be89675.tar.gz
yuzu-b39c053785abc4a94ce380885a846c5d8be89675.tar.xz
yuzu-b39c053785abc4a94ce380885a846c5d8be89675.zip
Rename ARCHITECTURE_X64 definition to ARCHITECTURE_x86_64.
Diffstat (limited to 'src/common/x64/abi.cpp')
-rw-r--r--src/common/x64/abi.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/x64/abi.cpp b/src/common/x64/abi.cpp
index 598e7f335..4c07a6ebe 100644
--- a/src/common/x64/abi.cpp
+++ b/src/common/x64/abi.cpp
@@ -27,7 +27,7 @@ void XEmitter::ABI_EmitPrologue(int maxCallParams)
27{ 27{
28#ifdef _M_IX86 28#ifdef _M_IX86
29 // Don't really need to do anything 29 // Don't really need to do anything
30#elif defined(ARCHITECTURE_X64) 30#elif defined(ARCHITECTURE_x86_64)
31#if _WIN32 31#if _WIN32
32 int stacksize = ((maxCallParams + 1) & ~1) * 8 + 8; 32 int stacksize = ((maxCallParams + 1) & ~1) * 8 + 8;
33 // Set up a stack frame so that we can call functions 33 // Set up a stack frame so that we can call functions
@@ -43,7 +43,7 @@ void XEmitter::ABI_EmitEpilogue(int maxCallParams)
43{ 43{
44#ifdef _M_IX86 44#ifdef _M_IX86
45 RET(); 45 RET();
46#elif defined(ARCHITECTURE_X64) 46#elif defined(ARCHITECTURE_x86_64)
47#ifdef _WIN32 47#ifdef _WIN32
48 int stacksize = ((maxCallParams+1)&~1)*8 + 8; 48 int stacksize = ((maxCallParams+1)&~1)*8 + 8;
49 ADD(64, R(RSP), Imm8(stacksize)); 49 ADD(64, R(RSP), Imm8(stacksize));