diff options
author | Andrew Waterman <andrew@sifive.com> | 2016-12-12 22:51:27 -0800 |
---|---|---|
committer | Andrew Waterman <andrew@sifive.com> | 2016-12-12 23:18:06 -0800 |
commit | 6855cddc0ff7bcc06e71aa24a0417fc0656e75fb (patch) | |
tree | c300ead4374218dd4ae9f7bdcd111140551ef640 /isa/Makefile | |
parent | f8910f9e782dbc1752a7d1b94c7b18bbc04178d3 (diff) | |
download | riscv-tests-6855cddc0ff7bcc06e71aa24a0417fc0656e75fb.zip riscv-tests-6855cddc0ff7bcc06e71aa24a0417fc0656e75fb.tar.gz riscv-tests-6855cddc0ff7bcc06e71aa24a0417fc0656e75fb.tar.bz2 |
Pass newly updated -march, -mabi options to gcc
Diffstat (limited to 'isa/Makefile')
-rw-r--r-- | isa/Makefile | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/isa/Makefile b/isa/Makefile index b8de54d..1afa4d6 100644 --- a/isa/Makefile +++ b/isa/Makefile @@ -68,22 +68,22 @@ tests += $$($(1)_tests) endef -$(eval $(call compile_template,rv32ui,-m32)) -$(eval $(call compile_template,rv32uc,-m32)) -$(eval $(call compile_template,rv32um,-m32)) -$(eval $(call compile_template,rv32ua,-m32)) -$(eval $(call compile_template,rv32uf,-m32)) -$(eval $(call compile_template,rv32si,-m32)) -$(eval $(call compile_template,rv32mi,-m32)) +$(eval $(call compile_template,rv32ui,-march=rv32g -mabi=ilp32)) +$(eval $(call compile_template,rv32uc,-march=rv32g -mabi=ilp32)) +$(eval $(call compile_template,rv32um,-march=rv32g -mabi=ilp32)) +$(eval $(call compile_template,rv32ua,-march=rv32g -mabi=ilp32)) +$(eval $(call compile_template,rv32uf,-march=rv32g -mabi=ilp32)) +$(eval $(call compile_template,rv32si,-march=rv32g -mabi=ilp32)) +$(eval $(call compile_template,rv32mi,-march=rv32g -mabi=ilp32)) ifeq ($(XLEN),64) -$(eval $(call compile_template,rv64ui)) -$(eval $(call compile_template,rv64uc)) -$(eval $(call compile_template,rv64um)) -$(eval $(call compile_template,rv64ua)) -$(eval $(call compile_template,rv64uf)) -$(eval $(call compile_template,rv64ud)) -$(eval $(call compile_template,rv64si)) -$(eval $(call compile_template,rv64mi)) +$(eval $(call compile_template,rv64ui,-march=rv64g -mabi=lp64)) +$(eval $(call compile_template,rv64uc,-march=rv64g -mabi=lp64)) +$(eval $(call compile_template,rv64um,-march=rv64g -mabi=lp64)) +$(eval $(call compile_template,rv64ua,-march=rv64g -mabi=lp64)) +$(eval $(call compile_template,rv64uf,-march=rv64g -mabi=lp64)) +$(eval $(call compile_template,rv64ud,-march=rv64g -mabi=lp64)) +$(eval $(call compile_template,rv64si,-march=rv64g -mabi=lp64)) +$(eval $(call compile_template,rv64mi,-march=rv64g -mabi=lp64)) endif tests_dump = $(addsuffix .dump, $(tests)) |