summaryrefslogtreecommitdiff
path: root/src/cpu/static_inst.hh
diff options
context:
space:
mode:
authorAli Saidi <Ali.Saidi@ARM.com>2015-01-25 07:22:56 -0500
committerAli Saidi <Ali.Saidi@ARM.com>2015-01-25 07:22:56 -0500
commit89b3616d7e3318637c1550605703f140ecf7b65f (patch)
treed48100983efac8e18465c4dbf69670ce2ee42cb1 /src/cpu/static_inst.hh
parent9d8ddd92dc99671db0706413b4f7a7d391d5f58c (diff)
downloadgem5-89b3616d7e3318637c1550605703f140ecf7b65f.tar.xz
arm: always set the IsFirstMicroop flag
While the IsFirstMicroop flag exists it was only occasionally used in the ARM instructions that gem5 microOps and therefore couldn't be relied on to be correct.
Diffstat (limited to 'src/cpu/static_inst.hh')
-rw-r--r--src/cpu/static_inst.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cpu/static_inst.hh b/src/cpu/static_inst.hh
index 42e215388..7206a2616 100644
--- a/src/cpu/static_inst.hh
+++ b/src/cpu/static_inst.hh
@@ -171,6 +171,7 @@ class StaticInst : public RefCounted, public StaticInstFlags
bool isMicroBranch() const { return flags[IsMicroBranch]; }
//@}
+ void setFirstMicroop() { flags[IsFirstMicroop] = true; }
void setLastMicroop() { flags[IsLastMicroop] = true; }
void setDelayedCommit() { flags[IsDelayedCommit] = true; }
void setFlag(Flags f) { flags[f] = true; }