diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ea13f382249..949087ecc77 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2005-08-19 David Edelsohn + + * config/rs6000/rs6000.md (gt0): Delete. + (gt0_compare): Delete. + (neg_gt0): Delete. + 2005-08-19 Eric Christopher * optabs.h: Change CTI_ to COI_. diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index dcbe3a0278d..7cc7ab13bfc 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -12401,86 +12401,6 @@ (const_int 0)))] "") -(define_insn "*gt0si" - [(set (match_operand:SI 0 "gpc_reg_operand" "=r") - (gt:SI (match_operand:SI 1 "gpc_reg_operand" "r") - (const_int 0)))] - "TARGET_32BIT" - "{sfi|subfic} %0,%1,0\;{ame|addme} %0,%0\;{sri|srwi} %0,%0,31" - [(set_attr "type" "three") - (set_attr "length" "12")]) - -(define_insn "*gt0di" - [(set (match_operand:DI 0 "gpc_reg_operand" "=r") - (gt:DI (match_operand:DI 1 "gpc_reg_operand" "r") - (const_int 0)))] - "TARGET_64BIT" - "subfic %0,%1,0\;addme %0,%0\;srdi %0,%0,63" - [(set_attr "type" "three") - (set_attr "length" "12")]) - -(define_insn "" - [(set (match_operand:CC 2 "cc_reg_operand" "=x,?y") - (compare:CC - (gt:SI (match_operand:SI 1 "gpc_reg_operand" "r,r") - (const_int 0)) - (const_int 0))) - (set (match_operand:SI 0 "gpc_reg_operand" "=r,r") - (gt:SI (match_dup 1) (const_int 0)))] - "TARGET_32BIT" - "@ - {sfi|subfic} %0,%1,0\;{ame|addme} %0,%0\;{sri.|srwi.} %0,%0,31 - #" - [(set_attr "type" "delayed_compare") - (set_attr "length" "12,16")]) - -(define_split - [(set (match_operand:CC 2 "cc_reg_not_cr0_operand" "") - (compare:CC - (gt:SI (match_operand:SI 1 "gpc_reg_operand" "") - (const_int 0)) - (const_int 0))) - (set (match_operand:SI 0 "gpc_reg_operand" "") - (gt:SI (match_dup 1) (const_int 0)))] - "TARGET_32BIT && reload_completed" - [(set (match_dup 0) - (gt:SI (match_dup 1) (const_int 0))) - (set (match_dup 2) - (compare:CC (match_dup 0) - (const_int 0)))] - "") - -(define_insn "" - [(set (match_operand:CC 2 "cc_reg_operand" "=x,?y") - (compare:CC - (gt:DI (match_operand:DI 1 "gpc_reg_operand" "r,r") - (const_int 0)) - (const_int 0))) - (set (match_operand:DI 0 "gpc_reg_operand" "=r,r") - (gt:DI (match_dup 1) (const_int 0)))] - "TARGET_64BIT" - "@ - subfic %0,%1,0\;addme %0,%0\;srdi. %0,%0,63 - #" - [(set_attr "type" "delayed_compare") - (set_attr "length" "12,16")]) - -(define_split - [(set (match_operand:CC 2 "cc_reg_not_cr0_operand" "") - (compare:CC - (gt:DI (match_operand:DI 1 "gpc_reg_operand" "") - (const_int 0)) - (const_int 0))) - (set (match_operand:DI 0 "gpc_reg_operand" "") - (gt:DI (match_dup 1) (const_int 0)))] - "TARGET_64BIT && reload_completed" - [(set (match_dup 0) - (gt:DI (match_dup 1) (const_int 0))) - (set (match_dup 2) - (compare:CC (match_dup 0) - (const_int 0)))] - "") - (define_insn "" [(set (match_operand:SI 0 "gpc_reg_operand" "=r") (gt:SI (match_operand:SI 1 "gpc_reg_operand" "r") @@ -12733,24 +12653,6 @@ (const_int 0)))] "") -(define_insn "*neg_gt0si" - [(set (match_operand:SI 0 "gpc_reg_operand" "=r") - (neg:SI (gt:SI (match_operand:SI 1 "gpc_reg_operand" "r") - (const_int 0))))] - "TARGET_32BIT" - "{sfi|subfic} %0,%1,0\;{ame|addme} %0,%0\;{srai|srawi} %0,%0,31" - [(set_attr "type" "three") - (set_attr "length" "12")]) - -(define_insn "neg_gt0di" - [(set (match_operand:DI 0 "gpc_reg_operand" "=r") - (neg:DI (gt:DI (match_operand:DI 1 "gpc_reg_operand" "r") - (const_int 0))))] - "TARGET_64BIT" - "subfic %0,%1,0\;addme %0,%0\;sradi %0,%0,63" - [(set_attr "type" "three") - (set_attr "length" "12")]) - (define_insn "" [(set (match_operand:SI 0 "gpc_reg_operand" "=r") (neg:SI (gt:SI (match_operand:SI 1 "gpc_reg_operand" "r")