RISC-V: Note that __builtin_riscv_pause() implies Xgnuzihintpausestate
authorPalmer Dabbelt <palmer@rivosinc.com>
Fri, 18 Nov 2022 04:25:10 +0000 (20:25 -0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Fri, 16 Dec 2022 16:45:47 +0000 (08:45 -0800)
gcc/ChangeLog:

* doc/extend.texi (__builtin_riscv_pause): Imply
Xgnuzihintpausestate.

gcc/doc/extend.texi

index 608ff54..adba057 100644 (file)
@@ -21109,7 +21109,9 @@ Returns the value that is currently set in the @samp{tp} register.
 @end deftypefn
 
 @deftypefn {Built-in Function}  void __builtin_riscv_pause (void)
-Generates the @code{pause} (hint) machine instruction.
+Generates the @code{pause} (hint) machine instruction.  This implies the
+Xgnuzihintpausestate extension, which redefines the @code{pause} instruction to
+change architectural state.
 @end deftypefn
 
 @node RX Built-in Functions