print encodings like this:

pslld	69, %mm3                ## encoding: [0x0f,0xf2,0x1c,0x25,0x45,0x00,0x00,0x00]

instead of like this:
	pslld	69, %mm3                ## encoding: [0x0f,0xf2,0x1c,0x25,0x45,0000,0000,0000]

this only affects 0.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95441 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2010-02-05 22:20:08 +00:00
parent 39a612e6f9
commit 342cbdcc5e

View File

@ -552,7 +552,7 @@ void MCAsmStreamer::EmitInstruction(const MCInst &Inst) {
for (unsigned i = 0, e = Code.size(); i != e; ++i) {
if (i)
OS << ',';
OS << format("%#04x", uint8_t(Code[i]));
OS << format("0x%02x", uint8_t(Code[i]));
}
OS << "]\n";
}