https://gcc.gnu.org/g:81f1e1e30680bbc1996963569ee24e248f5b287d

commit 81f1e1e30680bbc1996963569ee24e248f5b287d
Author: Michael Meissner <meiss...@linux.ibm.com>
Date:   Sat Nov 16 02:32:52 2024 -0500

    Update ChangeLog.*

Diff:
---
 gcc/ChangeLog.bugs | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 64 insertions(+)

diff --git a/gcc/ChangeLog.bugs b/gcc/ChangeLog.bugs
index 3577ed4dfece..5f4a624cb75a 100644
--- a/gcc/ChangeLog.bugs
+++ b/gcc/ChangeLog.bugs
@@ -1,5 +1,69 @@
+==================== Branch work186-bugs, patch #501 ====================
+
+Add power9 and power10 float to logical optimizations.
+
+2024-11-16  Michael Meissner  <meiss...@linux.ibm.com>
+
+gcc/
+
+       PR target/117487
+       * config/rs6000/vsx.md (SFmode logical peephoole): Update comments in
+       the original code that supports power8.  Add a new define_peephole2 to
+       do the optimization on power9/power10.
+
+==================== Branch work186-bugs, patch #500 ====================
+
+PR 99293: Optimize splat of a V2DF/V2DI extract with constant element
+
+We had optimizations for splat of a vector extract for the other vector
+types, but we missed having one for V2DI and V2DF.  This patch adds a
+combiner insn to do this optimization.
+
+In looking at the source, we had similar optimizations for V4SI and V4SF
+extract and splats, but we missed doing V2DI/V2DF.
+
+Without the patch for the code:
+
+       vector long long splat_dup_l_0 (vector long long v)
+       {
+         return __builtin_vec_splats (__builtin_vec_extract (v, 0));
+       }
+
+the compiler generates (on a little endian power9):
+
+       splat_dup_l_0:
+               mfvsrld 9,34
+               mtvsrdd 34,9,9
+               blr
+
+Now it generates:
+
+       splat_dup_l_0:
+               xxpermdi 34,34,34,3
+               blr
+
+2024-11-16  Michael Meissner  <meiss...@linux.ibm.com>
+
+gcc/
+
+       * config/rs6000/vsx.md (vsx_splat_extract_<mode>): New insn.
+
+gcc/testsuite/
+
+       * gcc.target/powerpc/builtins-1.c: Adjust insn count.
+       * gcc.target/powerpc/pr99293.c: New test.
+
 ==================== Branch work186-bugs, baseline ====================
 
+Add ChangeLog.bugs and update REVISION.
+
+2024-11-14  Michael Meissner  <meiss...@linux.ibm.com>
+
+gcc/
+
+       * ChangeLog.bugs: New file for branch.
+       * REVISION: Update.
+
 2024-11-14   Michael Meissner  <meiss...@linux.ibm.com>
 
        Clone branch

Reply via email to