summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-01-24 19:57:36 -0500
committerGabe Black <gblack@eecs.umich.edu>2007-01-24 19:57:36 -0500
commit5f50dfa5d037e56e73c68f4c087491f57b52f677 (patch)
treecf70c6b765bafeb489a07bd688053e0b180c6cf0 /src/cpu
parentb8fc86e28f15b03ba82465b2a1dcf0725c769bad (diff)
parent4301e4cd08018eb56b4f196afcce9a8311f390b4 (diff)
downloadgem5-5f50dfa5d037e56e73c68f4c087491f57b52f677.tar.xz
Merge zizzer:/bk/newmem
into zower.eecs.umich.edu:/eecshome/m5/newmem --HG-- extra : convert_revision : 2d7ae62a59b91d735bbac093f8a4ab542ea75eee
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/exetrace.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cpu/exetrace.cc b/src/cpu/exetrace.cc
index 7ebbf455a..23291825d 100644
--- a/src/cpu/exetrace.cc
+++ b/src/cpu/exetrace.cc
@@ -342,6 +342,9 @@ Trace::InstRecord::dump(ostream &outs)
while (!compared) {
if (shared_data->flags == OWN_M5) {
m5Pc = PC & TheISA::PAddrImplMask;
+ if (bits(shared_data->pstate,3,3)) {
+ m5Pc &= mask(32);
+ }
lgnPc = shared_data->pc & TheISA::PAddrImplMask;
if (lgnPc != m5Pc)
diffPC = true;