projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fde3c8f
)
ARM: Add a .w to the disassembly of 32 bit thumb instructions.
author
Gabe Black
<gblack@eecs.umich.edu>
Wed, 2 Jun 2010 17:58:01 +0000
(12:58 -0500)
committer
Gabe Black
<gblack@eecs.umich.edu>
Wed, 2 Jun 2010 17:58:01 +0000
(12:58 -0500)
This isn't technically correct since the .w should only be added if there are
32 and 16 bit encodings, but always having it always is better than never
having it.
src/arch/arm/insts/static_inst.cc
patch
|
blob
|
history
diff --git
a/src/arch/arm/insts/static_inst.cc
b/src/arch/arm/insts/static_inst.cc
index d62c671fcedf80f619bab5706486a1adc48803ed..027980b3c790f5f78b2e990848875afcdeaf110c 100644
(file)
--- a/
src/arch/arm/insts/static_inst.cc
+++ b/
src/arch/arm/insts/static_inst.cc
@@
-344,7
+344,10
@@
ArmStaticInstBase::printMnemonic(std::ostream &os,
default:
panic("Unrecognized condition code %d.\n", condCode);
}
- os << suffix << " ";
+ os << suffix;
+ if (machInst.bigThumb)
+ os << ".w";
+ os << " ";
}
}