summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Andrew Waterman <waterman@cs.berkeley.edu>2013-04-17 05:41:54 -0700
committerGravatar Andrew Waterman <waterman@cs.berkeley.edu>2013-04-17 05:41:54 -0700
commit1c8a71494fe8770a6597ec3b34dbda79d32bbc53 (patch)
tree4dc1410a01f076a2b0fe3ee4bd2ac507357367e3 /Makefile
parent59f027735429993530181993c7e8fd1af2e13a79 (diff)
add auipc, lr, sc
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 529cf38..65f5cf6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,9 @@
ISASIM_H := ../riscv-isa-sim/riscv/opcodes.h
PK_H := ../riscv-pk/pk/riscv-opc.h
-XCC_H := ../riscv-gcc/binutils-2.21.1/include/opcode/riscv-opc.h
+GAS_H := ../riscv-gcc/binutils-2.21.1/include/opcode/riscv-opc.h
+XCC_H := ../riscv-gcc/gcc-4.6.1/gcc/config/riscv/riscv-opc.h
-install: $(ISASIM_H) $(PK_H) $(XCC_H) inst.v instr-table.tex
+install: $(ISASIM_H) $(PK_H) $(GAS_H) $(XCC_H) inst.v instr-table.tex
$(ISASIM_H): opcodes parse-opcodes
./parse-opcodes -isasim < $< > $@
@@ -10,6 +11,9 @@ $(ISASIM_H): opcodes parse-opcodes
$(PK_H): opcodes parse-opcodes
./parse-opcodes -disasm < $< > $@
+$(GAS_H): opcodes parse-opcodes
+ ./parse-opcodes -disasm < $< > $@
+
$(XCC_H): opcodes parse-opcodes
./parse-opcodes -disasm < $< > $@