Message ID | 20220909094640.24077-1-palmer@rivosinc.com |
---|---|
State | New, archived |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5044:0:0:0:0:0 with SMTP id h4csp633660wrt; Fri, 9 Sep 2022 02:47:34 -0700 (PDT) X-Google-Smtp-Source: AA6agR5pRKNbN4kA+UbW5o7+AkQrWMJ8Tef6F8r6PhbnCfxLB9bZEL19x8Tk1Fbv/ME+P+tOFBMv X-Received: by 2002:a17:907:75c7:b0:779:bf7:9be7 with SMTP id jl7-20020a17090775c700b007790bf79be7mr3435880ejc.432.1662716854007; Fri, 09 Sep 2022 02:47:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662716854; cv=none; d=google.com; s=arc-20160816; b=XIlT9YUuJTbgysqD6ss46Tmt3cMHGiMBqMaXQG1ldDaRQRT9PVuIiLWBFYhCHxiJmd Jkk0nR5TYRrrlkSBhhlGGs6gYas4YqfQd04n4L4SZoLw5xqlQPlBZER7LP4VCkwOipWx iFHoU3ObCICj0O8Plhk7B/czITO8YGV7xxwe1zZfwr4Fkb0glF1kBrMJBlegpohzx7Ij iKpkUUhCmE2EDRs7JGz9LzddH+AbTPYDV2Jp38BxNBxNaUYcDNi5/s9nhNuT1UBXi0Hn UqCHuaGPcDL3ZFsPx59lT6k0x1TTrIAFsU+AfKlBMUR9YZ5/L4Jwv3cQrzYKR9X9VCVT 9BQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:to:from :content-transfer-encoding:mime-version:message-id:date:subject :dkim-signature:dmarc-filter:delivered-to; bh=LlRb59sX9eKzr10B41uPGe/A98XeuaRdT6wEbxi/p14=; b=WLI+S+0BQlBWIFBALH9yf1Sw50ygzqWs+ZYrDKLEq6suxA4IdGsze5PyGNLtsGzo1r 9yqmbAeEBYSFOrWWUSaySd557gjaQ2BtZTR8jAMto3m5lZU8EVS5Xjb11QdrfIiV//qO lhT/+pB+D59Rlxtc3f7EWwInbvXTcPgik6b+lyKo5i9FnbO1kO6FbRTGLl3+DFuNIOoy YMmP807vpeSFhU2ZZTlbb5ET2OLsZ1zL2OpcWy6PWlQcYrcNudddFNrAH+6zn0QCiMCP urdE/QqBuH8kV0rEcPs+pAHraNR/cxKF5yOtx3a17n559uBu/wBXnQnvneUjU823OCrv C8SQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@rivosinc-com.20210112.gappssmtp.com header.s=20210112 header.b=3WQpuZPT; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id g12-20020a056402428c00b0044fc3bffb14si111693edc.106.2022.09.09.02.47.33 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Sep 2022 02:47:33 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=fail header.i=@rivosinc-com.20210112.gappssmtp.com header.s=20210112 header.b=3WQpuZPT; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 377C8385735D for <ouuuleilei@gmail.com>; Fri, 9 Sep 2022 09:47:31 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) by sourceware.org (Postfix) with ESMTPS id DCF3538582BF for <gcc-patches@gcc.gnu.org>; Fri, 9 Sep 2022 09:47:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org DCF3538582BF Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rivosinc.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rivosinc.com Received: by mail-pg1-x52e.google.com with SMTP id bh13so1072747pgb.4 for <gcc-patches@gcc.gnu.org>; Fri, 09 Sep 2022 02:47:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20210112.gappssmtp.com; s=20210112; h=to:from:cc:content-transfer-encoding:mime-version:message-id:date :subject:from:to:cc:subject:date; bh=LlRb59sX9eKzr10B41uPGe/A98XeuaRdT6wEbxi/p14=; b=3WQpuZPTRK/ns9Q6SURqw2H0mX9x5A6tWoFXEXwksU3htDcVF59FCHGH5/hCx/C8SX TSzcE3d9KY8mNNmhcGabxgEH//whn72uzASOeU+HsgYdwhWznjYnOQ1stIOFoYpDUMpG BIv6HoXKCSpKHP2je1lgi8pLYP8NM5lNy0nMd5m2bs/yqqXQVYyi9tIuuccMVzwvY+P7 m2Z/Et/LXT3k6KonVB2kpklJGOT9Fge5RyQB4dNOJ3E7ljheUXqTGFPCbfN0eOGNpw2Z D3wzWKm0gnlsAZimS1lOe/4HN7MT4fuWx7ctFYf3HRin/IZdIb4dKGXwN0T8MclKf2vu w5OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:from:cc:content-transfer-encoding:mime-version:message-id:date :subject:x-gm-message-state:from:to:cc:subject:date; bh=LlRb59sX9eKzr10B41uPGe/A98XeuaRdT6wEbxi/p14=; b=k816ut4fRG6qJ73b91RK6xjzWV+1ArNXJJH3JDKEAAfli15lIRiLfAa6cs4zCOMzms WzOkySFdosM/c38sY6yooM4nOFxvr7XttF42oW5LtmNj1MhcMdF21x1LnNvtw0cUnqlX W1yvwOy5BXJET5/YIIQYpTW34T+L9m0G82ZJkO89vvxJw+wOF7/XKzSGlUmJE/2o6XDz pKtH0tg4akfQK/B54xK0DkYk8A5Y8OTfT15eXeUn9PK7DyLvZVxahtRnxSuaLI/9Be1/ lUG5usH6LBDPYv4K7IsYc5uVx+TO/pffu5HlPhmQ7tHzDewA8GsjGw0M46DTAtWgIIXv vJVw== X-Gm-Message-State: ACgBeo0eY1VOkUhNRGyapbVnR3qaGiYyg70+qoQoGDiv+9iHE0a7kgTD pfECcrQBFw6QlX8nId4s4OoLHg== X-Received: by 2002:a63:564b:0:b0:42c:414a:95fd with SMTP id g11-20020a63564b000000b0042c414a95fdmr11454628pgm.5.1662716825931; Fri, 09 Sep 2022 02:47:05 -0700 (PDT) Received: from localhost ([51.52.155.79]) by smtp.gmail.com with ESMTPSA id w3-20020a626203000000b00540f3ac5fb8sm103008pfb.69.2022.09.09.02.47.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Sep 2022 02:47:05 -0700 (PDT) Subject: [PATCH] Document -fexcess-precision=16 in tm.texi Date: Fri, 9 Sep 2022 02:46:40 -0700 Message-Id: <20220909094640.24077-1-palmer@rivosinc.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Palmer Dabbelt <palmer@rivosinc.com> To: gcc-patches@gcc.gnu.org X-Spam-Status: No, score=-12.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1743484988183089556?= X-GMAIL-MSGID: =?utf-8?q?1743484988183089556?= |
Series |
Document -fexcess-precision=16 in tm.texi
|
|
Commit Message
Palmer Dabbelt
Sept. 9, 2022, 9:46 a.m. UTC
I just happened to stuble on this one while trying to sort out the RISC-V bits. gcc/ChangeLog * doc/tm.texi (TARGET_C_EXCESS_PRECISION): Add 16. --- gcc/doc/tm.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Fri, 09 Sep 2022 02:46:40 PDT (-0700), Palmer Dabbelt wrote: > I just happened to stuble on this one while trying to sort out the > RISC-V bits. > > gcc/ChangeLog > > * doc/tm.texi (TARGET_C_EXCESS_PRECISION): Add 16. > --- > gcc/doc/tm.texi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi > index 858bfb80cec..7590924f2ca 100644 > --- a/gcc/doc/tm.texi > +++ b/gcc/doc/tm.texi > @@ -1009,7 +1009,7 @@ of the excess precision explicitly added. For > @code{EXCESS_PRECISION_TYPE_FLOAT16}, and > @code{EXCESS_PRECISION_TYPE_FAST}, the target should return the > explicit excess precision that should be added depending on the > -value set for @option{-fexcess-precision=@r{[}standard@r{|}fast@r{]}}. > +value set for @option{-fexcess-precision=@r{[}standard@r{|}fast@r{|}16@r{]}}. > Note that unpredictable explicit excess precision does not make sense, > so a target should never return @code{FLT_EVAL_METHOD_UNPREDICTABLE} > when @var{type} is @code{EXCESS_PRECISION_TYPE_STANDARD}, Just pinging this one as I'm not sure if it's OK to self-approve -- no rush on my end, I already figured it out so I don't need the documentation any more.
On 9/18/22 02:47, Palmer Dabbelt wrote: > On Fri, 09 Sep 2022 02:46:40 PDT (-0700), Palmer Dabbelt wrote: >> I just happened to stuble on this one while trying to sort out the >> RISC-V bits. >> >> gcc/ChangeLog >> >> * doc/tm.texi (TARGET_C_EXCESS_PRECISION): Add 16. >> --- >> gcc/doc/tm.texi | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi >> index 858bfb80cec..7590924f2ca 100644 >> --- a/gcc/doc/tm.texi >> +++ b/gcc/doc/tm.texi >> @@ -1009,7 +1009,7 @@ of the excess precision explicitly added. For >> @code{EXCESS_PRECISION_TYPE_FLOAT16}, and >> @code{EXCESS_PRECISION_TYPE_FAST}, the target should return the >> explicit excess precision that should be added depending on the >> -value set for @option{-fexcess-precision=@r{[}standard@r{|}fast@r{]}}. >> +value set for >> @option{-fexcess-precision=@r{[}standard@r{|}fast@r{|}16@r{]}}. >> Note that unpredictable explicit excess precision does not make sense, >> so a target should never return @code{FLT_EVAL_METHOD_UNPREDICTABLE} >> when @var{type} is @code{EXCESS_PRECISION_TYPE_STANDARD}, > > Just pinging this one as I'm not sure if it's OK to self-approve -- no > rush on my end, I already figured it out so I don't need the > documentation any more. This is fine, looks like a trivial correction. -Sandra
On Sat, 24 Sep 2022 19:13:36 PDT (-0700), sandra@codesourcery.com wrote: > On 9/18/22 02:47, Palmer Dabbelt wrote: >> On Fri, 09 Sep 2022 02:46:40 PDT (-0700), Palmer Dabbelt wrote: >>> I just happened to stuble on this one while trying to sort out the >>> RISC-V bits. >>> >>> gcc/ChangeLog >>> >>> * doc/tm.texi (TARGET_C_EXCESS_PRECISION): Add 16. >>> --- >>> gcc/doc/tm.texi | 2 +- >>> 1 file changed, 1 insertion(+), 1 deletion(-) >>> >>> diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi >>> index 858bfb80cec..7590924f2ca 100644 >>> --- a/gcc/doc/tm.texi >>> +++ b/gcc/doc/tm.texi >>> @@ -1009,7 +1009,7 @@ of the excess precision explicitly added. For >>> @code{EXCESS_PRECISION_TYPE_FLOAT16}, and >>> @code{EXCESS_PRECISION_TYPE_FAST}, the target should return the >>> explicit excess precision that should be added depending on the >>> -value set for @option{-fexcess-precision=@r{[}standard@r{|}fast@r{]}}. >>> +value set for >>> @option{-fexcess-precision=@r{[}standard@r{|}fast@r{|}16@r{]}}. >>> Note that unpredictable explicit excess precision does not make sense, >>> so a target should never return @code{FLT_EVAL_METHOD_UNPREDICTABLE} >>> when @var{type} is @code{EXCESS_PRECISION_TYPE_STANDARD}, >> >> Just pinging this one as I'm not sure if it's OK to self-approve -- no >> rush on my end, I already figured it out so I don't need the >> documentation any more. > > This is fine, looks like a trivial correction. Thanks, committed.
On Fri, Sep 30, 2022 at 3:25 PM Palmer Dabbelt <palmer@dabbelt.com> wrote: > > On Sat, 24 Sep 2022 19:13:36 PDT (-0700), sandra@codesourcery.com wrote: > > On 9/18/22 02:47, Palmer Dabbelt wrote: > >> On Fri, 09 Sep 2022 02:46:40 PDT (-0700), Palmer Dabbelt wrote: > >>> I just happened to stuble on this one while trying to sort out the > >>> RISC-V bits. > >>> > >>> gcc/ChangeLog > >>> > >>> * doc/tm.texi (TARGET_C_EXCESS_PRECISION): Add 16. > >>> --- > >>> gcc/doc/tm.texi | 2 +- > >>> 1 file changed, 1 insertion(+), 1 deletion(-) > >>> > >>> diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi > >>> index 858bfb80cec..7590924f2ca 100644 > >>> --- a/gcc/doc/tm.texi > >>> +++ b/gcc/doc/tm.texi > >>> @@ -1009,7 +1009,7 @@ of the excess precision explicitly added. For > >>> @code{EXCESS_PRECISION_TYPE_FLOAT16}, and > >>> @code{EXCESS_PRECISION_TYPE_FAST}, the target should return the > >>> explicit excess precision that should be added depending on the > >>> -value set for @option{-fexcess-precision=@r{[}standard@r{|}fast@r{]}}. > >>> +value set for > >>> @option{-fexcess-precision=@r{[}standard@r{|}fast@r{|}16@r{]}}. > >>> Note that unpredictable explicit excess precision does not make sense, > >>> so a target should never return @code{FLT_EVAL_METHOD_UNPREDICTABLE} > >>> when @var{type} is @code{EXCESS_PRECISION_TYPE_STANDARD}, > >> > >> Just pinging this one as I'm not sure if it's OK to self-approve -- no > >> rush on my end, I already figured it out so I don't need the > >> documentation any more. > > > > This is fine, looks like a trivial correction. > > Thanks, committed. tm.texi is a generated file. I am checking in this patch to restore bootstrap.
On Fri, 30 Sep 2022 15:51:02 PDT (-0700), H.J. Lu wrote: > On Fri, Sep 30, 2022 at 3:25 PM Palmer Dabbelt <palmer@dabbelt.com> wrote: >> >> On Sat, 24 Sep 2022 19:13:36 PDT (-0700), sandra@codesourcery.com wrote: >> > On 9/18/22 02:47, Palmer Dabbelt wrote: >> >> On Fri, 09 Sep 2022 02:46:40 PDT (-0700), Palmer Dabbelt wrote: >> >>> I just happened to stuble on this one while trying to sort out the >> >>> RISC-V bits. >> >>> >> >>> gcc/ChangeLog >> >>> >> >>> * doc/tm.texi (TARGET_C_EXCESS_PRECISION): Add 16. >> >>> --- >> >>> gcc/doc/tm.texi | 2 +- >> >>> 1 file changed, 1 insertion(+), 1 deletion(-) >> >>> >> >>> diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi >> >>> index 858bfb80cec..7590924f2ca 100644 >> >>> --- a/gcc/doc/tm.texi >> >>> +++ b/gcc/doc/tm.texi >> >>> @@ -1009,7 +1009,7 @@ of the excess precision explicitly added. For >> >>> @code{EXCESS_PRECISION_TYPE_FLOAT16}, and >> >>> @code{EXCESS_PRECISION_TYPE_FAST}, the target should return the >> >>> explicit excess precision that should be added depending on the >> >>> -value set for @option{-fexcess-precision=@r{[}standard@r{|}fast@r{]}}. >> >>> +value set for >> >>> @option{-fexcess-precision=@r{[}standard@r{|}fast@r{|}16@r{]}}. >> >>> Note that unpredictable explicit excess precision does not make sense, >> >>> so a target should never return @code{FLT_EVAL_METHOD_UNPREDICTABLE} >> >>> when @var{type} is @code{EXCESS_PRECISION_TYPE_STANDARD}, >> >> >> >> Just pinging this one as I'm not sure if it's OK to self-approve -- no >> >> rush on my end, I already figured it out so I don't need the >> >> documentation any more. >> > >> > This is fine, looks like a trivial correction. >> >> Thanks, committed. > > tm.texi is a generated file. I am checking in this patch to restore bootstrap. Sorry about that, and thanks for fixing it.
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 858bfb80cec..7590924f2ca 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -1009,7 +1009,7 @@ of the excess precision explicitly added. For @code{EXCESS_PRECISION_TYPE_FLOAT16}, and @code{EXCESS_PRECISION_TYPE_FAST}, the target should return the explicit excess precision that should be added depending on the -value set for @option{-fexcess-precision=@r{[}standard@r{|}fast@r{]}}. +value set for @option{-fexcess-precision=@r{[}standard@r{|}fast@r{|}16@r{]}}. Note that unpredictable explicit excess precision does not make sense, so a target should never return @code{FLT_EVAL_METHOD_UNPREDICTABLE} when @var{type} is @code{EXCESS_PRECISION_TYPE_STANDARD},