Displaying 1 result from an estimated 1 matches for "riscv_objdump".
2020 Mar 27
3
llvm-objdump cannot recognize mul&mulh RISC-V M Instructions
...src/$(PROJ)
incs += -I$(WORK_DIR)/env -I$(WORK_DIR)/common -I$(src_dir) -I$(newlib_dir)
src := $(wildcard $(src_dir)/*.c) $(wildcard $(WORK_DIR)/common/*.c)
$(wildcard $(WORK_DIR)/common/*.S)
$(RISCV_clang) $(incs) $(RISCV_GCC_OPTS) -o $(WORK_DIR)/build/$@/$@ $(src)
$(RISCV_LINK_OPTS) --verbose
$(RISCV_OBJDUMP) -d $(WORK_DIR)/build/$@/$@ > $(WORK_DIR)/build/$@/$@.S
$(RISCV_LLVM_OBJDUMP) --arch=rv32imac -D $(WORK_DIR)/build/$@/$@ >
$(WORK_DIR)/build/$@/$@.ASM
```
gcc objdump result:
```
4001168: 00052383 lw t2,0(a0)
400116c: 979a add a5,a5,t1
400116e: 439c...