- fix mul using wrong instruction

This commit is contained in:
Magnus Norddahl 2018-08-29 01:07:36 +02:00
parent 25e7042bc5
commit a5719e73eb

View file

@ -1214,12 +1214,12 @@ private:
void EmitMUL_RR() void EmitMUL_RR()
{ {
BINARY_OP_INT(mul, regD[a], regD[B], regD[C]); BINARY_OP_INT(imul, regD[a], regD[B], regD[C]);
} }
void EmitMUL_RK() void EmitMUL_RK()
{ {
BINARY_OP_INT(mul, regD[a], regD[B], konstd[C]); BINARY_OP_INT(imul, regD[a], regD[B], konstd[C]);
} }
void EmitDIV_RR() void EmitDIV_RR()