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.
This commit is contained in:
Gabe Black 2010-06-02 12:58:01 -05:00
parent fde3c8f41d
commit 3b0f3b1ee2

View file

@ -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 << " ";
}
}