mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 15:22:16 +00:00
- fixed: code generation for floating point negation was wrong.
This commit is contained in:
parent
91f0a8791c
commit
4428d073d5
1 changed files with 1 additions and 1 deletions
|
@ -623,7 +623,7 @@ ExpEmit FxMinusSign::Emit(VMFunctionBuilder *build)
|
|||
else
|
||||
{
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue