We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7223347 commit 0ed8759Copy full SHA for 0ed8759
src/coredistools/coredistools.cpp
@@ -523,8 +523,9 @@ void CorDisasm::dumpInstruction(const BlockIterator &BIter) const {
523
" "};
524
OS << (Padding[(InstSize < 7) ? (7 - InstSize) : 0]);
525
}
526
- else if (TheTargetArch == Target_Thumb) {
+ else if ((TheTargetArch == Target_Thumb) || (TheTargetArch == Target_RiscV64)) {
527
// Thumb-2 encoding has 32-bit instructions and 16-bit instructions.
528
+ // RISC-V RVC has 32-bit instructions and 16-bit instructions.
529
if (InstSize == 2) {
530
OS << " ";
531
0 commit comments