arch-power: Refactor compare instructions
authorSandipan Das <sandipan@linux.ibm.com>
Sat, 6 Feb 2021 11:49:36 +0000 (17:19 +0530)
committerSandipan Das <sandipan@linux.ibm.com>
Mon, 15 Feb 2021 08:32:38 +0000 (14:02 +0530)
commit4be397f2fe7740839f8e226c57888238d1e16d59
tree0327ba36ae0804dcea0e82f866d60690bef3864f
parent4c4acf1f0cc4a9001543210f78751513053296c9
arch-power: Refactor compare instructions

This changes the base class for integer compare instructions
and adds two new classes that are used to distinguish between
instructions using different operand types, i.e. register or
immediate, and comparison types, i.e. signed or unsigned. The
formats have also been updated to make use of the new base
classes.

Change-Id: Ic6feb803b3a22225d90b8712babd42889b67969d
Signed-off-by: Sandipan Das <sandipan@linux.ibm.com>
src/arch/power/insts/integer.hh
src/arch/power/isa/decoder.isa
src/arch/power/isa/formats/integer.isa