projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9195f1f
)
cpu: Removing an unused variable in rename
author
Faissal Sleiman
<Faissal.Sleiman@arm.com>
Thu, 17 Oct 2013 15:20:45 +0000
(10:20 -0500)
committer
Faissal Sleiman
<Faissal.Sleiman@arm.com>
Thu, 17 Oct 2013 15:20:45 +0000
(10:20 -0500)
src/cpu/o3/rename_impl.hh
patch
|
blob
|
history
diff --git
a/src/cpu/o3/rename_impl.hh
b/src/cpu/o3/rename_impl.hh
index 38191ce36aab8b31ed498f1821067390aa5d1d11..db71893715ff4dbdfb99c38b8394b7a4d72ba751 100644
(file)
--- a/
src/cpu/o3/rename_impl.hh
+++ b/
src/cpu/o3/rename_impl.hh
@@
-338,14
+338,11
@@
DefaultRename<Impl>::squash(const InstSeqNum &squash_seq_num, ThreadID tid)
renameStatus[tid] = Squashing;
// Squash any instructions from decode.
- unsigned squashCount = 0;
-
for (int i=0; i<fromDecode->size; i++) {
if (fromDecode->insts[i]->threadNumber == tid &&
fromDecode->insts[i]->seqNum > squash_seq_num) {
fromDecode->insts[i]->setSquashed();
wroteToTimeBuffer = true;
- squashCount++;
}
}