]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/19147 (invalid rlwinm patterns)
authorAlan Modra <amodra@bigpond.net.au>
Fri, 24 Dec 2004 23:17:06 +0000 (23:17 +0000)
committerAlan Modra <amodra@gcc.gnu.org>
Fri, 24 Dec 2004 23:17:06 +0000 (09:47 +1030)
PR target/19147
* config/rs6000/rs6000.md (andsi3_internal7, andsi3_internal8): Delete.

From-SVN: r92596

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

index 05d5e6302adabcf6ba4f316404c632b193ef631d..e58baf44b7845a968eb856ee268894b4c0dd0c7f 100644 (file)
@@ -1,3 +1,8 @@
+2004-12-25  Alan Modra  <amodra@bigpond.net.au>
+
+       PR target/19147
+       * config/rs6000/rs6000.md (andsi3_internal7, andsi3_internal8): Delete.
+
 2004-12-21  Joseph S. Myers  <jsm@polyomino.org.uk>
 
        PR c/14765
index fb79cb93aba128c166d60c54b8673dff0fe0562a..591703fe137c2267e1499fde76f8047f24a2495d 100644 (file)
 }"
   [(set_attr "length" "8")])
 
-(define_insn_and_split "*andsi3_internal7"
-  [(set (match_operand:CC 2 "cc_reg_operand" "=x,?y")
-       (compare:CC (and:SI (match_operand:SI 0 "gpc_reg_operand" "r,r")
-                           (match_operand:SI 1 "mask_operand_wrap" "i,i"))
-                   (const_int 0)))
-   (clobber (match_scratch:SI 3 "=r,r"))]
-  "TARGET_POWERPC64"
-  "#"
-  "TARGET_POWERPC64"
-  [(parallel [(set (match_dup 2)
-                  (compare:CC (and:SI (rotate:SI (match_dup 0) (match_dup 4))
-                                      (match_dup 5))
-                              (const_int 0)))
-             (clobber (match_dup 3))])]
-  "
-{
-  int mb = extract_MB (operands[1]);
-  int me = extract_ME (operands[1]);
-  operands[4] = GEN_INT (me + 1);
-  operands[5] = GEN_INT (~((HOST_WIDE_INT) -1 << (33 + me - mb)));
-}"
-  [(set_attr "type" "delayed_compare,compare")
-   (set_attr "length" "4,8")])
-
-(define_insn_and_split "*andsi3_internal8"
-  [(set (match_operand:CC 3 "cc_reg_operand" "=x,??y")
-       (compare:CC (and:SI (match_operand:SI 1 "gpc_reg_operand" "r,r")
-                           (match_operand:SI 2 "mask_operand_wrap" "i,i"))
-                   (const_int 0)))
-   (set (match_operand:SI 0 "gpc_reg_operand" "=r,r")
-       (and:SI (match_dup 1)
-               (match_dup 2)))]
-  "TARGET_POWERPC64"
-  "#"
-  "TARGET_POWERPC64"
-  [(parallel [(set (match_dup 3)
-                  (compare:CC (and:SI (rotate:SI (match_dup 1) (match_dup 4))
-                                      (match_dup 5))
-                              (const_int 0)))
-             (set (match_dup 0)
-                  (and:SI (rotate:SI (match_dup 1) (match_dup 4))
-                          (match_dup 5)))])
-   (set (match_dup 0)
-       (rotate:SI (match_dup 0) (match_dup 6)))]
-  "
-{
-  int mb = extract_MB (operands[2]);
-  int me = extract_ME (operands[2]);
-  operands[4] = GEN_INT (me + 1);
-  operands[6] = GEN_INT (32 - (me + 1));
-  operands[5] = GEN_INT (~((HOST_WIDE_INT) -1 << (33 + me - mb)));
-}"
-  [(set_attr "type" "delayed_compare,compare")
-   (set_attr "length" "8,12")])
-
 (define_expand "iorsi3"
   [(set (match_operand:SI 0 "gpc_reg_operand" "")
        (ior:SI (match_operand:SI 1 "gpc_reg_operand" "")