From: Richard Kenner Date: Wed, 8 Jul 1992 10:24:59 +0000 (-0400) Subject: (zero_extendhisi2): Remove unneeded constraint. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5f2435432da860d80689dc275a04e7307d15fd4a;p=gcc.git (zero_extendhisi2): Remove unneeded constraint. (lu/stu): Use %0 instead of %1 in assembler insns. (call_value): Add missing "=" in constraint. From-SVN: r1513 --- diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index 577ba6568e8..37cf481dff0 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -97,7 +97,7 @@ [(set_attr "type" "load,*")]) (define_expand "zero_extendhisi2" - [(set (match_operand:SI 0 "gpc_reg_operand" "r") + [(set (match_operand:SI 0 "gpc_reg_operand" "") (zero_extend:SI (match_operand:HI 1 "gpc_reg_operand" "")))] "" "") @@ -2705,8 +2705,8 @@ (plus:SI (match_dup 1) (match_dup 2)))] "" "@ - lux %3,%1,%2 - lu %3,%2(%1)" + lux %3,%0,%2 + lu %3,%2(%0)" [(set_attr "type" "load,load")]) (define_insn "" @@ -2717,8 +2717,8 @@ (plus:SI (match_dup 1) (match_dup 2)))] "" "@ - stux %3,%1,%2 - stu %3,%2(%1)") + stux %3,%0,%2 + stu %3,%2(%0)") (define_insn "" [(set (match_operand:HI 3 "gpc_reg_operand" "=r,r") @@ -2728,8 +2728,8 @@ (plus:SI (match_dup 1) (match_dup 2)))] "" "@ - lhzux %3,%1,%2 - lhzu %3,%2(%1)" + lhzux %3,%0,%2 + lhzu %3,%2(%0)" [(set_attr "type" "load,load")]) (define_insn "" @@ -2741,8 +2741,8 @@ (plus:SI (match_dup 1) (match_dup 2)))] "" "@ - lhzux %3,%1,%2 - lhzu %3,%2(%1)" + lhzux %3,%0,%2 + lhzu %3,%2(%0)" [(set_attr "type" "load,load")]) (define_insn "" @@ -2754,8 +2754,8 @@ (plus:SI (match_dup 1) (match_dup 2)))] "" "@ - lhaux %3,%1,%2 - lhau %3,%2(%1)" + lhaux %3,%0,%2 + lhau %3,%2(%0)" [(set_attr "type" "load,load")]) (define_insn "" @@ -2766,8 +2766,8 @@ (plus:SI (match_dup 1) (match_dup 2)))] "" "@ - sthux %3,%1,%2 - sthu %3,%2(%1)" + sthux %3,%0,%2 + sthu %3,%2(%0)" [(set_attr "type" "load,load")]) (define_insn "" @@ -2778,8 +2778,8 @@ (plus:SI (match_dup 1) (match_dup 2)))] "" "@ - lbzux %3,%1,%2 - lbzu %3,%2(%1)" + lbzux %3,%0,%2 + lbzu %3,%2(%0)" [(set_attr "type" "load,load")]) (define_insn "" @@ -2791,8 +2791,8 @@ (plus:SI (match_dup 1) (match_dup 2)))] "" "@ - lbzux %3,%1,%2 - lbzu %3,%2(%1)" + lbzux %3,%0,%2 + lbzu %3,%2(%0)" [(set_attr "type" "load,load")]) (define_insn "" @@ -2803,8 +2803,8 @@ (plus:SI (match_dup 1) (match_dup 2)))] "" "@ - stbux %3,%1,%2 - stbu %3,%2(%1)") + stbux %3,%0,%2 + stbu %3,%2(%0)") (define_insn "" [(set (match_operand:SF 3 "gpc_reg_operand" "=f,f") @@ -2814,8 +2814,8 @@ (plus:SI (match_dup 1) (match_dup 2)))] "" "@ - lfsux %3,%1,%2 - lfsu %3,%2(%1)" + lfsux %3,%0,%2 + lfsu %3,%2(%0)" [(set_attr "type" "load,load")]) (define_insn "" @@ -2826,8 +2826,8 @@ (plus:SI (match_dup 1) (match_dup 2)))] "" "@ - frsp %3,%3\;stfsux %3,%1,%2 - frsp %3,%3\;stfsu %3,%2(%1)") + frsp %3,%3\;stfsux %3,%0,%2 + frsp %3,%3\;stfsu %3,%2(%0)") (define_insn "" [(set (match_operand:DF 3 "gpc_reg_operand" "=f,f") @@ -2837,8 +2837,8 @@ (plus:SI (match_dup 1) (match_dup 2)))] "" "@ - lfdux %3,%1,%2 - lfdu %3,%2(%1)" + lfdux %3,%0,%2 + lfdu %3,%2(%0)" [(set_attr "type" "load,load")]) (define_insn "" @@ -2849,8 +2849,8 @@ (plus:SI (match_dup 1) (match_dup 2)))] "" "@ - stfdux %3,%1,%2 - stfdu %3,%2(%1)") + stfdux %3,%0,%2 + stfdu %3,%2(%0)") ;; Next come insns related to the calling sequence. ;; @@ -3005,7 +3005,7 @@ bl %z0\;cror 15,15,15") (define_insn "" - [(set (match_operand 0 "" "fg,fg") + [(set (match_operand 0 "" "=fg,fg") (call (mem:SI (match_operand:SI 1 "call_operand" "l,s")) (match_operand 2 "" "fg,fg"))) (clobber (match_scratch:SI 3 "=l,l"))]