aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@sifive.com>2018-10-25 10:50:04 -0700
committerPalmer Dabbelt <palmer@sifive.com>2018-10-25 11:03:11 -0700
commit4502772cc5085e88272b7e85247807b00662000c (patch)
tree33b051ceddbbd95490ac30951037114029c579a3
parent6c63ef1513696f3d096508e34ac2bc4b65e576a8 (diff)
downloadriscv-isa-manual-cnop.zip
riscv-isa-manual-cnop.tar.gz
riscv-isa-manual-cnop.tar.bz2
The performance counters must respect "c.nop"cnop
The non-compressed "nop" mentions that performance counters are modified by the instruction, but the text of the compressed instruction make it sound like that's not the case.
-rw-r--r--src/c.tex3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/c.tex b/src/c.tex
index f020189..1a308d2 100644
--- a/src/c.tex
+++ b/src/c.tex
@@ -1099,7 +1099,8 @@ C.NOP & 0 & 0 & 0 & C1 \\
\end{center}
C.NOP is a CI-format instruction that does not change any user-visible state,
-except for advancing the {\tt pc}. C.NOP expands to {\tt nop}.
+except for advancing the {\tt pc} and incrementing any applicable performance
+counters. C.NOP expands to {\tt nop}.
\subsection*{Breakpoint Instruction}
\vspace{-0.4in}