arch-arm: SySDC64 Instructions (CMO) using MiscRegIndex
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Fri, 30 Aug 2019 13:31:57 +0000 (14:31 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Fri, 6 Sep 2019 19:59:58 +0000 (19:59 +0000)
Change-Id: Ia66d6abf965b1d33579e8fa048608d99c93ff2ce
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/20621
Tested-by: kokoro <noreply+kokoro@google.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>

src/arch/arm/insts/mem64.hh

index 4fbbe779114a30720d8681513a88c5c4da0748bc..886c54f35b809773c7afc2bb78397367601e7bc4 100644 (file)
@@ -49,13 +49,13 @@ class SysDC64 : public MiscRegOp64
 {
   protected:
     IntRegIndex base;
-    IntRegIndex dest;
+    MiscRegIndex dest;
     uint64_t imm;
 
     SysDC64(const char *mnem, ExtMachInst _machInst, OpClass __opClass,
-            IntRegIndex _base, MiscRegIndex miscReg, uint64_t _imm)
+            IntRegIndex _base, MiscRegIndex _dest, uint64_t _imm)
         : MiscRegOp64(mnem, _machInst, __opClass, false),
-          base(_base), dest((IntRegIndex)miscReg), imm(_imm)
+          base(_base), dest(_dest), imm(_imm)
     {}
 
     std::string generateDisassembly(