aboutsummaryrefslogtreecommitdiff
path: root/target/riscv/Makefile.objs
diff options
context:
space:
mode:
authorBastian Koppelmann <kbastian@mail.uni-paderborn.de>2019-02-13 07:53:56 -0800
committerBastian Koppelmann <kbastian@mail.uni-paderborn.de>2019-03-13 10:34:06 +0100
commite98d9140f27890ebd27bb7e9e216a8ea0d53f2ce (patch)
tree7b63eceead49e3919d2912e336bb65f3d65b4501 /target/riscv/Makefile.objs
parent4ba79c47a205b3af4b62b9b1b6090dee678a1069 (diff)
downloadqemu-e98d9140f27890ebd27bb7e9e216a8ea0d53f2ce.zip
qemu-e98d9140f27890ebd27bb7e9e216a8ea0d53f2ce.tar.gz
qemu-e98d9140f27890ebd27bb7e9e216a8ea0d53f2ce.tar.bz2
target/riscv: Convert quadrant 0 of RVXC insns to decodetree
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de> Signed-off-by: Peer Adelt <peer.adelt@hni.uni-paderborn.de>
Diffstat (limited to 'target/riscv/Makefile.objs')
-rw-r--r--target/riscv/Makefile.objs9
1 files changed, 8 insertions, 1 deletions
diff --git a/target/riscv/Makefile.objs b/target/riscv/Makefile.objs
index 05087a9..9c6c109 100644
--- a/target/riscv/Makefile.objs
+++ b/target/riscv/Makefile.objs
@@ -10,4 +10,11 @@ target/riscv/decode_insn32.inc.c: $(decode32-y) $(DECODETREE)
$(PYTHON) $(DECODETREE) -o $@ --decode decode_insn32 $(decode32-y), \
"GEN", $(TARGET_DIR)$@)
-target/riscv/translate.o: target/riscv/decode_insn32.inc.c
+target/riscv/decode_insn16.inc.c: \
+ $(SRC_PATH)/target/riscv/insn16.decode $(DECODETREE)
+ $(call quiet-command, \
+ $(PYTHON) $(DECODETREE) -o $@ --decode decode_insn16 --insnwidth 16 $<, \
+ "GEN", $(TARGET_DIR)$@)
+
+target/riscv/translate.o: target/riscv/decode_insn32.inc.c \
+ target/riscv/decode_insn16.inc.c