public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Palmer Dabbelt <palmer@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-3000] RISC-V: Support -fexcess-precision=16 Date: Fri, 30 Sep 2022 22:23:23 +0000 (GMT) [thread overview] Message-ID: <20220930222323.B81543858D1E@sourceware.org> (raw) https://gcc.gnu.org/g:75c0899493cd84e64bd30210e848d0d1e9979494 commit r13-3000-g75c0899493cd84e64bd30210e848d0d1e9979494 Author: Palmer Dabbelt <palmer@rivosinc.com> Date: Fri Sep 9 02:43:26 2022 -0700 RISC-V: Support -fexcess-precision=16 This fixes f19a327077e ("Support -fexcess-precision=16 which will enable FLT_EVAL_METHOD_PROMOTE_TO_FLOAT16 when backend supports _Float16.") on RISC-V targets. gcc/ChangeLog PR target/106815 * config/riscv/riscv.cc (riscv_excess_precision): Add support for EXCESS_PRECISION_TYPE_FLOAT16. Diff: --- gcc/config/riscv/riscv.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/config/riscv/riscv.cc b/gcc/config/riscv/riscv.cc index 200ad6031fd..0a4c37e8915 100644 --- a/gcc/config/riscv/riscv.cc +++ b/gcc/config/riscv/riscv.cc @@ -6284,6 +6284,7 @@ riscv_excess_precision (enum excess_precision_type type) return (TARGET_ZFH ? FLT_EVAL_METHOD_PROMOTE_TO_FLOAT16 : FLT_EVAL_METHOD_PROMOTE_TO_FLOAT); case EXCESS_PRECISION_TYPE_IMPLICIT: + case EXCESS_PRECISION_TYPE_FLOAT16: return FLT_EVAL_METHOD_PROMOTE_TO_FLOAT16; default: gcc_unreachable ();
reply other threads:[~2022-09-30 22:23 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220930222323.B81543858D1E@sourceware.org \ --to=palmer@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).