diff options
author | Geoffrey Blake <geoffrey.blake@arm.com> | 2013-02-15 17:40:10 -0500 |
---|---|---|
committer | Geoffrey Blake <geoffrey.blake@arm.com> | 2013-02-15 17:40:10 -0500 |
commit | ca96e7bff1dfaa8e0a6d900feb88c711198b4b2b (patch) | |
tree | dde572f60eb0c63c1ff9c78db8efd3fd236fc594 /src/cpu/IntelTrace.py | |
parent | 8e79c68936f819e9efa05e5085232bd501af2bc7 (diff) | |
download | gem5-ca96e7bff1dfaa8e0a6d900feb88c711198b4b2b.tar.xz |
cpu: Avoid duplicate entries in tracking structures for writes to misc regs
setMiscReg currently makes a new entry for each write to a misc reg without
checking for duplicates, this can cause a triggering of the assert if an
instruction get replayed and writes to the same misc regs multiple times.
This fix prevents duplicate entries and instead updates the value.
Diffstat (limited to 'src/cpu/IntelTrace.py')
0 files changed, 0 insertions, 0 deletions