From: Palmer Dabbelt Date: Fri, 18 Nov 2022 04:25:10 +0000 (-0800) Subject: RISC-V: Note that __builtin_riscv_pause() implies Xgnuzihintpausestate X-Git-Tag: basepoints/gcc-14~2461 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df049cb2153839fdf6c6bdc27acf5a5151f74a99;p=thirdparty%2Fgcc.git RISC-V: Note that __builtin_riscv_pause() implies Xgnuzihintpausestate gcc/ChangeLog: * doc/extend.texi (__builtin_riscv_pause): Imply Xgnuzihintpausestate. --- diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 608ff54f845d..adba057c190a 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -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