summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexLoader.cpp
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2014-08-03 21:17:28 -0700
committerPierre Bourdon <delroth@gmail.com>2014-08-03 21:17:28 -0700
commit4c42b38de1b91c9494e0a044cbf305941a09ec9f (patch)
tree666a1a45c63684e04eeccc9d5e5dbc1b074b0795 /Source/Core/VideoCommon/VertexLoader.cpp
parente15ec56bf0237dba3db5cf969d68566af3a79194 (diff)
parent0c24e1dcf21db56c31a069484514e5e9ff760c93 (diff)
Merge pull request #428 from Sonicadvance1/x86_32-removal
Remove x86_32 support from Dolphin.
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoader.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexLoader.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/Source/Core/VideoCommon/VertexLoader.cpp b/Source/Core/VideoCommon/VertexLoader.cpp
index 136cc33795..a4c0a2f6f2 100644
--- a/Source/Core/VideoCommon/VertexLoader.cpp
+++ b/Source/Core/VideoCommon/VertexLoader.cpp
@@ -752,12 +752,8 @@ void VertexLoader::CompileVertexTranslator()
#ifdef USE_VERTEX_LOADER_JIT
// End loop here
-#if _M_X86_64
MOV(64, R(RAX), Imm64((u64)&loop_counter));
SUB(32, MatR(RAX), Imm8(1));
-#else
- SUB(32, M(&loop_counter), Imm8(1));
-#endif
J_CC(CC_NZ, loop_start);
ABI_PopAllCalleeSavedRegsAndAdjustStack();
@@ -768,13 +764,9 @@ void VertexLoader::CompileVertexTranslator()
void VertexLoader::WriteCall(TPipelineFunction func)
{
#ifdef USE_VERTEX_LOADER_JIT
-#if _M_X86_64
MOV(64, R(RAX), Imm64((u64)func));
CALLptr(R(RAX));
#else
- CALL((void*)func);
-#endif
-#else
m_PipelineStages[m_numPipelineStages++] = func;
#endif
}
@@ -783,24 +775,16 @@ void VertexLoader::WriteCall(TPipelineFunction func)
void VertexLoader::WriteGetVariable(int bits, OpArg dest, void *address)
{
#ifdef USE_VERTEX_LOADER_JIT
-#if _M_X86_64
MOV(64, R(RAX), Imm64((u64)address));
MOV(bits, dest, MatR(RAX));
-#else
- MOV(bits, dest, M(address));
-#endif
#endif
}
void VertexLoader::WriteSetVariable(int bits, void *address, OpArg value)
{
#ifdef USE_VERTEX_LOADER_JIT
-#if _M_X86_64
MOV(64, R(RAX), Imm64((u64)address));
MOV(bits, MatR(RAX), value);
-#else
- MOV(bits, M(address), value);
-#endif
#endif
}
#endif