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/work146-vsubreg)] Update ChangeLog.*
Date: Sat, 18 Nov 2023 03:06:21 +0000 (GMT)	[thread overview]
Message-ID: <20231118030621.09D653858D1E@sourceware.org> (raw)

https://gcc.gnu.org/g:5d3fc50ca739bda0f76378ad6504c310f1e220cb

commit 5d3fc50ca739bda0f76378ad6504c310f1e220cb
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Fri Nov 17 22:06:17 2023 -0500

    Update ChangeLog.*

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

diff --git a/gcc/ChangeLog.vsubreg b/gcc/ChangeLog.vsubreg
index 662557e0b25..013ff21af2f 100644
--- a/gcc/ChangeLog.vsubreg
+++ b/gcc/ChangeLog.vsubreg
@@ -1,3 +1,63 @@
+==================== Branch work146-vsubreg, patch #402 (vsize patches #300) ====================
+
+Add vector_size(32) support.
+
+Slightly modified from the vsize branch to accomidate both vpair and visze.
+
+2023-11-17  Michael Meissner  <meissner@linux.ibm.com>
+
+gcc/
+
+	* config/rs6000/predicates.md (const_0_to_31_operand): New predicate.
+	(mma_assemble_input_operand): Allow any 16-byte vector type, not just
+	V16QImode.
+	* config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
+	__VECTOR_SIZE_32__ if -mvector-size-32 used.
+	* config/rs6000/rs6000-protos.h (rs6000_expand_vector_pair_init): New
+	declaration.
+	(rs6000_expand_vector_pair_set): Likewise.
+	(split_unary_vector_pair): Likewise.
+	(split_binary_vector_pair): Likewisee.
+	(split_fma_vector_pair): Likewise.
+	* config/rs6000/rs6000.cc (rs6000_hard_regno_mode_ok_uncached): Add
+	support for -mvector-size-32.
+	(rs6000_hard_regno_mode_ok): Likewise.
+	(rs6000_setup_reg_addr_masks): Likewise.
+	(rs6000_init_hard_regno_mode_ok): Likewise.
+	(rs6000_option_override_internal): Likewise.
+	(rs6000_builtin_vectorization_cost): Likewise.
+	(vector_pair_to_vector_mode): New function.
+	(+rs6000_split_vpair_constan): Likewise.
+	(rs6000_expand_vector_pair_ini): Likewise.
+	(rs6000_expand_vector_pair_set): Likewise.
+	(reg_offset_addressing_ok_p): Likewise.
+	(rs6000_emit_move): Likewise.
+	(altivec_expand_vec_perm_le): Likewise.
+	(rs6000_opt_var): Add -mvector-size-32.
+	(split_unary_vector_pair): New function.
+	(split_binary_vector_pair): Likewise.
+	(split_fma_vector_pai): Likewise.
+	(rs6000_split_multireg_move): Add -mvector-size-32 support.
+	* config/rs6000/rs6000.h (VECTOR_PAIR_MODE): New macro.
+	* config/rs6000/rs6000.md (wd mode attribute): Add vector pair modes.
+	(RELOAD mode iterator): Likewise.
+	(toplevel): Include vector-pair.md.
+	* config/rs6000/rs6000.opt (-mvector-size-32): New option.
+	* config/rs6000/vector-pair.md: New file.
+	* config/rs6000/vsx.md (vsx_extract_v4df): New insn.
+	(vsx_extract_v8sf): Likewise.
+	* doc/invoke.texi (RS/6000 and PowerPC Options): Document
+	-mvector-size-32.
+
+gcc/testsuite/
+
+	* gcc.target/powerpc/vector-size-32-1.c: New test.
+	* gcc.target/powerpc/vector-size-32-2.c: Likewise.
+	* gcc.target/powerpc/vector-size-32-3.c: Likewise.
+	* gcc.target/powerpc/vector-size-32-4.c: Likewise.
+	* gcc.target/powerpc/vector-size-32-5.c: Likewise.
+	* gcc.target/powerpc/vector-size-32-6.c: Likewise.
+
 ==================== Branch work146-vsubreg, patch #401 (vpair patches #201-206) ====================
 
 Add support for vector pair built-in functions.

             reply	other threads:[~2023-11-18  3:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-18  3:06 Michael Meissner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-11-19 17:26 Michael Meissner
2023-11-19  5:47 Michael Meissner
2023-11-18 23:00 Michael Meissner
2023-11-18 18:26 Michael Meissner
2023-11-18  2:51 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=20231118030621.09D653858D1E@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).