From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa1.mentor.iphmx.com (esa1.mentor.iphmx.com [68.232.129.153]) by sourceware.org (Postfix) with ESMTPS id 0F49B3858CDA for ; Sun, 25 Sep 2022 02:13:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0F49B3858CDA Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com X-IronPort-AV: E=Sophos;i="5.93,343,1654588800"; d="scan'208";a="86356372" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa1.mentor.iphmx.com with ESMTP; 24 Sep 2022 18:13:40 -0800 IronPort-SDR: wB1wvytwh08mwqDtjsTd+Zzx0yTF7Ljp+/H9KfBnrsVf6GsgP2S76mAqNgs/6tE3ab8CqCnVh4 fDfwDrP61FQSxhDrcFmHzqdFh73KlNKK9R4FUnmCEgpUjPQYlQMv6Q3f+zg+3Uz0w5Ypelmf7N GpWv4rmVWKfr/WGaxtyrA68Ax5l1DU3AttjmezpAK49slRhOabVOMLm5AxUsUSDmBLTneqGHVs 4OrVAEietETl2QEa5HkSCpzrJicVTVeHjqVPa4ZtDIcH5IpM6bhlLaBE66TJgyoldcYWZ2LS0R 7hc= Message-ID: Date: Sat, 24 Sep 2022 20:13:36 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH] Document -fexcess-precision=16 in tm.texi Content-Language: en-US To: Palmer Dabbelt , Newsgroups: gmane.comp.gcc.patches References: <20220909094640.24077-1-palmer@rivosinc.com> From: Sandra Loosemore In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: SVR-ORW-MBX-09.mgc.mentorg.com (147.34.90.209) To svr-orw-mbx-13.mgc.mentorg.com (147.34.90.213) X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,BODY_8BITS,GIT_PATCH_0,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,NICE_REPLY_A,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: 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