-get_insn_list = $(shell cat $(1) | sed 's/DECLARE_INSN(\(.*\),.*,.*)/\1/')
-get_opcode = $(shell grep \\\<$(2)\\\> $(1) | sed 's/DECLARE_INSN(.*,\(.*\),.*)/\1/')
-
hwacha_subproject_deps = \
+ spike \
riscv \
softfloat \
decode_hwacha_ut.h \
opcodes_hwacha.h \
opcodes_hwacha_ut.h \
+ insn_template_hwacha.h \
+ insn_template_hwacha_ut.h \
+
+hwacha_precompiled_hdrs = \
+ insn_template_hwacha.h \
+ insn_template_hwacha_ut.h \
hwacha_srcs = \
hwacha.cc \
hwacha_disasm.cc \
+ cvt16.cc \
$(hwacha_gen_srcs) \
$(hwacha_ut_gen_srcs) \