Implement neg using OP_ADD
authorPaul Mackerras <paulus@ozlabs.org>
Mon, 14 Oct 2019 05:02:45 +0000 (16:02 +1100)
committerPaul Mackerras <paulus@ozlabs.org>
Tue, 15 Oct 2019 04:06:50 +0000 (15:06 +1100)
commit86c53aa3f781a32e069c0d4bb94f92d89e5b7013
tree2f91d5b70e5be874771a1c26bbb4cb78f0cc0b86
parent6c4edf80ae2d7696fcafa0b1e07f15a613f4f59f
Implement neg using OP_ADD

We have all the machinery in place to implement the neg instruction
as OP_ADD.  Doing that means we can ditch OP_NEG, and saves about
66 slice LUTs on the A7-100.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
decode1.vhdl
decode_types.vhdl
execute1.vhdl