From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1005) id BA195386D633; Thu, 15 Feb 2024 22:37:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BA195386D633 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1708036655; bh=615CcsYFQ6VXG7ter0uAMV+C8ZEViZqOn9rAuyQ56LA=; h=From:To:Subject:Date:From; b=RsYE/AHqy5QNDcKdWimsK9eiqkektxR7GGKCW7HMwqnQAiGW5KrwM/8uRUOkR2Cuy OzdCpVkOoaOMYWOB3IJ9HEdcrna5B8KaXAtBr0Ym5bXiuq9HhbHjOhrDWjQ04lAVSD hrX2+AS27mTT6JIbZnSDW9I6o3y8SfehbqhOU2rA= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Michael Meissner To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/meissner/heads/work158-future)] Update ChangeLog.* X-Act-Checkin: gcc X-Git-Author: Michael Meissner X-Git-Refname: refs/users/meissner/heads/work158-future X-Git-Oldrev: 0b0ac7bea7a42173838b48fa050a87b42f8793b0 X-Git-Newrev: cd30ce15cad0baf56a9e3708df2188d8bb6770e1 Message-Id: <20240215223735.BA195386D633@sourceware.org> Date: Thu, 15 Feb 2024 22:37:35 +0000 (GMT) List-Id: https://gcc.gnu.org/g:cd30ce15cad0baf56a9e3708df2188d8bb6770e1 commit cd30ce15cad0baf56a9e3708df2188d8bb6770e1 Author: Michael Meissner Date: Thu Feb 15 17:37:32 2024 -0500 Update ChangeLog.* Diff: --- gcc/ChangeLog.future | 105 +++++++++++++++++++++++++++++++++------------------ 1 file changed, 68 insertions(+), 37 deletions(-) diff --git a/gcc/ChangeLog.future b/gcc/ChangeLog.future index 0696de9149be..0ca84014bad0 100644 --- a/gcc/ChangeLog.future +++ b/gcc/ChangeLog.future @@ -1,74 +1,86 @@ -==================== Branch work158-future, patch #107 ==================== +==================== Branch work158-future, patch #116 ==================== -Enable using vector pair load/store for -mcpu=future +Add configure support for PowerPC future. -2024-02-09 Michael Meissner +2024-02-15 Michael Meissner gcc/ - * config/rs6000/rs6000-cpus.def (ISA_FUTURE_MASKS_SERVER): Turn on - -mblock-ops-vector-pair for -mcpu=future. + * config.gcc (powerpc*-*-*, rs6000-*-*): Add support for + --with-cpu=future. -==================== Branch work158-future, patch #106 ==================== +==================== Branch work158-future, patch #115 ==================== -Set future machine type in assembler if -mcpu=future +Enable using vector pair load/store for -mcpu=future -2024-02-09 Michael Meissner +Late in the development of power10, we discovered that there were some issues +in using load vector pair and store vector pair instructions to do memory +copies, so the defaults were modified to not use these instructions. This +patch re-enables using load and store vector pair instructions. + +Previously the -mblock-ops-vector-pair switch was not set in POWERPC_MASKS. +This means the option was not reset if the cpu was changed via target +attributes or targt pragmas. I added this mask to POWERPC_MASKS since the +option is set via -mcpu=future. + +2024-02-15 Michael Meissner gcc/ - * config/rs6000/rs6000.cc (rs6000_machine_from_flags): Output .machine - future if -mcpu=future. + * config/rs6000/rs6000-cpus.def (ISA_FUTURE_MASKS_SERVER): Turn on + -mblock-ops-vector-pair for -mcpu=future. + (POWERPC_MASKS): Add -mblock-ops-vector-pair. -==================== Branch work158-future, patch #105 ==================== +==================== Branch work158-future, patch #114 ==================== -Make -mtune=future be the same as -mtune=power10. +Set future machine type in assembler if -mcpu=future -2024-02-09 Michael Meissner +This patch uses the .machine directive to tell the assembler to use any +possible future instructions. + +2024-02-15 Michael Meissner gcc/ - * config/rs6000/rs6000.cc (rs6000_option_override_internal): Make - -mtune=future become -mtune=power10. + * config/rs6000/rs6000.cc (rs6000_machine_from_flags): Output .machine + future if -mcpu=future. -==================== Branch work158-future, patch #104 ==================== +==================== Branch work158-future, patch #113 ==================== Pass -mfuture to assembler if -mcpu=future. -2024-02-09 Michael Meissner +This patch passes -mfuture to the assembler if the user used -mcpu=future. + +2024-02-15 Michael Meissner gcc/ * config/rs6000/rs6000.h (ASM_CPU_SPEC): If -mcpu=future, pass -mfuture to the assembler. -==================== Branch work158-future, patch #103 ==================== +==================== Branch work158-future, patch #112 ==================== Define _ARCH_PWR_FUTURE if -mcpu=future. -2024-02-09 Michael Meissner +This patch defines _ARCH_PWR_FUTURE if -mcpu=future was used. + +2024-02-15 Michael Meissner gcc/ * config/rs6000/rs6000-c.cc (rs6000_target_modify_macros): Define _ARCH_PWR_FUTURE if -mcpu=future. -==================== Branch work158-future, patch #102 ==================== - -Add debugging for -mcpu=future - -2024-02-09 Michael Meissner - -gcc/ - - * config/rs6000/rs6000.cc (rs6000_opt_masks): Add entry to print out - -mfuture in the isa flags. - -==================== Branch work158-future, patch #101 ==================== +==================== Branch work158-future, patch #111 ==================== Add initial -mcpu=future support. -2024-02-09 Michael Meissner +This patch adds the basic support for -mcpu=future, which is a framework to add +support for possible future PowerPCs. Until there are changes for a possible +future PowerPC, -mcpu=future and -mtune=future default to power10. An ISA bit +is set to denote possible future instructions are enabled. + +2024-02-15 Michael Meissner gcc/ @@ -76,11 +88,30 @@ gcc/ bits for -mcpu=future. (POWERPC_MASKS): Add -mfuture mask. (future cpu): Add -mcpu=future. - * config/rs6000/rs6000-opts.h (PROCESSOR_FUTURE): New processor type. - * config/rs6000/rs6000-tables.opt (rs6000_cpu_opt_value): Likewise. - * config/rs6000/rs6000.md (cpu attribute): Likewise. - * config/rs6000/rs6000.opt (-mfuture): New insert mask for -mcpu=future. - * doc/invoke.texi (PowerPC options): Add -mcpu=future. + * config/rs6000/rs6000-opts.h (PROCESSOR_FUTURE): Map PROCESSOR_FUTURE + into PROCESSOR_POWER10 until there are differences that necessate a new + processor enumeration. + * config/rs6000/rs6000-tables.opt (rs6000_cpu_opt_value): Add future + variant. + * config/rs6000/rs6000.cc (rs6000_opt_masks): Add printing -mfuture if + -mdebug=reg is used. Do not allow it to be set with a target attribute + or pragma. + * config/rs6000/rs6000.opt (-mfuture): New ISA bit for -mcpu=future. + * doc/invoke.texi (PowerPC options): Document -mcpu=future. + +==================== Branch work158-future, patch #107 was reverted ==================== + +==================== Branch work158-future, patch #106 was reverted ==================== + +==================== Branch work158-future, patch #105 was reverted ==================== + +==================== Branch work158-future, patch #104 was reverted ==================== + +==================== Branch work158-future, patch #103 was reverted ==================== + +==================== Branch work158-future, patch #102 was reverted ==================== + +==================== Branch work158-future, patch #101 was reverted ==================== ==================== Branch work158-future, patch #2 from work158 ====================