arch-power: Fix disassembly for branch instructions
authorSandipan Das <sandipan@linux.ibm.com>
Sat, 6 Feb 2021 11:46:46 +0000 (17:16 +0530)
committerSandipan Das <sandipan@linux.ibm.com>
Mon, 15 Feb 2021 08:32:38 +0000 (14:02 +0530)
commit53226872e2a192c27712761bb4b089177c78308b
treeca1d5f91335c7ef12c6a9a69d57ee53f34f10def
parent902009db2b93ac74be8954cfbfd5fb15dc472d0c
arch-power: Fix disassembly for branch instructions

This fixes disassembly generated for branch instructions
based on the AA and LK bits which determine how the target
address is calculated and whether a return address needs
to be set implicitly or not.

Change-Id: I1acba72c360a1fcb4691de17fbae1a012a752dbe
Signed-off-by: Sandipan Das <sandipan@linux.ibm.com>
src/arch/power/insts/branch.cc