https://gcc.gnu.org/g:66982ac55576d6f578583a46714bf47e43490272

commit 66982ac55576d6f578583a46714bf47e43490272
Author: Michael Meissner <[email protected]>
Date:   Tue Nov 11 15:24:31 2025 -0500

    Update ChangeLog.*

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

diff --git a/gcc/ChangeLog.meissner b/gcc/ChangeLog.meissner
index 99784bec7d6a..661515f15307 100644
--- a/gcc/ChangeLog.meissner
+++ b/gcc/ChangeLog.meissner
@@ -1,3 +1,61 @@
+==================== Branch work226, patch #2 ====================
+
+Use vector pair load/store for memcpy with -mcpu=future
+
+In the development for the power10 processor, GCC did not enable using the load
+vector pair and store vector pair instructions when optimizing things like
+memory copy.  This patch enables using those instructions if -mcpu=future is
+used.
+
+I have tested these patches on both big endian and little endian PowerPC
+servers, with no regressions.  Can I check these patchs into the trunk?
+
+2025-11-11  Michael Meissner  <[email protected]>
+
+gcc/
+
+       * config/rs6000/rs6000-cpus.def (FUTURE_MASKS_SERVER): Enable using load
+       vector pair and store vector pair instructions for memory copy
+       operations.
+       (POWERPC_MASKS): Make the option for enabling using load vector pair and
+       store vector pair operations set and reset when the PowerPC processor is
+       changed.
+       * gcc/config/rs6000/rs6000.cc (rs6000_machine_from_flags): Disable
+       -mblock-ops-vector-pair from influencing .machine selection.
+
+gcc/testsuite/
+
+       * gcc.target/powerpc/future-3.c: New test.
+
+==================== Branch work226, patch #1 ====================
+
+Add -mcpu=future.
+
+2025-11-11  Michael Meissner  <[email protected]>
+
+gcc/
+
+       * config.gcc (powerpc*-*-*): Add support for -mcpu=future.
+       * config/rs6000/aix71.h (ASM_CPU_SPEC): Add support for -mcpu=future.
+       * config/rs6000/aix72.h (ASM_CPU_SPEC): Likewise.
+       * config/rs6000/aix73.h (ASM_CPU_SPEC): Likewise.
+       * config/rs6000/rs6000-c.cc (rs6000_target_modify_macros): Define
+       _ARCH_FUTURE if -mcpu=future.
+       * config/rs6000/rs6000-cpus.def (FUTURE_MASKS_SERVER): New macros.
+       (POWERPC_MASKS): Add OPTION_MASK_FUTURE.
+       * config/rs6000/rs6000-tables.opt: Regenerate.
+       (future processor): Add -mcpu=future.
+       * config/rs6000/rs6000-opts.h (PROCESSOR_FUTURE): Define as power11.
+       * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add support for -mcpu=future.
+       * config/rs6000/rs6000.opt (-mfuture): New option.
+       * doc/invoke.texi (IBM RS/6000 and PowerPC Options): Document
+       -mcpu=future.
+
+gcc/testsuite/
+
+       * gcc.target/powerpc/future-1.c: New test.
+       * gcc.target/powerpc/future-2.c: Likewise.
+
 ==================== Branch work226, baseline ====================
 
 2025-11-11   Michael Meissner  <[email protected]>

Reply via email to