Skip to content

Commit 21ff25b

Browse files
nwf-msrrmn30
authored andcommitted
Nits
1 parent 90dcb0a commit 21ff25b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cheri_insts.sail

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,7 @@ function clause execute StoreCapImm(cs2, cs1, imm) = {
917917
}
918918

919919
/* AUICGP is a U-TYPE instruction with its own major opcode.
920-
AUIPCC reusesthe AUIPC encoding: this handled by the post decode hook. */
920+
AUIPCC reuses the AUIPC encoding: this handled by the post decode hook. */
921921

922922
mapping clause encdec = AUICGP(imm, cd) if (haveXcheri()) <-> imm : bits(20) @ cd @ 0b1111011 if (haveXcheri())
923923

@@ -1017,7 +1017,7 @@ mapping clause assembly = StoreCapImm(cs2, rs1, offset) <-> "sc" ^ spc() ^ cap_r
10171017
* Encoding/assembly mappings for instructions that overlap existing RISC-V
10181018
* encodings. This does not include loads/stores since they are not decoded
10191019
* differently, but instead use hooks for semantic differences. CHERIoT
1020-
* only supports cap mode see these always have priority over the RISC-V
1020+
* only supports cap mode so these always have priority over the RISC-V
10211021
* ones.
10221022
*/
10231023
mapping clause encdec_capmode = AUIPCC(imm, cd) <-> imm @ cd @ 0b0010111

0 commit comments

Comments
 (0)