Skip to content

Commit

Permalink
Add an additional paragraph to the 64-bit CHERI format description.
Browse files Browse the repository at this point in the history
Also add a note in the 9.0 change list.

While here, mention the flag bit in the 128-bit CHERI format description.
  • Loading branch information
bsdjhb committed Jul 21, 2023
1 parent a3340dc commit 1ee4683
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions app-versions-9-0.tex
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,7 @@
existing instructions to support operations on capabilities as well
as details for new instructions in a new ISA reference in
Chapter~\ref{chap:isaref-x86-64}.

\item Added a description of the 64-bit CHERI Concentrate capability
format.
\end{itemize}
8 changes: 7 additions & 1 deletion chap-architecture.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1186,7 +1186,7 @@ \subsection{CHERI Concentrate Compression}
For a more detailed rational behind some of the encoding decisions see \cref{sec:rational:comressed}.

\Cref{fig:cheric128} shows the capability format and decoding method for 128-bit CHERI concentrate.
The format contains a 64-bit address, $a$, 16 permission bits (4 user defined and 12 hardware defined), an 18-bit object type and 27 bits that encode the bounds relative to the address.
The format contains a 64-bit address, $a$, 16 permission bits (4 user defined and 12 hardware defined), a flag bit, an 18-bit object type and 27 bits that encode the bounds relative to the address.
The following definitions are used in the description of the bounds encoding:\note{Would be useful if this list could be opposite \cref{fig:cheric128}}{rmn30}

\begin{description}
Expand Down Expand Up @@ -1381,6 +1381,7 @@ \subsubsection{CHERI Concentrate Fast Representable Limit Checking}
This fast representability check allows us to perform pointer arithmetic on compressed capabilities directly, avoiding decompressing capabilities in the register file that introduces both a dramatically enlarged register file and substantial load-to-use delay.

\subsubsection{CHERI Concentrate 64-bit format for 32-bit address spaces}

In this section, we describe how CHERI Concentrate compresses the bounds used
in 64-bit capabilities with 32-bit architectural addresses.

Expand Down Expand Up @@ -1475,6 +1476,11 @@ \subsubsection{CHERI Concentrate 64-bit format for 32-bit address spaces}
\vspace{-1.5em}
\end{figure}

\Cref{fig:cheric64} shows the capability format and decoding method
for 64-bit CHERI concentrate. The format contains a 32-bit address,
$a$, 12 hardware defined permission bits, a flag bit, a 4-bit object
type and 15 bits that encode the bounds relative to the address.

\subsection{Capability Address and Length Rounding Instructions}
\label{sec:capability-address-and-length-rounding}

Expand Down

0 comments on commit 1ee4683

Please sign in to comment.