core: Fix mcrxrx, addpcis and bpermd
authorPaul Mackerras <paulus@ozlabs.org>
Sat, 4 Sep 2021 08:20:54 +0000 (18:20 +1000)
committerPaul Mackerras <paulus@ozlabs.org>
Sun, 5 Sep 2021 23:16:13 +0000 (09:16 +1000)
commita68921edcad6632ee8feb75baafaee309885e5a0
tree5c84d08f89133010c0800b022b48883306fe6bfc
parent18eb029f0a6f4df27d9c83de53014514b51dd4d2
core: Fix mcrxrx, addpcis and bpermd

- mcrxrx put the bits in the wrong order

- addpcis was setting CR0 if the instruction bit 0 = 1, which it
  shouldn't

- bpermd was producing 0 always and additionally had the wrong bit
  numbering

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