Skip to content

Commit 90d48fd

Browse files
gfavoraswaterman
authored andcommitted
Update zihintpause.tex
1 parent 5878bd3 commit 90d48fd

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

src/zihintpause.tex

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
1-
\chapter{``Zihintpause'' Pause Hint, Version 2.0}
1+
\chapter{``Zihintpause'' Pause Hint, Version 1.0}
22
\label{chap:zihintpause}
33

4-
{\bf Warning! This draft specification is likely to change before being
5-
accepted as standard by the RISC-V Foundation.}
6-
74
The PAUSE instruction is a HINT that indicates the current hart's rate of
8-
instruction retirement should be temporarily reduced. The duration of its
9-
effect must be bounded.
5+
instruction retirement should be temporarily reduced or paused. The duration of its
6+
effect must be bounded and may be zero. No architectural state is changed.
107

118
\begin{commentary}
129
Software can use the PAUSE instruction to reduce energy consumption while
1310
executing spin-wait code sequences. Multithreaded cores might temporarily
1411
relinquish execution resources to other harts when PAUSE is executed.
12+
It is recommended that a PAUSE instruction generally be included in the code
13+
sequence for a spin-wait loop.
1514

1615
A future extension might add primitives similar to the x86 MONITOR/MWAIT
1716
instructions, which provide a more efficient mechanism to wait on writes to
@@ -31,8 +30,8 @@ \chapter{``Zihintpause'' Pause Hint, Version 2.0}
3130
PAUSE is encoded as a FENCE instruction with {\em pred}=W and {\em succ}=0.
3231

3332
\begin{commentary}
34-
We encoded PAUSE as a hint within the FENCE opcode because we expect some
35-
implementations to deliberately stall the PAUSE instruction until outstanding
33+
PAUSE is encoded as a hint within the FENCE opcode because some
34+
implementations are expected to deliberately stall the PAUSE instruction until outstanding
3635
memory transactions have completed.
3736
Because the successor set is null, however, PAUSE does not {\em mandate} any
3837
particular memory ordering---hence, it truly is a HINT.

0 commit comments

Comments
 (0)