public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/meissner/heads/work055)] Require prefixed support for XXSPLTI* and float128-hw for lxvkq.
@ 2021-06-14 20:52 Michael Meissner
0 siblings, 0 replies; only message in thread
From: Michael Meissner @ 2021-06-14 20:52 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:f9c8ad2a4f06252a1404859b48b2f92c5d6bdb6f
commit f9c8ad2a4f06252a1404859b48b2f92c5d6bdb6f
Author: Michael Meissner <meissner@linux.ibm.com>
Date: Mon Jun 14 16:51:47 2021 -0400
Require prefixed support for XXSPLTI* and float128-hw for lxvkq.
gcc/
2021-06-09 Michael Meissner <meissner@linux.ibm.com>
* config/rs6000/rs6000.c (rs6000_option_override_internal):
Require -mprefixed for -mxxspltiw, -mxxspltidp, and
-mxxsplti32dx. Require -mfloat128-hardware for -mlxvkq.
Diff:
---
gcc/config/rs6000/rs6000.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index ac01b46e864..a5555045c1c 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -4517,15 +4517,19 @@ rs6000_option_override_internal (bool global_init_p)
if ((rs6000_isa_flags_explicit & OPTION_MASK_XXSPLTIDP) == 0)
rs6000_isa_flags |= OPTION_MASK_XXSPLTIDP;
+ }
+ else
+ rs6000_isa_flags &= ~(OPTION_MASK_XXSPLTIW
+ | OPTION_MASK_XXSPLTIDP
+ | OPTION_MASK_XXSPLTI32DX);
+ if (TARGET_POWER10 && TARGET_FLOAT128_HW)
+ {
if ((rs6000_isa_flags_explicit & OPTION_MASK_LXVKQ) == 0)
rs6000_isa_flags |= OPTION_MASK_LXVKQ;
}
else
- rs6000_isa_flags &= ~(OPTION_MASK_LXVKQ
- | OPTION_MASK_XXSPLTIW
- | OPTION_MASK_XXSPLTIDP
- | OPTION_MASK_XXSPLTI32DX);
+ rs6000_isa_flags &= ~OPTION_MASK_LXVKQ;
if (TARGET_DEBUG_REG || TARGET_DEBUG_TARGET)
rs6000_print_isa_options (stderr, 0, "after subtarget", rs6000_isa_flags);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-14 20:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-14 20:52 [gcc(refs/users/meissner/heads/work055)] Require prefixed support for XXSPLTI* and float128-hw for lxvkq 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).