Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/coredistools/coredistools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -523,8 +523,9 @@ void CorDisasm::dumpInstruction(const BlockIterator &BIter) const {
" "};
OS << (Padding[(InstSize < 7) ? (7 - InstSize) : 0]);
}
else if (TheTargetArch == Target_Thumb) {
else if ((TheTargetArch == Target_Thumb) || (TheTargetArch == Target_RiscV64)) {
// Thumb-2 encoding has 32-bit instructions and 16-bit instructions.
// RISC-V RVC has 32-bit instructions and 16-bit instructions.
if (InstSize == 2) {
OS << " ";
}
Expand Down