]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
rs6000.md (lshrdi3_power): Delete '&' from first alternative and swap instruction...
authorDavid Edelsohn <edelsohn@mhpcc.edu>
Thu, 13 Nov 1997 18:49:31 +0000 (18:49 +0000)
committerJeff Law <law@gcc.gnu.org>
Thu, 13 Nov 1997 18:49:31 +0000 (11:49 -0700)
        * rs6000.md (lshrdi3_power): Delete '&' from first alternative and
        swap instruction order.

From-SVN: r16460

gcc/ChangeLog
gcc/config/rs6000/rs6000.md

index 0677ec49e5471a432517af17813d1f02c71fe571..46681ff8d89ae82addc2cf641986f3d142b392f5 100644 (file)
@@ -1,3 +1,8 @@
+Thu Nov 13 11:51:32 1997  David Edelsohn  <edelsohn@mhpcc.edu>
+
+       * rs6000.md (lshrdi3_power): Delete '&' from first alternative and
+       swap instruction order.
+
 Thu Nov 13 11:47:55 1997  Michael Meissner  <meissner@cygnus.com>
 
        * rs6000.c (num_insns_constant): Use REAL_VALUE_FROM_CONST_DOUBLE to
index d707e0c8f0f6455ddf32198a889043ee2f2a2fd7..42926563140cfbbf387498be595f5325fbe07c8f 100644 (file)
   [(set_attr "length" "8")])
 
 (define_insn "lshrdi3_power"
-  [(set (match_operand:DI 0 "gpc_reg_operand" "=&r,r,r,&r")
+  [(set (match_operand:DI 0 "gpc_reg_operand" "=r,r,r,&r")
        (lshiftrt:DI (match_operand:DI 1 "gpc_reg_operand" "r,r,0,r")
                     (match_operand:SI 2 "reg_or_cint_operand" "M,i,r,r")))
    (clobber (match_scratch:SI 3 "=X,q,q,q"))]
   "TARGET_POWER"
   "@
-   {cal %0,0(0)|li %0,0}\;{s%A2i|s%A2wi} %L0,%1,%h2
+   {s%A2i|s%A2wi} %L0,%1,%h2\;{cal %0,0(0)|li %0,0}
    sr%I2q %0,%1,%h2\;srl%I2q %L0,%L1,%h2
    sr%I2q %0,%1,%h2\;srl%I2q %L0,%L1,%h2
    sr%I2q %0,%1,%h2\;srl%I2q %L0,%L1,%h2"