summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Norton2016-05-16 12:49:47 +0100
committerRobert Norton2016-05-16 12:49:56 +0100
commitf8e11f0f4e8b872e570d57e55d04f331951f4eed (patch)
tree333620cbc8770c542312aff1da146599ad60a4c1
parent4bd42c3b77cc37e12ab74332849fe6941f981021 (diff)
Implement the simulator dump cap registers instruction as a NOP since we dump registers on terminating simulator anyway but we don't want tests to crash before the end."
-rw-r--r--cheri/cheri_insts.sail5
1 files changed, 5 insertions, 0 deletions
diff --git a/cheri/cheri_insts.sail b/cheri/cheri_insts.sail
index 2723d92f..08f14eb1 100644
--- a/cheri/cheri_insts.sail
+++ b/cheri/cheri_insts.sail
@@ -730,3 +730,8 @@ function clause execute (CLC(cd, cb, rt, offset, linked)) =
}
}
}
+
+union ast member (regno) C2Dump
+function clause decode (0b010010 : 0b00100 : (regno) rt : 0x0006) = Some(C2Dump(rt))
+function clause execute (C2Dump (rt)) =
+ () (* Currently a NOP *)