diff options
author | Colin Schmidt <colins@eecs.berkeley.edu> | 2016-02-29 10:00:15 -0800 |
---|---|---|
committer | Colin Schmidt <colins@eecs.berkeley.edu> | 2016-02-29 10:54:27 -0800 |
commit | af7bcec998b72b2b91180c83b45151201fa1c150 (patch) | |
tree | e632d433c598b38499df4e299b893800ad00e428 /isa/Makefile | |
parent | 9e63c8544ea2e0aea6778defb7b535dbb87b7205 (diff) | |
download | riscv-tests-af7bcec998b72b2b91180c83b45151201fa1c150.zip riscv-tests-af7bcec998b72b2b91180c83b45151201fa1c150.tar.gz riscv-tests-af7bcec998b72b2b91180c83b45151201fa1c150.tar.bz2 |
Separate M, and A from I. Allow disabling of M,A,Ftravis-dev
This allows riscv-tests to be built with a compiler
that supports not just RVG.
Diffstat (limited to 'isa/Makefile')
-rw-r--r-- | isa/Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/isa/Makefile b/isa/Makefile index 415778e..7ffe93e 100644 --- a/isa/Makefile +++ b/isa/Makefile @@ -5,10 +5,14 @@ isa_src_dir := . include $(isa_src_dir)/rv64ui/Makefrag +include $(isa_src_dir)/rv64um/Makefrag +include $(isa_src_dir)/rv64ua/Makefrag include $(isa_src_dir)/rv64uf/Makefrag include $(isa_src_dir)/rv64si/Makefrag include $(isa_src_dir)/rv64mi/Makefrag include $(isa_src_dir)/rv32ui/Makefrag +include $(isa_src_dir)/rv32um/Makefrag +include $(isa_src_dir)/rv32ua/Makefrag include $(isa_src_dir)/rv32si/Makefrag include $(isa_src_dir)/rv32mi/Makefrag @@ -73,11 +77,25 @@ tests += $$($(1)_tests) endef $(eval $(call compile_template,rv32ui,-m32)) +ifeq ($(TEST_ENABLE_M),yes) +$(eval $(call compile_template,rv32um,-m32)) +endif +ifeq ($(TEST_ENABLE_A),yes) +$(eval $(call compile_template,rv32ua,-m32)) +endif $(eval $(call compile_template,rv32si,-m32)) $(eval $(call compile_template,rv32mi,-m32)) ifeq ($(XLEN),64) $(eval $(call compile_template,rv64ui)) +ifeq ($(TEST_ENABLE_M),yes) +$(eval $(call compile_template,rv64um)) +endif +ifeq ($(TEST_ENABLE_A),yes) +$(eval $(call compile_template,rv64ua)) +endif +ifeq ($(TEST_ENABLE_F),yes) $(eval $(call compile_template,rv64uf)) +endif $(eval $(call compile_template,rv64si)) $(eval $(call compile_template,rv64mi)) endif |