From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com [IPv6:2607:f8b0:4864:20::52b]) by sourceware.org (Postfix) with ESMTPS id 8AA683AA9401 for ; Sun, 18 Sep 2022 08:47:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 8AA683AA9401 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dabbelt.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=dabbelt.com Received: by mail-pg1-x52b.google.com with SMTP id h188so24185142pgc.12 for ; Sun, 18 Sep 2022 01:47:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dabbelt-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:to:from :in-reply-to:subject:date:from:to:cc:subject:date; bh=46JdD0O5GRSE7iIZdSIcTHj7KyM9VG7har84CKQDnDE=; b=iZ/HyH2jA8priLohJ01mq6IZ7yMQs4iO3MwuutM2tlPMaaVCho4cJbaEMxaJDhIxaW EYXsDn4cu5Z5/lWHkm12hSX2Dnxbaxz1wxmfXLPn0b7ZhGA+P7DeBucHqggluxWNkqXk 54NVymVlHTwGt3XftlzxAtI4atzbw8UftXEdlOYQ2MsOs/Ih6+kYBP5U3YI2Z0j6petB cPJkfPTLA120XeVdp1goIeOldOV/EGE7F7EXF659e/9FGaq8wiaZfV69VdjVsyGV7f5N Q0smXIHF3g+jtAl2vwjcgs0vFlHI6BWtqf3DmWHwevxc9iIG68l8miqVs2IbxTr0VI5e c/NQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:to:from :in-reply-to:subject:date:x-gm-message-state:from:to:cc:subject:date; bh=46JdD0O5GRSE7iIZdSIcTHj7KyM9VG7har84CKQDnDE=; b=5+C2StkldTkfEnX9VtJmVuxy+FFOGIqRJyPlCXlmn/Rc9K7Q2mgN2UfeM3pXMzN2ju bUDy55magmbfEDSTEkvdNKWE4iTUKSUQUiLA12x3en6ViM4CizA0A+t5B6RgCSqu8qA6 QHLIxN86zB9VUFnVwkJ8ZNXHtKt1b0Cpl5s3FmYK56XalV4y97yrbrhPB22s/rKu9APX /Gy4jpt7IFPuHhBjh8aVO/I6R9ZkYarnputNXFvvCz9PdsnhrmzCsI73F1GBbhyNLOjE BVCmuFuh4aJ/zY/1dd3CJdnhvR7EH1ZjdZ98kib88eZTvDNEK5C6+3MSIeu7kvjaK0l9 ldJQ== X-Gm-Message-State: ACrzQf3rOJqm3F0cHILHIFDiWSEHQcAhIjH72gHqjideXv07udZNxJhS JqntQkqrHtg4Awa+IFVBaSa4JCml9KtDy/qJ2jjmAA== X-Google-Smtp-Source: AMsMyM79++GfvCoyr1dyBeVEvDBsvAxrQ51bNnZVYXSKBexkB6kpuAR66mTvl10MqBDoJVp9SGqwJQ== X-Received: by 2002:a65:6744:0:b0:439:920b:fcab with SMTP id c4-20020a656744000000b00439920bfcabmr11118584pgu.121.1663490857745; Sun, 18 Sep 2022 01:47:37 -0700 (PDT) Received: from localhost (vpn-konference.ms.mff.cuni.cz. [195.113.20.101]) by smtp.gmail.com with ESMTPSA id a184-20020a621ac1000000b00543780ba513sm14942627pfa.218.2022.09.18.01.47.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Sep 2022 01:47:37 -0700 (PDT) Date: Sun, 18 Sep 2022 01:47:37 -0700 (PDT) X-Google-Original-Date: Sun, 18 Sep 2022 01:38:47 PDT (-0700) Subject: Re: [PATCH] Document -fexcess-precision=16 in tm.texi In-Reply-To: <20220909094640.24077-1-palmer@rivosinc.com> From: Palmer Dabbelt To: gcc-patches@gcc.gnu.org Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,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 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.