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

https://gcc.gnu.org/g:41fcc14025990980d62a17485e9a73ed2bb7805c

commit 41fcc14025990980d62a17485e9a73ed2bb7805c
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Tue Mar 30 16:25:18 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-03-30  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 e239104f249..9e151f033c3 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 26202a5db74..5df9eb7500d 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-03-30 20:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-30 20:25 [gcc(refs/users/meissner/heads/work043)] 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).