- fix bug in LKF_R

This commit is contained in:
Magnus Norddahl 2018-09-15 01:06:48 +02:00
parent 7e7bce4965
commit ce9925d257

View file

@ -42,7 +42,7 @@ void JitCompiler::EmitLK_R()
void JitCompiler::EmitLKF_R() void JitCompiler::EmitLKF_R()
{ {
auto tmp = cc.newIntPtr(); auto tmp = cc.newIntPtr();
cc.mov(tmp, ToMemAddress(konstf + BC)); cc.mov(tmp, ToMemAddress(konstf));
cc.movsd(regF[A], asmjit::x86::qword_ptr(tmp, regD[B], 3, C * sizeof(double))); cc.movsd(regF[A], asmjit::x86::qword_ptr(tmp, regD[B], 3, C * sizeof(double)));
} }