From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1992) id 556BC384E7A2; Fri, 16 Dec 2022 16:48:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 556BC384E7A2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1671209303; bh=Go4GC+Z82/4ULILLf24Lm9efsWqsJhsVbdCGpg4b1eA=; h=From:To:Subject:Date:From; b=hrCJR6R7uNGe+wY2HasNUBpPiOQDqjFjGHq0zoCfB1a+o3Lv92HQAUgMMkuRmY89V Q0CsnGydwS4uiOpIESlXmY5+B0hr8SQMecQais9g9xPR+8d8eu/B1zUpp2L4mFtfmI D6XfeeVjMcCqYFvP+kfULWJjCJ5n80Z0s7hTw0P8= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Palmer Dabbelt To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-4746] RISC-V: Note that __builtin_riscv_pause() implies Xgnuzihintpausestate X-Act-Checkin: gcc X-Git-Author: Palmer Dabbelt X-Git-Refname: refs/heads/trunk X-Git-Oldrev: 92eb0adc14a5f84acce7e5bc780b81b1544b24aa X-Git-Newrev: df049cb2153839fdf6c6bdc27acf5a5151f74a99 Message-Id: <20221216164823.556BC384E7A2@sourceware.org> Date: Fri, 16 Dec 2022 16:48:23 +0000 (GMT) List-Id: https://gcc.gnu.org/g:df049cb2153839fdf6c6bdc27acf5a5151f74a99 commit r13-4746-gdf049cb2153839fdf6c6bdc27acf5a5151f74a99 Author: Palmer Dabbelt 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