- fix swapped operands in EmitSUBF_KR

This commit is contained in:
Magnus Norddahl 2018-08-30 18:47:25 +02:00
parent 4b22fa7bc8
commit c7e14e63bc

View file

@ -1681,9 +1681,9 @@ private:
void EmitSUBF_KR() void EmitSUBF_KR()
{ {
auto tmp = cc.newIntPtr(); 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.movsd(regF[a], asmjit::x86::qword_ptr(tmp));
cc.subsd(regF[a], regF[B]); cc.subsd(regF[a], regF[C]);
} }
void EmitMULF_RR() void EmitMULF_RR()