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.

llvm-svn: 95441
This commit is contained in:
Chris Lattner 2010-02-05 22:20:08 +00:00
parent 58827ff98e
commit 175629608e
1 changed files with 1 additions and 1 deletions

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