From 1d4f338b391ffea73d05758ecca771bd16625031 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Wed, 8 Jul 2009 23:02:19 -0700 Subject: ARM: Move the memory microops out of the decoder and into the ISA desc. --- src/arch/arm/insts/macromem.hh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/arch/arm/insts') diff --git a/src/arch/arm/insts/macromem.hh b/src/arch/arm/insts/macromem.hh index c215cdeab..541c9e3f5 100644 --- a/src/arch/arm/insts/macromem.hh +++ b/src/arch/arm/insts/macromem.hh @@ -63,6 +63,22 @@ class MicroIntOp : public PredOp } }; +/** + * Memory microops which use IntReg + Imm addressing + */ +class MicroMemOp : public MicroIntOp +{ + protected: + unsigned memAccessFlags; + + MicroMemOp(const char *mnem, ExtMachInst machInst, OpClass __opClass, + RegIndex _ura, RegIndex _urb, uint8_t _imm) + : MicroIntOp(mnem, machInst, __opClass, _ura, _urb, _imm), + memAccessFlags(0) + { + } +}; + /** * Arm Macro Memory operations like LDM/STM */ -- cgit v1.2.3