diff options
| author | Robert Norton | 2016-05-16 12:49:47 +0100 |
|---|---|---|
| committer | Robert Norton | 2016-05-16 12:49:56 +0100 |
| commit | f8e11f0f4e8b872e570d57e55d04f331951f4eed (patch) | |
| tree | 333620cbc8770c542312aff1da146599ad60a4c1 /cheri | |
| parent | 4bd42c3b77cc37e12ab74332849fe6941f981021 (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."
Diffstat (limited to 'cheri')
| -rw-r--r-- | cheri/cheri_insts.sail | 5 |
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 *) |
