arch-power: Fix branch instructions
authorSandipan Das <sandipan@linux.vnet.ibm.com>
Thu, 7 Jun 2018 14:30:41 +0000 (20:00 +0530)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 24 Jan 2021 03:39:23 +0000 (03:39 +0000)
commitc9111802872744a62d99eb41b5ef181135b3b626
treeacea3d07a9b7cdd46c186820041ffe1241f1ea8a
parent6a9cb5cd521eedacfbc19480be64d8fc9ab43cea
arch-power: Fix branch instructions

This fixes the following branch instructions in order to
support 64-bit addressing:
  * Branch (b[l][a])
  * Branch Conditional (bc[l][a])
  * Branch Conditional to Link Register (bclr[l])
  * Branch Conditional to Count Register (bcctr[l])

This also fixes disassembly generation for all of the above.

Change-Id: I7cad4e1b3b2945ab06c4ffc8c79842f1453c85ec
Signed-off-by: Sandipan Das <sandipan@linux.vnet.ibm.com>
src/arch/power/insts/branch.cc
src/arch/power/insts/branch.hh
src/arch/power/isa/decoder.isa
src/arch/power/isa/formats/branch.isa
src/arch/power/isa/formats/util.isa
src/arch/power/types.hh