From: Gabe Black Date: Sun, 29 Oct 2006 08:26:41 +0000 (-0500) Subject: Fix when the IsDelayedCommit flag is set. X-Git-Tag: m5_2.0_beta2~70^2~10 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6e66de7c7563ef7e969a0df4a9a09d026231baa5;p=gem5.git Fix when the IsDelayedCommit flag is set. --HG-- extra : convert_revision : ab6cd69f82b2013d66a91beaa3e39d8f417a9251 --- diff --git a/src/arch/sparc/isa/formats/mem/blockmem.isa b/src/arch/sparc/isa/formats/mem/blockmem.isa index 4f2f30236..8b4aca473 100644 --- a/src/arch/sparc/isa/formats/mem/blockmem.isa +++ b/src/arch/sparc/isa/formats/mem/blockmem.isa @@ -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,