decode: Remove const fields from decode_rom_t
authorPaul Mackerras <paulus@ozlabs.org>
Wed, 2 Oct 2019 12:21:09 +0000 (22:21 +1000)
committerPaul Mackerras <paulus@ozlabs.org>
Wed, 2 Oct 2019 12:22:24 +0000 (22:22 +1000)
commit58b06eb5f35dbb274510e93874110361dbd74715
tree0fe2ea010302d85cacc48b198fef229467d73d7d
parent143d0ae9e402f209e1f1a5dc345cfa7e93137bba
decode: Remove const fields from decode_rom_t

The const* fields of decode_rom_t drove multiplexers in decode2 that
picked out various instruction fields and put them into the const*
fields of the Decode2ToExecute1Type record, from where they were
used in execute1.  However, the code in execute1 can just as easily
use the appropriate fields of the original instruction word, since
that is now available in execute1.  This therefore changes the
code to do that, resulting in smaller decode tables.

Suggested-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
common.vhdl
decode1.vhdl
decode2.vhdl
decode_types.vhdl
execute1.vhdl