arch-power: Refactor load-store instructions
authorSandipan Das <sandipan@linux.ibm.com>
Sat, 6 Feb 2021 11:47:00 +0000 (17:17 +0530)
committerSandipan Das <sandipan@linux.ibm.com>
Mon, 15 Feb 2021 08:32:38 +0000 (14:02 +0530)
commit38847a55cae765e5481cec8dd6d435486fa389a2
tree599d4b80efb58874042c337b93464c332c2bfd0e
parent24e770226ed26420dda8d7c993534889d6735747
arch-power: Refactor load-store instructions

This changes the base classes for load-store instructions
and introduces two new classes for DS form instructions
which use a shifted signed immediate field as the offset
from the base address and for X form instructions which
use registers for both the offset and the base address.
The formats have also been updated to make use of the new
base classes.

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