execute1: Fix writing LR for bdnzl/bdzl instructions
authorPaul Mackerras <paulus@ozlabs.org>
Sat, 21 Nov 2020 02:54:14 +0000 (13:54 +1100)
committerPaul Mackerras <paulus@ozlabs.org>
Sat, 21 Nov 2020 02:54:14 +0000 (13:54 +1100)
commit27ac74a3415d894437d5a3b146d270615c637f6f
tree80dea10bc69bd7a57114ac841a07b4c5395c5171
parent1037c6aa2e8997f47942dde1189459f910bcbd9e
execute1: Fix writing LR for bdnzl/bdzl instructions

Branch instructions which do a redirect and write both CTR and LR were
not doing the write to LR due to a logic error.  This fixes it.

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