From patchwork Fri Sep 9 09:46:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Palmer Dabbelt X-Patchwork-Id: 1110 Return-Path: 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 (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 ; 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 ; 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 ; 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 From: Palmer Dabbelt 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1743484988183089556?= X-GMAIL-MSGID: =?utf-8?q?1743484988183089556?= 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},