Skip to content

Commit

Permalink
Add note about AUIPC+JALR range in RV64
Browse files Browse the repository at this point in the history
  • Loading branch information
aswaterman committed Apr 6, 2020
1 parent af69f79 commit b1e42e0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/rv64.tex
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,12 @@ \subsubsection*{Integer Register-Immediate Instructions}
adds it to the address of the AUIPC instruction,
then places the result in register {\em rd}.

\begin{commentary}
Note that the set of addresses or offsets that can be formed by pairing LUI
with LD, AUIPC with JALR, etc.\@ in RV64 includes all signed 32-bit offsets
except for the range [$2^{31}{-}2^{11}$, $2^{31}{-}1$].
\end{commentary}

\subsubsection*{Integer Register-Register Operations}

\vspace{-0.2in}
Expand Down

0 comments on commit b1e42e0

Please sign in to comment.