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/work119)] Update ChangeLog.* Date: Tue, 18 Apr 2023 05:45:26 +0000 (GMT) [thread overview] Message-ID: <20230418054526.801BC3858D28@sourceware.org> (raw) https://gcc.gnu.org/g:222af81c70a3c23cd31b453fdf524a52de07a2ff commit 222af81c70a3c23cd31b453fdf524a52de07a2ff Author: Michael Meissner <meissner@linux.ibm.com> Date: Tue Apr 18 01:45:23 2023 -0400 Update ChangeLog.* Diff: --- gcc/ChangeLog.meissner | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) diff --git a/gcc/ChangeLog.meissner b/gcc/ChangeLog.meissner index 49592e20a32..88bdd55c470 100644 --- a/gcc/ChangeLog.meissner +++ b/gcc/ChangeLog.meissner @@ -1,5 +1,80 @@ ==================== Branch work119, patch #21 ==================== +Add float/double conversions fro V4SI vec_extract + +This patch adds combiner insns to fold in conversion to float, double, or the +IEEE 128-bit types (both signed and unsigned) of V4SI vec_extract with a +constant element. With this patch, GCC will load the SImode value directly into +the vector register with LFIWZX or LFIWAX instead of doing a LWZ and then moving +the value over with a direct move before the floating point conversion. + +2023-04-18 Michael Meissner <meissner@linux.ibm.com> + +gcc/ + + * config/rs6000/vsx.md (SIGN_ZERO): New code attribute. + (FL_CONSTRAINT): New code attribute. + (vsx_extract_v4si_load_to_<uns><mode): New insn. + +gcc/testsuite/ + + * gcc.target/powerpc/vec-extract-mem-int-3.c: New file. + +==================== Branch work119, patch #21 ==================== + +Add sign/zero conversions for V4SI vec_extract + +This patch adds combiner insns to fold in sign and zero extension of vec_extract +of V4SI with a constant element when expanding to DImode. + +2023-04-18 Michael Meissner <meissner@linux.ibm.com> + +gcc/ + + * config/rs6000/vsx.md (vsx_extract_v4si_load_to_<su>di): New insn. + +gcc/testsuite/ + + * gcc.target/powerpc/vec-extract-mem-int-2.c: New test. + +==================== Branch work119, patch #21 ==================== + +Enhance vec_extract from int memory with constant element numbers. + +This patch adds a combine insn that merges loading up a vec_extract of V4SFmode +where the element number is constant combined with a conversion to DFmode. +Without this patch, the compiler would load the value into a GPR register and +then do a direct move if it needs the value in a vector register. + +2023-04-18 Michael Meissner <meissner@linux.ibm.com> + +gcc/ + + * config/rs6000/vsx.md (vsx_extract_v4sf_to_df_load): New insn. + +gcc/testsuite/ + + * gcc.target/powerpc/vec-extract-mem-int-1.c: New test. + +==================== Branch work119, patch #22 ==================== + +Fix typo in insn name. + +In doing other work, I noticed that there was an insn: + + vsx_extract_v4sf_<mode>_load + +Which did not have an iterator. I removed the useless <mode>. + +2023-04-17 Michael Meissner <meissner@linux.ibm.com> + +gcc/ + + * config/rs6000/vsx.md (vsx_extract_v4sf_load): Rename from + vsx_extract_v4sf_<mode>_load. + +==================== Branch work119, patch #21 ==================== + Improve 64->128 bit zero extension on PowerPC 2023-04-17 Michael Meissner <meissner@linux.ibm.com>
next reply other threads:[~2023-04-18 5:45 UTC|newest] Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-04-18 5:45 Michael Meissner [this message] -- strict thread matches above, loose matches on Subject: below -- 2023-04-24 23:01 Michael Meissner 2023-04-22 0:58 Michael Meissner 2023-04-21 23:33 Michael Meissner 2023-04-21 23:08 Michael Meissner 2023-04-21 23:06 Michael Meissner 2023-04-21 22:02 Michael Meissner 2023-04-21 15:23 Michael Meissner 2023-04-21 4:23 Michael Meissner 2023-04-21 2:57 Michael Meissner 2023-04-20 20:48 Michael Meissner 2023-04-20 19:42 Michael Meissner 2023-04-19 22:09 Michael Meissner 2023-04-18 22:16 Michael Meissner 2023-04-17 20:02 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=20230418054526.801BC3858D28@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).