public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Michael Meissner <meissner@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/meissner/heads/work105)] PR target/107299 Date: Wed, 11 Jan 2023 03:20:18 +0000 (GMT) [thread overview] Message-ID: <20230111032018.ACB263858431@sourceware.org> (raw) https://gcc.gnu.org/g:a8b6e28644a5e0fd7e5e1570015995551c5eec6e commit a8b6e28644a5e0fd7e5e1570015995551c5eec6e Author: Michael Meissner <meissner@linux.ibm.com> Date: Tue Jan 10 22:16:34 2023 -0500 PR target/107299 2022-12-27 Kewen Lin <linkw@linux.ibm.com> gcc/ChangeLog: * tree.cc (build_common_tree_nodes): Remove workaround for rs6000 KFmode. Diff: --- gcc/tree.cc | 9 --------- 1 file changed, 9 deletions(-) diff --git a/gcc/tree.cc b/gcc/tree.cc index 78b64ee98b3..46a3a742592 100644 --- a/gcc/tree.cc +++ b/gcc/tree.cc @@ -9474,15 +9474,6 @@ build_common_tree_nodes (bool signed_char) if (!targetm.floatn_mode (n, extended).exists (&mode)) continue; int precision = GET_MODE_PRECISION (mode); - /* Work around the rs6000 KFmode having precision 113 not - 128. */ - const struct real_format *fmt = REAL_MODE_FORMAT (mode); - gcc_assert (fmt->b == 2 && fmt->emin + fmt->emax == 3); - int min_precision = fmt->p + ceil_log2 (fmt->emax - fmt->emin); - if (!extended) - gcc_assert (min_precision == n); - if (precision < min_precision) - precision = min_precision; FLOATN_NX_TYPE_NODE (i) = make_node (REAL_TYPE); TYPE_PRECISION (FLOATN_NX_TYPE_NODE (i)) = precision; layout_type (FLOATN_NX_TYPE_NODE (i));
reply other threads:[~2023-01-11 3:20 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=20230111032018.ACB263858431@sourceware.org \ --to=meissner@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).