summaryrefslogtreecommitdiff
path: root/riscv
diff options
context:
space:
mode:
authorPrashanth Mundkur2018-01-29 09:38:04 -0800
committerPrashanth Mundkur2018-01-29 09:38:49 -0800
commit468bc2736ae82688eadc048e16ac6d01aa9ff78f (patch)
treed11ff3329c81f3c18982a7ae4ada4fc7a56cd316 /riscv
parent4e31f2d239f28dc2de21d2df837a58433a62cbd7 (diff)
Add a fixme for unhandled fences but allow them to execute.
Diffstat (limited to 'riscv')
-rw-r--r--riscv/riscv.sail3
1 files changed, 2 insertions, 1 deletions
diff --git a/riscv/riscv.sail b/riscv/riscv.sail
index 9ef2365d..9ec5734e 100644
--- a/riscv/riscv.sail
+++ b/riscv/riscv.sail
@@ -259,7 +259,8 @@ function clause execute (FENCE(pred, succ)) = {
(0b0010, 0b0010) => MEM_fence_r_r(),
(0b0011, 0b0001) => MEM_fence_rw_w(),
(0b0001, 0b0001) => MEM_fence_w_w(),
- _ => not_implemented("unsupported fence")
+ _ => { print("FIXME: unsupported fence");
+ () }
}
}