- fixed: code generation for floating point negation was wrong.

This commit is contained in:
Christoph Oelckers 2016-02-10 20:08:19 +01:00
parent 91f0a8791c
commit 4428d073d5

View file

@ -623,7 +623,7 @@ ExpEmit FxMinusSign::Emit(VMFunctionBuilder *build)
else else
{ {
assert(ValueType == VAL_Float); assert(ValueType == VAL_Float);
build->Emit(OP_NEG, from.RegNum, from.RegNum, 0); build->Emit(OP_FLOP, from.RegNum, from.RegNum, FLOP_NEG);
} }
return from; return from;
} }