- fix swapped operands in EmitSUBF_KR

This commit is contained in:
Magnus Norddahl 2018-08-30 18:47:25 +02:00 committed by drfrag
parent ede8c6d86b
commit db78d02d79

View file

@ -1681,9 +1681,9 @@ private:
void EmitSUBF_KR()
{
auto tmp = cc.newIntPtr();
cc.mov(tmp, ToMemAddress(&konstf[C]));
cc.mov(tmp, ToMemAddress(&konstf[B]));
cc.movsd(regF[a], asmjit::x86::qword_ptr(tmp));
cc.subsd(regF[a], regF[B]);
cc.subsd(regF[a], regF[C]);
}
void EmitMULF_RR()