]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
rs6000.md (gt0<mode>): Delete.
authorDavid Edelsohn <edelsohn@gnu.org>
Sat, 20 Aug 2005 04:17:17 +0000 (04:17 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Sat, 20 Aug 2005 04:17:17 +0000 (00:17 -0400)
        * config/rs6000/rs6000.md (gt0<mode>): Delete.
        (gt0<mode>_compare): Delete.
        (neg_gt0<mode>): Delete.

From-SVN: r103300

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

index ea13f3822498e42adcf64909a78fe1b738e68b67..949087ecc774e92a08c73d86846512fe5093d8fc 100644 (file)
@@ -1,3 +1,9 @@
+2005-08-19  David Edelsohn  <edelsohn@gnu.org>
+
+       * config/rs6000/rs6000.md (gt0<mode>): Delete.
+       (gt0<mode>_compare): Delete.
+       (neg_gt0<mode>): Delete.
+
 2005-08-19  Eric Christopher  <echristo@apple.com>
 
        * optabs.h: Change CTI_ to COI_.
index dcbe3a0278d0f84a8acfe20ea139e200cc7463b8..7cc7ab13bfc1ccae56afe77ccc5b924d361682f8 100644 (file)
                    (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")
                    (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")