Skip to content

Commit

Permalink
app-versions-9.0: Add more CHERI-RISC-V changes.
Browse files Browse the repository at this point in the history
- Add a section on mode-dependent jumps.

- Add a note about reserved encodings for memory versioning and
  CRelocate.

- Add notes for C[GS]etHigh and CGetTop.
  • Loading branch information
bsdjhb committed Jul 12, 2023
1 parent 0debed8 commit e415c37
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions app-versions-9-0.tex
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,18 @@
\item CHERI-RISC-V reports capability exception details in \xtval{}
rather than \xccsr{}.

\item The RISC-V \insnnoref{JAL} and \insnnoref{JALR} instructions are
now mode-dependent meaning that they use capability register
operands in capability mode rather than always using integer
registers. The capability mode version of these instructions are
named \insnref{CJAL} and \insnref{CJALR}. The previous
\insnnoref{CJALR} instruction has been renamed to
\insnref{JALR.CAP}. In addition, \insnref{JALR.PCC} has been added
to permit integer jump and links in capability mode.

\item Opcode encodings have been reserved for CHERI-RISC-V memory
versioning instructions as well as \insnnoref{CRelocate}.

\item CHERI-RISC-V always uses a merged register file and the
architecture-neutral chapters now assume a merged register file on
all CHERI architectures. This included removing the dirty bit from
Expand All @@ -22,6 +34,12 @@
\item CHERI-RISC-V clears tags rather than raising exceptions for
non-monotonic modifications to capabilities.

\item Added \insnref{CGetHigh} and \insnref{CSetHigh} to retrieve and
modify the upper half of a capability.

\item Added \insnref{CGetTop} to retrieve the upper limit of a
capability.

\item \DDC{} and \PCC{} no longer relocate legacy memory accesses.
These registers still constrain legacy memory accesses. This
included deprecating \insnref{CFromPtr} and \insnref{CToPtr}.
Expand Down

0 comments on commit e415c37

Please sign in to comment.