From: Tsukasa OI <[email protected]>
This built-in does not imply the 'Xgnuzihintpausestate' extension.
It does not change architectural state (because all HINTs are prohibited
from doing that).
gcc/ChangeLog:
* doc/extend.texi: Fix the description of __builtin_riscv_pause.
---
gcc/doc/extend.texi | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 89c5b4ea2b20..7ebbe70c78d6 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -21570,9 +21570,9 @@ Returns the value that is currently set in the
@samp{tp} register.
@enddefbuiltin
@defbuiltin{void __builtin_riscv_pause (void)}
-Generates the @code{pause} (hint) machine instruction. This implies the
-Xgnuzihintpausestate extension, which redefines the @code{pause} instruction to
-change architectural state.
+Generates the @code{pause} (hint) machine instruction. If the target
implements
+the Zihintpause extension, it indicates that the current hart should be
+temporarily paused or slowed down.
@enddefbuiltin
@node RISC-V Vector Intrinsics
--
2.41.0