diff options
author | Ali Saidi <Ali.Saidi@ARM.com> | 2015-01-25 07:22:56 -0500 |
---|---|---|
committer | Ali Saidi <Ali.Saidi@ARM.com> | 2015-01-25 07:22:56 -0500 |
commit | 89b3616d7e3318637c1550605703f140ecf7b65f (patch) | |
tree | d48100983efac8e18465c4dbf69670ce2ee42cb1 /src/cpu | |
parent | 9d8ddd92dc99671db0706413b4f7a7d391d5f58c (diff) | |
download | gem5-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')
-rw-r--r-- | src/cpu/static_inst.hh | 1 |
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; } |