From: Gabe Black Date: Wed, 2 Jun 2010 17:58:01 +0000 (-0500) Subject: ARM: Add a .w to the disassembly of 32 bit thumb instructions. X-Git-Tag: stable_2012_02_02~1371 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3b0f3b1ee207176bf2c8a66ef6ed2945f95e28c7;p=gem5.git ARM: Add a .w to the disassembly of 32 bit thumb instructions. 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. --- diff --git a/src/arch/arm/insts/static_inst.cc b/src/arch/arm/insts/static_inst.cc index d62c671fc..027980b3c 100644 --- 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 << " "; } }