Skip to content

Commit

Permalink
fix missing sail2 interpreter/shallow embedding conversion for RISCV …
Browse files Browse the repository at this point in the history
…tso barrier kind

fix "flat", "flatOpt", .. scripts to work from other directories
  • Loading branch information
cp526 committed Aug 16, 2019
1 parent 294b531 commit a160cdb
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion flat
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/sh
./rmem -model flat "$@"
$(dirname "$0")/rmem -model flat "$@"
2 changes: 1 addition & 1 deletion flatFetchOpt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/sh
./rmem -model flat -shallow_embedding true -eager true -hash_prune true -priority_reduction true -model fetch-relaxed -eager_fetch_unmodified true -loop_limit 2 -thread_fetch_limit 10 "$@"
$(dirname "$0")/rmem -model flat -shallow_embedding true -eager true -hash_prune true -priority_reduction true -model fetch-relaxed -eager_fetch_unmodified true -loop_limit 2 -thread_fetch_limit 10 "$@"
2 changes: 1 addition & 1 deletion flatOpt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/sh
./rmem -model flat -shallow_embedding true -eager true -hash_prune true -priority_reduction true "$@"
$(dirname "$0")/rmem -model flat -shallow_embedding true -eager true -hash_prune true -priority_reduction true "$@"
2 changes: 1 addition & 1 deletion promising
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/sh
./rmem -hash_prune false -model promising -shallow_embedding true "$@"
$(dirname "$0")/rmem -hash_prune false -model promising -shallow_embedding true "$@"
2 changes: 1 addition & 1 deletion promisingOpt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/sh
./rmem -model promising -shallow_embedding true -model promise_first "$@" -hash_prune false -model promising_parallel_thread_state_search
$(dirname "$0")/rmem -model promising -shallow_embedding true -model promise_first "$@" -hash_prune false -model promising_parallel_thread_state_search
1 change: 1 addition & 0 deletions src_top/isa_model.ml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ module Make (ISADefs: ISADefs) (TransSail: Trans.TransSail) : S = struct
| V_ctor ("Barrier_RISCV_r_w", _) -> Barrier_RISCV_r_w
| V_ctor ("Barrier_RISCV_w_r", _) -> Barrier_RISCV_w_r
| V_ctor ("Barrier_RISCV_i", _) -> Barrier_RISCV_i
| V_ctor ("Barrier_RISCV_tso", _) -> Barrier_RISCV_tso
| V_ctor ("Barrier_x86_MFENCE", _) -> Barrier_x86_MFENCE
| _ -> failwith "unknown barrier kind in interp2__bk_to_bk"
in
Expand Down

0 comments on commit a160cdb

Please sign in to comment.