Fix when the IsDelayedCommit flag is set.
authorGabe Black <gblack@eecs.umich.edu>
Sun, 29 Oct 2006 08:26:41 +0000 (03:26 -0500)
committerGabe Black <gblack@eecs.umich.edu>
Sun, 29 Oct 2006 08:26:41 +0000 (03:26 -0500)
--HG--
extra : convert_revision : ab6cd69f82b2013d66a91beaa3e39d8f417a9251

src/arch/sparc/isa/formats/mem/blockmem.isa

index 4f2f30236f5ed7f281383fdfa9b6af91bb9676ee..8b4aca473c2f97f86dfd52fcfefa793b576559cb 100644 (file)
@@ -56,14 +56,14 @@ output header {{
             {}
         };
 
-        class BlockMemMicro : public SparcDelayedMicroInst
+        class BlockMemMicro : public SparcMicroInst
         {
           protected:
 
             // Constructor
             BlockMemMicro(const char *mnem, ExtMachInst _machInst,
                     OpClass __opClass, int8_t _offset) :
-                SparcDelayedMicroInst(mnem, _machInst, __opClass),
+                SparcMicroInst(mnem, _machInst, __opClass),
                 offset(_offset)
             {}
 
@@ -290,6 +290,8 @@ let {{
             flag_code = ''
             if (microPc == 7):
                 flag_code = "flags[IsLastMicroOp] = true;"
+            else:
+                flag_code = "flags[IsDelayedCommit] = true;"
             pcedCode = matcher.sub("Frd_%d" % microPc, code)
             iop = InstObjParams(name, Name, 'BlockMem', pcedCode,
                     opt_flags, {"ea_code": addrCalcReg,