public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-4746] RISC-V: Note that __builtin_riscv_pause() implies Xgnuzihintpausestate
@ 2022-12-16 16:48 Palmer Dabbelt
  0 siblings, 0 replies; only message in thread
From: Palmer Dabbelt @ 2022-12-16 16:48 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:df049cb2153839fdf6c6bdc27acf5a5151f74a99

commit r13-4746-gdf049cb2153839fdf6c6bdc27acf5a5151f74a99
Author: Palmer Dabbelt <palmer@rivosinc.com>
Date:   Thu Nov 17 20:25:10 2022 -0800

    RISC-V: Note that __builtin_riscv_pause() implies Xgnuzihintpausestate
    
    gcc/ChangeLog:
    
            * doc/extend.texi (__builtin_riscv_pause): Imply
            Xgnuzihintpausestate.

Diff:
---
 gcc/doc/extend.texi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 608ff54f845..adba057c190 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-12-16 16:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-16 16:48 [gcc r13-4746] RISC-V: Note that __builtin_riscv_pause() implies Xgnuzihintpausestate Palmer Dabbelt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).