summaryrefslogtreecommitdiff
path: root/src/sim/id.cc
diff options
context:
space:
mode:
authorSiddarth-Suresh <65844402+Siddarth-Suresh@users.noreply.github.com>2025-03-31 20:51:20 -0400
committerSiddarth-Suresh <65844402+Siddarth-Suresh@users.noreply.github.com>2025-03-31 20:51:20 -0400
commit574212dafcf1c4bdb7d5e6aaa577b74345988d67 (patch)
tree6132673f5aa85f2488d6f7de77fb33538b7320d3 /src/sim/id.cc
parent598da346f59503442ba0b4badfd9ac8b58af4a89 (diff)
CR Comments
Diffstat (limited to 'src/sim/id.cc')
-rw-r--r--src/sim/id.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/id.cc b/src/sim/id.cc
index deb69fb..0b75b64 100644
--- a/src/sim/id.cc
+++ b/src/sim/id.cc
@@ -50,7 +50,7 @@ void ID::advance_helper()
// it may be good to ensure we are not doing
// work that has already been done
- if (this->curr_instr) {
+ if (this->curr_instr && this->curr_instr->get_mnemonic() == NONE) {
s1 = curr_instr->get_instr_bits();
get_instr_fields(s1, s2, s3, m ,t);
if (this->status == OK) {