From 3b0f3b1ee207176bf2c8a66ef6ed2945f95e28c7 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Wed, 2 Jun 2010 12:58:01 -0500 Subject: 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. --- src/arch/arm/insts/static_inst.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/arch/arm/insts/static_inst.cc') 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 << " "; } } -- cgit v1.2.3