diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2006-10-29 03:26:41 -0500 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2006-10-29 03:26:41 -0500 |
commit | 6e66de7c7563ef7e969a0df4a9a09d026231baa5 (patch) | |
tree | d4f7e002578cfe970d0e5913f8258d7b07d94e43 /src/arch | |
parent | 9adba8d98e0d73a6dcf745258da3ac2272e93a6a (diff) | |
download | gem5-6e66de7c7563ef7e969a0df4a9a09d026231baa5.tar.xz |
Fix when the IsDelayedCommit flag is set.
--HG--
extra : convert_revision : ab6cd69f82b2013d66a91beaa3e39d8f417a9251
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/sparc/isa/formats/mem/blockmem.isa | 6 |
1 files changed, 4 insertions, 2 deletions
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, |