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/work160)] Update ChangeLog.* Date: Tue, 27 Feb 2024 04:42:09 +0000 (GMT) [thread overview] Message-ID: <20240227044209.408093858D20@sourceware.org> (raw) https://gcc.gnu.org/g:d2e182c1156db6c702d6acd84acf86806aef178c commit d2e182c1156db6c702d6acd84acf86806aef178c Author: Michael Meissner <meissner@linux.ibm.com> Date: Mon Feb 26 23:42:05 2024 -0500 Update ChangeLog.* Diff: --- gcc/ChangeLog.meissner | 139 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 139 insertions(+) diff --git a/gcc/ChangeLog.meissner b/gcc/ChangeLog.meissner index 9d30819922f..257ed705590 100644 --- a/gcc/ChangeLog.meissner +++ b/gcc/ChangeLog.meissner @@ -1,5 +1,144 @@ +==================== Branch work160, patch #3 ==================== + +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. + +2024-02-26 Michael Meissner <meissner@linux.ibm.com> + +gcc/ + + * config/rs6000/rs6000-cpus.def (ISA_FUTURE_MASKS_SERVER): Enable using + load vector pair and store vector pair instructions for memory copy + operations. + (POWERPC_MASKS): Make the bit for enabling using load vector pair and + store vector pair operations set and reset when the PowerPC processor is + changed. + +==================== Branch work160, patch #2 ==================== + +Add power11 aux vector and tests. + +This patch adds the support for using __builtin_cpu_is ("power11"). + +This patch also adds support for the gcc driver program to detect when it is +running on a power11 system and transforming -mcpu=native into -mcpu=power11. + +This patch adds a few simple tests for power11 support, assuming the assembler +supports the -mpower11 option. + +2024-02-26 Michael Meissner <meissner@linux.ibm.com> + +gcc/ + + * config/rs6000/driver-rs6000.c (asm_names): Add power11 support. + * config/rs6000/ppc-auxv.h (PPC_PLATFORM_POWER10): Remove comment saying + this is not yet official. + (PPC_PLATFORM_POWER11): Add power11 support. + * config/rs6000/rs6000-builtin.cc (cpu_is_info): Likewise. + +gcc/testsuite/ + + * lib/target-support.exp (check_effective_target_power11_ok): Add + power11 support. + * gcc.target/powerpc/power11-1.c: New test. + * gcc.target/powerpc/power11-2.c: Likewise. + * gcc.target/powerpc/power11-3.c: Likewise. + +==================== Branch work160, patch #1 ==================== + +Add -mcpu=power11 and -mcpu=future support. + +This patch adds support for -mcpu=power11 and -mtune=power11. At the current +time, no new instructions are implemented. The tuning for the power11 processor +is exactly the same as for power10. + +If -mcpu=power11 is used, the macro _ARCH_PWR11 will be defined. + +In order to use -mcpu=power11, you will need an assembler that supports the +-mpower11 option. + +In addition, this patch adds support for -mcpu=future and -mtune=future. This +is to allow for a way to experiment with future additions to the PowerPC +computers that may or may not become part of the official PowerPC processor line +up. At the current time, no new instructions are implemented. The tuning for +the future processor is exactly the same as for power10. + +If -mcpu=future is used, the macro _ARCH_PWR_FUTURE will be defined. + +In order to use -mcpu=future, you will need an assembler that supports the +-mfuture option. + +2024-02-26 Michael Meissner <meissner@linux.ibm.com> + +gcc/ + + * config.gcc (powerpc*-*-*, rs6000-*-*): Add support for power11 and + future processors. + * 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_PWR11 if -mcpu=power11 and _ARCH_PWR_FUTURE if -mcpu=future. + * config/rs6000/aix71.h (ASM_CPU_SPEC): Add support for -mcpu=power11 + and -mcpu=future. + * config/rs6000/rs6000-cpus.def (ISA_POWER11_MASKS_SERVER): Add support + for -mcpu=power11. + (ISA_FUTURE_MASKS_SERVER): Add support for -mcpu=future. + (POWERPC_MASKS): Add support for -mcpu=power11 and -mcpu=future. + (power11 cpu): Add power11 cpu. + (future cpu): Add future cpu. + * config/rs6000/rs6000-opts.h (PROCESSOR_POWER11): New macro. + (PROCESSOR_FUTURE): Likewise. + * config/rs6000/rs6000-tables.opt: Regenerate. + * config/rs6000/rs6000.cc (rs6000_machine_from_flags): If -mcpu=power11, + emit .machine power11. If -mcpu=future emit .machine future. + (rs6000_opt_masks): Add support for power11 and future ISA bits. + * config/rs6000/rs6000.h (ASM_CPU_SPEC): Pass -mfuture to the assembler + if -mcpu=future. Pass -mpower11 to the assembler if -mcpu=power11. + * config/rs6000/rs6000.opt (-mpower11): New internal ISA bit for + power11 cpu. + (-mfuture): New internal ISA bit for future cpu. + * doc/invoke.texi (PowerPC options): Document -mcpu=future and + -mcpu=power11. + ==================== Branch work160, baseline ==================== +Add ChangeLog.meissner and REVISION. + +2024-02-26 Michael Meissner <meissner@linux.ibm.com> + +gcc/ + + * REVISION: New file for branch. + * ChangeLog.meissner: New file. + +gcc/c-family/ + + * ChangeLog.meissner: New file. + +gcc/c/ + + * ChangeLog.meissner: New file. + +gcc/cp/ + + * ChangeLog.meissner: New file. + +gcc/fortran/ + + * ChangeLog.meissner: New file. + +gcc/testsuite/ + + * ChangeLog.meissner: New file. + +libgcc/ + + * ChangeLog.meissner: New file. + 2024-02-26 Michael Meissner <meissner@linux.ibm.com> Clone branch
reply other threads:[~2024-02-27 4:42 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=20240227044209.408093858D20@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).