Displaying 1 result from an estimated 1 matches for "riscv_gcc_opt".
Did you mean:
riscv_gcc_opts
2020 Mar 27
3
llvm-objdump cannot recognize mul&mulh RISC-V M Instructions
...nknown-elf"
-DGCC_INSTALL_PREFIX="/home/llvm/workspace/riscv/riscv-tc-20200220"
-DLLVM_DEFAULT_TARGET_TRIPLE="riscv32-unknown-elf"
-DLLVM_ENABLE_PROJECTS="clang;lld;libc" -DLLVM_TARGETS_TO_BUILD="RISCV"
../llvm
```
Instructions to compile and dump:
```
RISCV_GCC_OPTS ?= -mcmodel=medany -static -O3 -std=gnu99 -fno-common
-fno-builtin -march=rv32im -mabi=ilp32 -DMB_ADDR=0x80FFFFC
--target=riscv64-unknown-elf
--sysroot=/home/llvm/workspace/riscv/riscv-tc-20200220/bin/riscv64-unknown-elf
--gcc-toolchain=/home/llvm/workspace/riscv/riscv-tc-20200220
RISCV_LINK_OPTS...