Permalink
Browse files

x86-64: Linux ABI fix

  • Loading branch information...
hrydgard committed Jul 7, 2017
1 parent dad5ca4 commit 8872057a2d2ae29f47c678ed13a857181932e673
Showing with 2 additions and 2 deletions.
  1. +2 −2 Core/MIPS/x86/CompVFPU.cpp
@@ -2176,7 +2176,7 @@ void Jit::Comp_VV2Op(MIPSOpcode op) {
#ifdef _WIN32
LEA(64, RDX, MIPSSTATE_VAR(sincostemp[0]));
#else
LEA(64, RSI, MIPSSTATE_VAR(sincostemp[0]));
LEA(64, RDI, MIPSSTATE_VAR(sincostemp[0]));
#endif
ABI_CallFunction(thunks.ProtectFunction((const void *)sinCosFunc, 0));
#else
@@ -3519,7 +3519,7 @@ void Jit::Comp_VRot(MIPSOpcode op) {
#ifdef _WIN32
LEA(64, RDX, MIPSSTATE_VAR(sincostemp));
#else
LEA(64, RSI, MIPSSTATE_VAR(sincostemp));
LEA(64, RDI, MIPSSTATE_VAR(sincostemp));
#endif
MOVSS(XMM0, fpr.V(sreg));
ABI_CallFunction(negSin1 ? (const void *)&SinCosNegSin : (const void *)&SinCos);

0 comments on commit 8872057

Please sign in to comment.