aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@rivosinc.com>2022-11-17 20:25:10 -0800
committerPalmer Dabbelt <palmer@rivosinc.com>2022-12-16 08:45:47 -0800
commitdf049cb2153839fdf6c6bdc27acf5a5151f74a99 (patch)
tree5be3e21dc94e0998cbec97b7cc30019b621f36b1 /gcc
parent92eb0adc14a5f84acce7e5bc780b81b1544b24aa (diff)
downloadgcc-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.texi4
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