From fc8cde864d74e0e18b8db02e12796552f80c0aee Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Thu, 13 Nov 1997 18:49:31 +0000 Subject: [PATCH] rs6000.md (lshrdi3_power): Delete '&' from first alternative and swap instruction order. * rs6000.md (lshrdi3_power): Delete '&' from first alternative and swap instruction order. From-SVN: r16460 --- gcc/ChangeLog | 5 +++++ gcc/config/rs6000/rs6000.md | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0677ec49e547..46681ff8d89a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Thu Nov 13 11:51:32 1997 David Edelsohn + + * rs6000.md (lshrdi3_power): Delete '&' from first alternative and + swap instruction order. + Thu Nov 13 11:47:55 1997 Michael Meissner * rs6000.c (num_insns_constant): Use REAL_VALUE_FROM_CONST_DOUBLE to diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index d707e0c8f0f6..42926563140c 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -4258,13 +4258,13 @@ [(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" -- 2.47.2