summaryrefslogtreecommitdiff
path: root/mips/Makefile
diff options
context:
space:
mode:
authorThomas Bauereiss2018-03-14 11:49:37 +0000
committerThomas Bauereiss2018-03-14 12:21:48 +0000
commitf9b81e15c97014425a9a958492ebf4fd92d8a8bc (patch)
tree44bb1b12ea560eaaa8a245588a5c69ca0847194c /mips/Makefile
parent71febd33cb9759ee524b6d7a8be3b66cba236c0e (diff)
Fix Lem generation for CHERI-MIPS and Aarch64
- Update Lem bindings and extras files - Rewrite Nexp_var's if they are bound to a constant, similar to Nexp_id's (used for cap_size in the CHERI spec) - Add Lem and Isabelle Makefile targets for CHERI
Diffstat (limited to 'mips/Makefile')
-rw-r--r--mips/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/mips/Makefile b/mips/Makefile
index 55d8e986..87fc96b6 100644
--- a/mips/Makefile
+++ b/mips/Makefile
@@ -13,15 +13,15 @@ MIPS_SAILS:=$(MIPS_SAIL_DIR)/mips_wrappers.sail $(MIPS_SAIL_DIR)/mips_ast_decl.s
MIPS_MAIN:=$(MIPS_SAIL_DIR)/main.sail
mips: $(MIPS_PRE) $(MIPS_TLB) $(MIPS_SAILS) $(MIPS_MAIN)
- $(SAIL) -ocaml -o mips $^
+ $(SAIL) -ocaml -o mips -memo_z3 $^
mips_no_tlb.lem: $(MIPS_PRE) $(MIPS_TLB_STUB) $(MIPS_SAILS)
- $(SAIL) -lem -o mips_no_tlb -lem_mwords -lem_lib Mips_extras -undefined_gen $^
+ $(SAIL) -lem -o mips_no_tlb -lem_mwords -lem_lib Mips_extras -undefined_gen -memo_z3 $^
mips_no_tlb_types.lem: mips_no_tlb.lem
# TODO: Use monomorphisation so that we can switch to machine words
mips.lem: $(MIPS_PRE) $(MIPS_TLB) $(MIPS_SAILS)
- $(SAIL) -lem -o mips -lem_lib Mips_extras -undefined_gen $^
+ $(SAIL) -lem -o mips -lem_lib Mips_extras -undefined_gen -memo_z3 $^
mips_types.lem: mips.lem
M%.thy: m%.lem m%_types.lem mips_extras.lem