arch-power: Fix branch instructions
authorSandipan Das <sandipan@linux.vnet.ibm.com>
Thu, 7 Jun 2018 14:30:41 +0000 (20:00 +0530)
committerSandipan Das <sandipan@linux.vnet.ibm.com>
Thu, 7 Jun 2018 14:30:41 +0000 (20:00 +0530)
commitbb9af3b352c77dfa55d7ae90bc6e24a1c044836a
tree535101dd83b3fcfc250da09952d421165ad78fc5
parent99b304bc4048a4d32d80de9134330c670cf4d0f7
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