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/work085)] Update ChangeLog.meissner. Date: Mon, 11 Apr 2022 18:14:30 +0000 (GMT) [thread overview] Message-ID: <20220411181430.E67453858D1E@sourceware.org> (raw) https://gcc.gnu.org/g:7fb4061124bbcb8010f4190dbe4db4c1cac5b4b7 commit 7fb4061124bbcb8010f4190dbe4db4c1cac5b4b7 Author: Michael Meissner <meissner@linux.ibm.com> Date: Mon Apr 11 14:14:13 2022 -0400 Update ChangeLog.meissner. 2022-04-11 Michael Meissner <meissner@linux.ibm.com> gcc/ * ChangeLog.meissner: Update. Diff: --- gcc/ChangeLog.meissner | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gcc/ChangeLog.meissner b/gcc/ChangeLog.meissner index 9c1e8865b25..a1b6ed52c67 100644 --- a/gcc/ChangeLog.meissner +++ b/gcc/ChangeLog.meissner @@ -1,3 +1,41 @@ +==================== Work086, patch #7: + +Optimize multiply/add of DImode extended to TImode. + +On power9 and power10 systems, we have instructions that support doing +64-bit integers converted to 128-bit integers and producing 128-bit +results. This patch adds support to generate these instructions. + +Previously GCC had define_expands to handle conversion of the 64-bit +extend to 128-bit and multiply. This patch changes these define_expands +to define_insn_and_split and then it provides combiner patterns to +generate thes multiply/add instructions. + +To support using this optimization on power9, this patch extend the sign +extend DImode to TImode to also run on power9 (added for PR +target/104698). + +This patch needs the previous patch to add unsigned DImode to TImode +conversion so that the combiner can combine the extend, multiply, and add +instructions. + + +2022-04-05 Michael Meissner <meissner@linux.ibm.com> + +gcc/ + PR target/103109 + * config/rs6000/rs6000.md (su_int32): New code attribute. + (<u>mul<mode><dmode>3): Convert from define_expand to + define_insn_and_split. + (maddld<mode>4): Add generator function. + (<u>mulditi3_<u>adddi3): New insn. + (<u>mulditi3_add_const): New insn. + (<u>mulditi3_<u>adddi3_upper): New insn. + +gcc/testsuite/ + PR target/103109 + * gcc.target/powerpc/pr103109.c: New test. + ==================== Work086, patch #6: Add zero_extendditi2. Improve lxvr*x code generation.
next reply other threads:[~2022-04-11 18:14 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-04-11 18:14 Michael Meissner [this message] -- strict thread matches above, loose matches on Subject: below -- 2022-04-14 20:19 Michael Meissner 2022-04-12 18:47 Michael Meissner 2022-04-11 18:04 Michael Meissner 2022-04-07 22:24 Michael Meissner 2022-04-07 20:24 Michael Meissner 2022-04-06 22:54 Michael Meissner
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=20220411181430.E67453858D1E@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).