forked from OSchip/llvm-project
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:
parent
58827ff98e
commit
175629608e
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue