Add a negation instruction
commite91d12158122b23271ff49de8977c92fef7f3908
authorEyal Sawady <ecs@d2evs.net>
Mon, 17 Jan 2022 22:00:48 +0000 (17 22:00 +0000)
committerQuentin Carbonneaux <quentin@c9x.me>
Sun, 23 Jan 2022 10:43:59 +0000 (23 11:43 +0100)
treeea5051ef69ae917f23249fe7a6adc8569deb3718
parent367c8215d99054892740ad74c690b106c45ebf60
Add a negation instruction

Necessary for floating-point negation, because
`%result = sub 0, %operand` doesn't give the correct sign for 0/-0.
amd64/emit.c
amd64/isel.c
arm64/emit.c
doc/il.txt
fold.c
ops.h
parse.c
tools/lexh.c