public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/meissner/heads/work144-vsize)] Add init, extract, and set support for vector pair modes.
@ 2023-11-15 18:29 Michael Meissner
0 siblings, 0 replies; only message in thread
From: Michael Meissner @ 2023-11-15 18:29 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:7f5d52533bd2e6862916d0f1ca3c974061a264e7
commit 7f5d52533bd2e6862916d0f1ca3c974061a264e7
Author: Michael Meissner <meissner@linux.ibm.com>
Date: Wed Nov 15 13:28:40 2023 -0500
Add init, extract, and set support for vector pair modes.
2023-11-15 Michael Meissner <meissner@linux.ibm.com>
gcc/
* config/rs6000/vector.md (VEC_E): Add vector pair modes.
(VEC_base_l): Likewise.
Diff:
---
gcc/config/rs6000/vector.md | 21 +++++++++++++++++++--
1 file changed, 19 insertions(+), 2 deletions(-)
diff --git a/gcc/config/rs6000/vector.md b/gcc/config/rs6000/vector.md
index 3d713f6b7f8..5fa42870ab5 100644
--- a/gcc/config/rs6000/vector.md
+++ b/gcc/config/rs6000/vector.md
@@ -62,7 +62,18 @@
(define_mode_iterator VEC_C [V16QI V8HI V4SI V2DI V4SF V2DF V1TI])
;; Vector init/extract modes
-(define_mode_iterator VEC_E [V16QI V8HI V4SI V2DI V4SF V2DF])
+(define_mode_iterator VEC_E [V16QI
+ V8HI
+ V4SI
+ V2DI
+ V4SF
+ V2DF
+ (V32QI "TARGET_MMA")
+ (V16HI "TARGET_MMA")
+ (V8SI "TARGET_MMA")
+ (V4DI "TARGET_MMA")
+ (V8SF "TARGET_MMA")
+ (V4DF "TARGET_MMA")])
;; Vector modes for 64-bit base types
(define_mode_iterator VEC_64 [V2DI V2DF])
@@ -87,11 +98,17 @@
(TI "TI")])
;; As above, but in lower case
-(define_mode_attr VEC_base_l [(V16QI "qi")
+(define_mode_attr VEC_base_l [(V32QI "qi")
+ (V16QI "qi")
+ (V16HI "hi")
(V8HI "hi")
+ (V8SI "si")
(V4SI "si")
+ (V4DI "di")
(V2DI "di")
+ (V8SF "sf")
(V4SF "sf")
+ (V4DF "df")
(V2DF "df")
(V1TI "ti")
(TI "ti")])
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-11-15 18:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-15 18:29 [gcc(refs/users/meissner/heads/work144-vsize)] Add init, extract, and set support for vector pair modes 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).