public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/meissner/heads/work044)] Move UNSPEC_XXSPLTI* to rs6000.md
@ 2021-04-05 21:29 Michael Meissner
  0 siblings, 0 replies; only message in thread
From: Michael Meissner @ 2021-04-05 21:29 UTC (permalink / raw)
  To: gcc-cvs

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

commit a612894c6acaea16f6ac654fef533cbe4e91cf56
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Mon Apr 5 17:28:41 2021 -0400

    Move UNSPEC_XXSPLTI* to rs6000.md
    
    Future patches will add support to generate XXSPLTID and XXSPLTI32DX
    instructions automatically for floating point and vector constants.  This
    patch moves the two unspecs used from altivec.md to rs6000.md.
    
    gcc/
    2021-04-05  Michael Meissner  <meissner@linux.ibm.com>
    
            * config/rs6000/altivec.md (UNSPEC_XXSPLTI{D,32DX}): Move to
            rs6000.md.
            * config/rs6000/rs6000.md (UNSPEC_XXSPLTI{D,32DX}): Move from
            altivec.md.

Diff:
---
 gcc/config/rs6000/altivec.md | 2 --
 gcc/config/rs6000/rs6000.md  | 2 ++
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/config/rs6000/altivec.md b/gcc/config/rs6000/altivec.md
index b3de51b6dd5..eeb68dfd793 100644
--- a/gcc/config/rs6000/altivec.md
+++ b/gcc/config/rs6000/altivec.md
@@ -176,8 +176,6 @@
    UNSPEC_VSTRIL
    UNSPEC_SLDB
    UNSPEC_SRDB
-   UNSPEC_XXSPLTID
-   UNSPEC_XXSPLTI32DX
    UNSPEC_XXBLEND
    UNSPEC_XXPERMX
 ])
diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md
index ca4a4d01f05..bebd7b11141 100644
--- a/gcc/config/rs6000/rs6000.md
+++ b/gcc/config/rs6000/rs6000.md
@@ -154,6 +154,8 @@
    UNSPEC_CNTTZDM
    UNSPEC_PDEPD
    UNSPEC_PEXTD
+   UNSPEC_XXSPLTID
+   UNSPEC_XXSPLTI32DX
   ])
 
 ;;


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

only message in thread, other threads:[~2021-04-05 21:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-05 21:29 [gcc(refs/users/meissner/heads/work044)] Move UNSPEC_XXSPLTI* to rs6000.md 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).