execute1: Use truth table embedded in instruction for CR logical ops
authorPaul Mackerras <paulus@ozlabs.org>
Thu, 16 Jan 2020 02:18:56 +0000 (13:18 +1100)
committerPaul Mackerras <paulus@ozlabs.org>
Wed, 5 Feb 2020 11:21:11 +0000 (22:21 +1100)
commit441160d8655762d115b2c6eab2c58bb146b96860
treeaa1accaff7311cc2717c8d69ccfa0335748f110d
parenta2bf039a70ac2cb4c05035b9a6a75bb7b8ccc7cc
execute1: Use truth table embedded in instruction for CR logical ops

It turns out that CR logical instructions have the truth table of
the operation embedded in the instruction word.  This means that we
can collect the two input operand bits into a 2-bit value and use
that as the index to select the appropriate bit from the instruction
word.

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