aboutsummaryrefslogtreecommitdiff
path: root/src/machine.tex
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2017-05-15 23:29:09 -0500
committerAndrew Waterman <andrew@sifive.com>2017-05-15 23:29:09 -0500
commit586465cf000a715fed1e4d7ff76943872ec7d73a (patch)
tree337d72fb73f477ac3e81c75d553fa21fd7dfab06 /src/machine.tex
parent2d12caabaf2bed535adbd0607efab59114d89947 (diff)
downloadriscv-isa-manual-586465cf000a715fed1e4d7ff76943872ec7d73a.zip
riscv-isa-manual-586465cf000a715fed1e4d7ff76943872ec7d73a.tar.gz
riscv-isa-manual-586465cf000a715fed1e4d7ff76943872ec7d73a.tar.bz2
Fix some orphaned/widowed commentary sections
Diffstat (limited to 'src/machine.tex')
-rw-r--r--src/machine.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/machine.tex b/src/machine.tex
index af59323..3a8ff5a 100644
--- a/src/machine.tex
+++ b/src/machine.tex
@@ -1479,7 +1479,7 @@ mcycleh}, {\tt minstreth}, and {\tt mhpmcounter{\em n}h} CSRs return bits
On RV128 systems, the 64-bit values in {\tt mcycle}, {\tt minstret}, and
{\tt mhpmcounter{\em n}} are sign-extended to 128-bits when read.
-\begin{commentary}
+\begin{samepage-commentary}
On RV128 systems, both signed and unsigned 64-bit values are held in a
canonical form with bit 63 repeated in all higher bit positions. The
counters are 64-bit values even in RV128, and so the counter CSR reads
@@ -1488,7 +1488,7 @@ implement fewer bits of the counters, provided software would be unlikely
to experience wraparound (e.g., $2^{63}$ instructions executed)
and thereby avoid having to actually implement the sign-extension
circuitry.
-\end{commentary}
+\end{samepage-commentary}
\subsection{Counter-Enable Registers ({\tt [m|h|s]counteren})}
\label{sec:mcounteren}