diff options
author | Palmer Dabbelt <palmer@rivosinc.com> | 2022-11-17 20:25:10 -0800 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2022-12-16 08:45:47 -0800 |
commit | df049cb2153839fdf6c6bdc27acf5a5151f74a99 (patch) | |
tree | 5be3e21dc94e0998cbec97b7cc30019b621f36b1 /gcc | |
parent | 92eb0adc14a5f84acce7e5bc780b81b1544b24aa (diff) | |
download | gcc-df049cb2153839fdf6c6bdc27acf5a5151f74a99.zip gcc-df049cb2153839fdf6c6bdc27acf5a5151f74a99.tar.gz gcc-df049cb2153839fdf6c6bdc27acf5a5151f74a99.tar.bz2 |
RISC-V: Note that __builtin_riscv_pause() implies Xgnuzihintpausestate
gcc/ChangeLog:
* doc/extend.texi (__builtin_riscv_pause): Imply
Xgnuzihintpausestate.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/doc/extend.texi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 608ff54..adba057 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 |