1
0

Use spike disassembler riscv-dis if it exists

This commit is contained in:
Andrew Waterman
2013-09-15 04:25:53 -07:00
parent 80003b3019
commit 628745226c
2 changed files with 8 additions and 2 deletions

View File

@ -585,3 +585,9 @@ bs_matmul.riscv\
bs_vvadd.riscv\
bt_matmul.riscv\
bt_vvadd.riscv\
disasm := 2>
which_disasm := $(shell which riscv-dis)
ifneq ($(which_disasm),)
disasm := 3>&1 1>&2 2>&3 | $(which_disasm) >
endif