From: Alan Modra Date: Tue, 18 May 2004 05:35:30 +0000 (+0000) Subject: rs6000.md (ctrsi_internal3): Delete. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f82ddcaedbfcb7d25208987be6a945bf9a422759;p=gcc.git rs6000.md (ctrsi_internal3): Delete. * config/rs6000/rs6000.md (ctrsi_internal3): Delete. (ctrsi_internal4, ctrdi_internal3, ctrdi_internal4): Delete. From-SVN: r81973 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ee2ae6f5747..96c91ee6106 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-05-18 Alan Modra + + * config/rs6000/rs6000.md (ctrsi_internal3): Delete. + (ctrsi_internal4, ctrdi_internal3, ctrdi_internal4): Delete. + 2004-05-17 Jeff Law * toplev.h (flag_delete_null_pointer_checks): Move from here to... diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index d93b80a8456..29d70e9df10 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -14021,104 +14021,6 @@ [(set_attr "type" "branch") (set_attr "length" "*,12,16,16")]) -;; Similar, but we can use GE since we have a REG_NONNEG. - -(define_insn "*ctrsi_internal3" - [(set (pc) - (if_then_else (ge (match_operand:SI 1 "register_operand" "c,*r,*r,*r") - (const_int 0)) - (label_ref (match_operand 0 "" "")) - (pc))) - (set (match_operand:SI 2 "nonimmediate_operand" "=1,*r,m,*q*c*l") - (plus:SI (match_dup 1) - (const_int -1))) - (clobber (match_scratch:CC 3 "=X,&x,&x,&x")) - (clobber (match_scratch:SI 4 "=X,X,&r,r"))] - "TARGET_32BIT && find_reg_note (insn, REG_NONNEG, 0)" - "* -{ - if (which_alternative != 0) - return \"#\"; - else if (get_attr_length (insn) == 4) - return \"{bdn|bdnz} %l0\"; - else - return \"bdz $+8\;b %l0\"; -}" - [(set_attr "type" "branch") - (set_attr "length" "*,12,16,16")]) - -(define_insn "*ctrsi_internal4" - [(set (pc) - (if_then_else (ge (match_operand:SI 1 "register_operand" "c,*r,*r,*r") - (const_int 0)) - (pc) - (label_ref (match_operand 0 "" "")))) - (set (match_operand:SI 2 "nonimmediate_operand" "=1,*r,m,*q*c*l") - (plus:SI (match_dup 1) - (const_int -1))) - (clobber (match_scratch:CC 3 "=X,&x,&x,&x")) - (clobber (match_scratch:SI 4 "=X,X,&r,r"))] - "TARGET_32BIT && find_reg_note (insn, REG_NONNEG, 0)" - "* -{ - if (which_alternative != 0) - return \"#\"; - else if (get_attr_length (insn) == 4) - return \"bdz %l0\"; - else - return \"{bdn|bdnz} $+8\;b %l0\"; -}" - [(set_attr "type" "branch") - (set_attr "length" "*,12,16,16")]) - -(define_insn "*ctrdi_internal3" - [(set (pc) - (if_then_else (ge (match_operand:DI 1 "register_operand" "c,*r,*r,*r") - (const_int 0)) - (label_ref (match_operand 0 "" "")) - (pc))) - (set (match_operand:DI 2 "nonimmediate_operand" "=1,*r,m,*c*l") - (plus:DI (match_dup 1) - (const_int -1))) - (clobber (match_scratch:CC 3 "=X,&x,&x,&x")) - (clobber (match_scratch:DI 4 "=X,X,&r,r"))] - "TARGET_64BIT && find_reg_note (insn, REG_NONNEG, 0)" - "* -{ - if (which_alternative != 0) - return \"#\"; - else if (get_attr_length (insn) == 4) - return \"{bdn|bdnz} %l0\"; - else - return \"bdz $+8\;b %l0\"; -}" - [(set_attr "type" "branch") - (set_attr "length" "*,12,16,16")]) - -(define_insn "*ctrdi_internal4" - [(set (pc) - (if_then_else (ge (match_operand:DI 1 "register_operand" "c,*r,*r,*r") - (const_int 0)) - (pc) - (label_ref (match_operand 0 "" "")))) - (set (match_operand:DI 2 "nonimmediate_operand" "=1,*r,m,*c*l") - (plus:DI (match_dup 1) - (const_int -1))) - (clobber (match_scratch:CC 3 "=X,&x,&x,&x")) - (clobber (match_scratch:DI 4 "=X,X,&r,r"))] - "TARGET_64BIT && find_reg_note (insn, REG_NONNEG, 0)" - "* -{ - if (which_alternative != 0) - return \"#\"; - else if (get_attr_length (insn) == 4) - return \"bdz %l0\"; - else - return \"{bdn|bdnz} $+8\;b %l0\"; -}" - [(set_attr "type" "branch") - (set_attr "length" "*,12,16,16")]) - ;; Similar but use EQ (define_insn "*ctrsi_internal5"