arch-power: Add byte order attribute for PC state
authorSandipan Das <sandipan@linux.ibm.com>
Sat, 6 Feb 2021 11:57:36 +0000 (17:27 +0530)
committerSandipan Das <sandipan@linux.ibm.com>
Mon, 15 Feb 2021 08:32:38 +0000 (14:02 +0530)
commit6617a38776393705ca2b56ac06a71271ea971226
tree02b23f2a16aaf6cb34ab84f661b7947abb1843f7
parent3064018c763df7a58eba9cf4c2459083d21cc7a4
arch-power: Add byte order attribute for PC state

This adds byte order as an attribute for PC state by
introducing a new PCState class. The decoder can now
fetch instructions bytes in the specified byte order
in preparation for multi-mode support.

Change-Id: I917333df88114a733cc5a8077cc420d5328f608b
Signed-off-by: Sandipan Das <sandipan@linux.ibm.com>
src/arch/power/decoder.hh
src/arch/power/types.hh