summaryrefslogtreecommitdiff
path: root/riscv
diff options
context:
space:
mode:
authorPrashanth Mundkur2018-07-10 10:53:35 -0700
committerPrashanth Mundkur2018-07-10 10:53:35 -0700
commit705ce9aa335f221267b6c8f005b2037b45a6dbe9 (patch)
treebfe03f13b5ce9d85f74b4bf473e332bff3c0bc46 /riscv
parent1b99f1bcb57b1ae1eae08129e579e3618253a321 (diff)
Start adding c-backend bits for riscv.
Diffstat (limited to 'riscv')
-rw-r--r--riscv/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/riscv/Makefile b/riscv/Makefile
index 9633f0d4..4a396048 100644
--- a/riscv/Makefile
+++ b/riscv/Makefile
@@ -32,6 +32,9 @@ coverage: _sbuild/coverage.native
mkdir bisect && mv bisect*.out bisect/
mkdir coverage && bisect-ppx-report -html coverage/ -I _sbuild/ bisect/bisect*.out
+riscv.c: $(SAIL_SRCS) Makefile
+ $(SAIL) -O -memo_z3 -c $(SAIL_SRCS) 1> $@
+
tracecmp: tracecmp.ml
ocamlfind ocamlopt -annot -linkpkg -package unix $^ -o $@