public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/meissner/heads/work144-vsize)] Require -mvector-size-32 for vector pair init, extract, and set.
@ 2023-11-15 19:34 Michael Meissner
  0 siblings, 0 replies; only message in thread
From: Michael Meissner @ 2023-11-15 19:34 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:8a4758214aa1c8463aaed02c4e809c0df012a555

commit 8a4758214aa1c8463aaed02c4e809c0df012a555
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Wed Nov 15 14:33:56 2023 -0500

    Require -mvector-size-32 for vector pair init, extract, and set.
    
    2023-11-15  Michael Meissner  <meissner@linux.ibm.com>
    
    gcc/
    
            * config/rs6000/vector.md (VEC_E): Check for -mvector-size-32 for vector
            pair modes.

Diff:
---
 gcc/config/rs6000/vector.md | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gcc/config/rs6000/vector.md b/gcc/config/rs6000/vector.md
index 5fa42870ab5..fb73d5604b0 100644
--- a/gcc/config/rs6000/vector.md
+++ b/gcc/config/rs6000/vector.md
@@ -68,12 +68,12 @@
 			     V2DI
 			     V4SF
 			     V2DF
-			     (V32QI	"TARGET_MMA")
-			     (V16HI	"TARGET_MMA")
-			     (V8SI	"TARGET_MMA")
-			     (V4DI	"TARGET_MMA")
-			     (V8SF	"TARGET_MMA")
-			     (V4DF	"TARGET_MMA")])
+			     (V32QI	"TARGET_MMA && TARGET_VECTOR_SIZE_32")
+			     (V16HI	"TARGET_MMA && TARGET_VECTOR_SIZE_32")
+			     (V8SI	"TARGET_MMA && TARGET_VECTOR_SIZE_32")
+			     (V4DI	"TARGET_MMA && TARGET_VECTOR_SIZE_32")
+			     (V8SF	"TARGET_MMA && TARGET_VECTOR_SIZE_32")
+			     (V4DF	"TARGET_MMA && TARGET_VECTOR_SIZE_32")])
 
 ;; Vector modes for 64-bit base types
 (define_mode_iterator VEC_64 [V2DI V2DF])

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-11-15 19:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-15 19:34 [gcc(refs/users/meissner/heads/work144-vsize)] Require -mvector-size-32 for vector pair init, extract, and set Michael Meissner

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).