diff options
| author | hrydgard <hrydgard@gmail.com> | 2010-01-16 19:00:09 +0000 |
|---|---|---|
| committer | hrydgard <hrydgard@gmail.com> | 2010-01-16 19:00:09 +0000 |
| commit | 1848e93790c8fc4f00e743c5c292ce334cf6c028 (patch) | |
| tree | 587c3f40771ee81c758da3fc9ef06fe4e414e084 /Source/Core/Common | |
| parent | 1a25dfe2794bad96c3f86a34b320704a3d694339 (diff) | |
RIP "Optimize Quantizers" option. Now using the safe quantizer code from JITIL in all builds.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4854 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common')
| -rw-r--r-- | Source/Core/Common/Src/ABI.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Source/Core/Common/Src/ABI.cpp b/Source/Core/Common/Src/ABI.cpp index 681ba5f432..522a8a572a 100644 --- a/Source/Core/Common/Src/ABI.cpp +++ b/Source/Core/Common/Src/ABI.cpp @@ -107,6 +107,7 @@ void XEmitter::ABI_CallFunctionR(void *func, X64Reg reg1) { ABI_RestoreStack(1 * 4); } +// Pass two registers as parameters. void XEmitter::ABI_CallFunctionRR(void *func, Gen::X64Reg reg1, Gen::X64Reg reg2) { ABI_AlignStack(2 * 4); @@ -216,18 +217,18 @@ void XEmitter::ABI_CallFunctionR(void *func, X64Reg reg1) { CALL(func); } -// Pass a register as a paremeter. +// Pass two registers as paremeters. void XEmitter::ABI_CallFunctionRR(void *func, X64Reg reg1, X64Reg reg2) { if (reg2 != ABI_PARAM1) { if (reg1 != ABI_PARAM1) - MOV(32, R(ABI_PARAM1), R(reg1)); + MOV(64, R(ABI_PARAM1), R(reg1)); if (reg2 != ABI_PARAM2) - MOV(32, R(ABI_PARAM2), R(reg2)); + MOV(64, R(ABI_PARAM2), R(reg2)); } else { if (reg2 != ABI_PARAM2) - MOV(32, R(ABI_PARAM2), R(reg2)); + MOV(64, R(ABI_PARAM2), R(reg2)); if (reg1 != ABI_PARAM1) - MOV(32, R(ABI_PARAM1), R(reg1)); + MOV(64, R(ABI_PARAM1), R(reg1)); } CALL(func); } |
