Here is the patch that I committed for movsi_internal:

2019-11-27  Michael Meissner  <meiss...@linux.ibm.com>

        * config/rs6000/rs6000.md (movsi_internal): Reformat.

Index: gcc/config/rs6000/rs6000.md
===================================================================
--- gcc/config/rs6000/rs6000.md (revision 278781)
+++ gcc/config/rs6000/rs6000.md (working copy)
@@ -6889,24 +6889,34 @@ (define_split
                                 UNSPEC_MOVSI_GOT))]
   "")
 
-;;             MR           LA           LWZ          LFIWZX       LXSIWZX
-;;             STW          STFIWX       STXSIWX      LI           LIS
-;;             #            XXLOR        XXSPLTIB 0   XXSPLTIB -1  VSPLTISW
-;;             XXLXOR 0     XXLORC -1    P9 const     MTVSRWZ      MFVSRWZ
-;;             MF%1         MT%0         NOP
+;;             MR           LA
+;;             LWZ          LFIWZX      LXSIWZX
+;;             STW          STFIWX      STXSIWX
+;;             LI           LIS         #
+;;             XXLOR        XXSPLTIB 0  XXSPLTIB -1 VSPLTISW
+;;             XXLXOR 0     XXLORC -1   P9 const
+;;             MTVSRWZ      MFVSRWZ
+;;             MF%1         MT%0        NOP
+
 (define_insn "*movsi_internal1"
   [(set (match_operand:SI 0 "nonimmediate_operand"
-               "=r,         r,           r,           d,           v,
-                m,          Z,           Z,           r,           r,
-                r,          wa,          wa,          wa,          v,
-                wa,         v,           v,           wa,          r,
-                r,          *h,          *h")
+               "=r,         r,
+               r,           d,          v,
+               m,           Z,          Z,
+               r,           r,          r,
+               wa,          wa,         wa,         v,
+               wa,          v,          v,
+               wa,          r,
+               r,           *h,         *h")
        (match_operand:SI 1 "input_operand"
-               "r,          U,           m,           Z,           Z,
-                r,          d,           v,           I,           L,
-                n,          wa,          O,           wM,          wB,
-                O,          wM,          wS,          r,           wa,
-                *h,         r,           0"))]
+               "r,          U,
+               m,           Z,          Z,
+               r,           d,          v,
+               I,           L,          n,
+               wa,          O,          wM,         wB,
+               O,           wM,         wS,
+               r,           wa,
+               *h,          r,          0"))]
   "gpc_reg_operand (operands[0], SImode)
    || gpc_reg_operand (operands[1], SImode)"
   "@
@@ -6934,23 +6944,32 @@ (define_insn "*movsi_internal1"
    mt%0 %1
    nop"
   [(set_attr "type"
-               "*,          *,           load,        fpload,      fpload,
-                store,      fpstore,     fpstore,     *,           *,
-                *,          veclogical,  vecsimple,   vecsimple,   vecsimple,
-                veclogical, veclogical,  vecsimple,   mffgpr,      mftgpr,
-                *,          *,           *")
+               "*,         *,
+               load,       fpload,     fpload,
+               store,      fpstore,    fpstore,
+               *,          *,          *,
+               veclogical, vecsimple,  vecsimple,  vecsimple,
+               veclogical, veclogical, vecsimple,
+               mffgpr,     mftgpr,
+               *,          *,          *")
    (set_attr "length"
-               "*,          *,           *,           *,           *,
-                *,          *,           *,           *,           *,
-                8,          *,           *,           *,           *,
-                *,          *,           8,           *,           *,
-                *,          *,           *")
+               "*,         *,
+               *,          *,           *,
+               *,          *,           *,
+               *,          *,           8,
+               *,          *,           *,          *,
+               *,          *,           8,
+               *,          *,
+               *,          *,           *")
    (set_attr "isa"
-               "*,          *,           *,           p8v,         p8v,
-                *,          p8v,         p8v,         *,           *,
-                *,          p8v,         p9v,         p9v,         p8v,
-                p9v,        p8v,         p9v,         p8v,         p8v,
-                *,          *,           *")])
+               "*,          *,
+               *,           p8v,       p8v,
+               *,           p8v,       p8v,
+               *,           *,         *,
+               p8v,         p9v,       p9v,       p8v,
+               p9v,         p8v,       p9v,
+               p8v,         p8v,
+               *,           *,         *")])
 
 ;; Like movsi, but adjust a SF value to be used in a SI context, i.e.
 ;; (set (reg:SI ...) (subreg:SI (reg:SF ...) 0))

-- 
Michael Meissner, IBM
IBM, M/S 2506R, 550 King Street, Littleton, MA 01460-6245, USA
email: meiss...@linux.ibm.com, phone: +1 (978) 899-4797

Reply via email to