<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 27, 2020 at 7:07 AM Simon Cook via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
Unlike GNU objdump, llvm-objdump doesn't assume that for RISC-V all<br>
standard extensions are available by default, and so need to be<br>
provided on the command line. I'm not aware of a flag that you can<br>
pass a RISC-V ISA string to (from your command it seems --arch doesn't<br>
do this for you), but you can enable the disassembly of instructions<br>
using the underlying attributes and the --mattr flag, so in your case<br>
adding `--mattr=+m` to your llvm-objdump command (I think `--mattr=m`<br>
should work as well).<br></blockquote><div><br></div><div dir="ltr">Seems like it'd make sense to change this? Is there any benefit to not disassemble the standard extensions unless requested?</div></div></div>