1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

Add comment about Thumb2 fixup comments being completely bogus.

llvm-svn: 123411
This commit is contained in:
Evan Cheng 2011-01-13 23:27:39 +00:00
parent 189efecfed
commit 579f2b17bf

View File

@ -805,6 +805,8 @@ void MCAsmStreamer::AddEncodingComment(const MCInst &Inst) {
}
}
// FIXME: Node the fixup comments for Thumb2 are completely bogus since the
// high order halfword of a 32-bit Thumb2 instruction is emitted first.
OS << "encoding: [";
for (unsigned i = 0, e = Code.size(); i != e; ++i) {
if (i)
@ -825,7 +827,7 @@ void MCAsmStreamer::AddEncodingComment(const MCInst &Inst) {
OS << format("0x%02x", uint8_t(Code[i]));
} else {
if (Code[i]) {
// some of the 8 bits require fix up.
// FIXME: Some of the 8 bits require fix up.
OS << format("0x%02x", uint8_t(Code[i])) << '\''
<< char('A' + MapEntry - 1) << '\'';
} else