Add a negation instruction
Necessary for floating-point negation, because `%result = sub 0, %operand` doesn't give the correct sign for 0/-0.
This commit is contained in:
parent
367c8215d9
commit
e91d121581
8 changed files with 28 additions and 13 deletions
|
@ -524,6 +524,7 @@ return type used is long, the argument must be of type double.
|
|||
~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
* `add`, `sub`, `div`, `mul` -- `T(T,T)`
|
||||
* `neg` -- `T(T)`
|
||||
* `udiv`, `rem`, `urem` -- `I(I,I)`
|
||||
* `or`, `xor`, `and` -- `I(I,I)`
|
||||
* `sar`, `shr`, `shl` -- `I(I,ww)`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue