projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65a5177
)
ARM: Add a traceflag to print cpsr
author
Ali Saidi
<Ali.Saidi@ARM.com>
Wed, 2 Jun 2010 17:58:13 +0000
(12:58 -0500)
committer
Ali Saidi
<Ali.Saidi@ARM.com>
Wed, 2 Jun 2010 17:58:13 +0000
(12:58 -0500)
src/arch/arm/isa.hh
patch
|
blob
|
history
diff --git
a/src/arch/arm/isa.hh
b/src/arch/arm/isa.hh
index 8d547f9c67f6c4e0ea83dba730320f752cc31eac..ded463267b49b750819165ec4eeb9059fd515dcd 100644
(file)
--- a/
src/arch/arm/isa.hh
+++ b/
src/arch/arm/isa.hh
@@
-238,6
+238,8
@@
namespace ArmISA
if (misc_reg == MISCREG_CPSR) {
updateRegMap(val);
CPSR cpsr = val;
+ DPRINTF(Arm, "Updating CPSR to %#x f:%d i:%d a:%d mode:%#x\n",
+ cpsr, cpsr.f, cpsr.i, cpsr.a, cpsr.mode);
Addr npc = tc->readNextPC() & ~PcModeMask;
if (cpsr.j)
npc = npc | (ULL(1) << PcJBitShift);