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/work158-future)] Update ChangeLog.*
Date: Thu, 15 Feb 2024 22:37:35 +0000 (GMT)	[thread overview]
Message-ID: <20240215223735.BA195386D633@sourceware.org> (raw)

https://gcc.gnu.org/g:cd30ce15cad0baf56a9e3708df2188d8bb6770e1

commit cd30ce15cad0baf56a9e3708df2188d8bb6770e1
Author: Michael Meissner <meissner@linux.ibm.com>
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  <meissner@linux.ibm.com>
+2024-02-15  Michael Meissner  <meissner@linux.ibm.com>
 
 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  <meissner@linux.ibm.com>
+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  <meissner@linux.ibm.com>
 
 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  <meissner@linux.ibm.com>
+This patch uses the .machine directive to tell the assembler to use any
+possible future instructions.
+
+2024-02-15  Michael Meissner  <meissner@linux.ibm.com>
 
 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  <meissner@linux.ibm.com>
+This patch passes -mfuture to the assembler if the user used -mcpu=future.
+
+2024-02-15  Michael Meissner  <meissner@linux.ibm.com>
 
 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  <meissner@linux.ibm.com>
+This patch defines _ARCH_PWR_FUTURE if -mcpu=future was used.
+
+2024-02-15  Michael Meissner  <meissner@linux.ibm.com>
 
 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  <meissner@linux.ibm.com>
-
-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  <meissner@linux.ibm.com>
+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  <meissner@linux.ibm.com>
 
 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 ====================

             reply	other threads:[~2024-02-15 22:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-15 22:37 Michael Meissner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-02-10  5:52 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=20240215223735.BA195386D633@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: link
Be 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).