public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/meissner/heads/work144-vsize)] Turn vector pair stuff off by default.
@ 2023-11-17 17:16 Michael Meissner
  0 siblings, 0 replies; only message in thread
From: Michael Meissner @ 2023-11-17 17:16 UTC (permalink / raw)
  To: gcc-cvs

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

commit e0ae3b612457f09267ce042dba02f54494e9492c
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Fri Nov 17 12:15:37 2023 -0500

    Turn vector pair stuff off by default.
    
    2023-11-17  Michael Meissner  <meissner@linux.ibm.com>
    
    gcc/
    
            * config/rs6000/rs6000.opt (-mvector-size-32): Default to off.  Remove
            undocumented flag.
            * doc/invoke.texi (RS/6000 and PowerPC Options): Document
            -mvector-size-32.

Diff:
---
 gcc/config/rs6000/rs6000.opt |  2 +-
 gcc/doc/invoke.texi          | 14 +++++++++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/gcc/config/rs6000/rs6000.opt b/gcc/config/rs6000/rs6000.opt
index bc2966f6120..74f8481016b 100644
--- a/gcc/config/rs6000/rs6000.opt
+++ b/gcc/config/rs6000/rs6000.opt
@@ -606,7 +606,7 @@ Target Undocumented Mask(STORE_VECTOR_PAIR) Var(rs6000_isa_flags)
 Generate (do not generate) store vector pair instructions.
 
 mvector-size-32
-Target Undocumented Var(TARGET_VECTOR_SIZE_32) Init(0) Save
+Target Var(TARGET_VECTOR_SIZE_32) Init(0) Save
 Generate (do not generate) vector pair instructions for vector_size(32).
 
 mrelative-jumptables
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 1bf71ce47a8..4c481e8f48d 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -1310,7 +1310,7 @@ See RS/6000 and PowerPC Options.
 -mstack-protector-guard=@var{guard} -mstack-protector-guard-reg=@var{reg}
 -mstack-protector-guard-offset=@var{offset} -mprefixed -mno-prefixed
 -mpcrel -mno-pcrel -mmma -mno-mmma -mrop-protect -mno-rop-protect
--mprivileged -mno-privileged}
+-mprivileged -mno-privileged -mvector-size-32 -mno-vector-size-32}
 
 @emph{RX Options}
 @gccoptlist{-m64bit-doubles  -m32bit-doubles  -fpu  -nofpu
@@ -30978,6 +30978,18 @@ optimization (@option{-fshrink-wrap}).
 @itemx -mno-privileged
 Generate (do not generate) code that will run in privileged state.
 
+@opindex mvector-size-32
+@opindex mno-vector-size-32
+@item -mvector-size-32
+@itemx -mno-vector-size-32
+Generate (do not generate) code that will use the load vector pair and
+store vector pair instructions for vectorization.  This options
+requires @option{-mma} to be enabled.
+
+At the present time, @option{-mvector-size-32} is not enabled by
+default.  If you use @option{-mvector-size-32}, if will only enable
+vectorized for @code{float} and @code{double} operations.
+
 @opindex block-ops-unaligned-vsx
 @opindex no-block-ops-unaligned-vsx
 @item -mblock-ops-unaligned-vsx

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

only message in thread, other threads:[~2023-11-17 17:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-17 17:16 [gcc(refs/users/meissner/heads/work144-vsize)] Turn vector pair stuff off by default 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).