From 1c8a71494fe8770a6597ec3b34dbda79d32bbc53 Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Wed, 17 Apr 2013 05:41:54 -0700 Subject: add auipc, lr, sc --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 < $< > $@ -- cgit v1.1