re PR rtl-optimization/54739 (FAIL: gcc.dg/lower-subreg-1.c scan-rtl-dump subreg1...
authorMichael Eager <eager@eagercon.com>
Wed, 5 Dec 2012 17:27:05 +0000 (17:27 +0000)
committerMichael Eager <eager@gcc.gnu.org>
Wed, 5 Dec 2012 17:27:05 +0000 (17:27 +0000)
PR rtl-optimization/54739
* config/microblaze/microblaze.md: (anddi3, iordi3, xordi3): Delete patterns.

From-SVN: r194226

gcc/ChangeLog
gcc/config/microblaze/microblaze.md

index 0ba2ae1822d342963efaa6028999749caa0d5eed..c261541e6ee463bf33dec5801696c8ade7e7d58d 100644 (file)
@@ -1,3 +1,9 @@
+2012-12-05  Michael Eager  <eager@eagercon.com>
+
+       PR rtl-optimization/54739
+       * config/microblaze/microblaze.md: (anddi3, iordi3, xordi3): Delete
+       patterns.
+
 2012-12-05  James Greenhalgh  <james.greenhalgh@arm.com>
 
        * config/aarch64/aarch64-simd-builtins.def: Add new builtins.
index 18221b58156b7b89007ae8188de85c1f6e047379..8480b43f2c08adae0c347dadeff8e0e20e20004a 100644 (file)
   (set_attr "length"   "4,8,8,8")])
 
 
-(define_insn "anddi3"
-  [(set (match_operand:DI 0 "register_operand" "=d")
-       (and:DI (match_operand:DI 1 "register_operand" "d")
-               (match_operand:DI 2 "register_operand" "d")))]
-  ""
-  "and\t%M0,%M1,%M2\;and\t%L0,%L1,%L2"
-  [(set_attr "type"    "darith")
-  (set_attr "mode"     "DI")
-  (set_attr "length"    "8")])
-
-
-(define_split
-  [(set (match_operand:DI 0 "register_operand" "")
-       (and:DI (match_operand:DI 1 "register_operand" "")
-               (match_operand:DI 2 "register_operand" "")))]
-  "reload_completed 
-   && GET_CODE (operands[0]) == REG && GP_REG_P (REGNO (operands[0]))
-   && GET_CODE (operands[1]) == REG && GP_REG_P (REGNO (operands[1]))
-   && GET_CODE (operands[2]) == REG && GP_REG_P (REGNO (operands[2]))"
-
-  [(set (subreg:SI (match_dup 0) 0) (and:SI (subreg:SI (match_dup 1) 0) 
-                                           (subreg:SI (match_dup 2) 0)))
-  (set (subreg:SI (match_dup 0) 4) (and:SI (subreg:SI (match_dup 1) 4) 
-                                          (subreg:SI (match_dup 2) 4)))]
-  "")
-
 (define_insn "iorsi3"
   [(set (match_operand:SI 0 "register_operand" "=d,d,d,d")
        (ior:SI (match_operand:SI 1 "arith_operand" "%d,d,d,d")
   (set_attr "mode"     "SI,SI,SI,SI")
   (set_attr "length"   "4,8,8,8")])
 
-
-(define_insn "iordi3"
-  [(set (match_operand:DI 0 "register_operand" "=d")
-       (ior:DI (match_operand:DI 1 "register_operand" "d")
-               (match_operand:DI 2 "register_operand" "d")))]
-  ""
-  "or\t%M0,%M1,%M2\;or\t%L0,%L1,%L2"
-  [(set_attr "type"    "darith")
-  (set_attr "mode"     "DI")
-  (set_attr "length"    "8")]
-)
-
-
-(define_split
-  [(set (match_operand:DI 0 "register_operand" "")
-       (ior:DI (match_operand:DI 1 "register_operand" "")
-               (match_operand:DI 2 "register_operand" "")))]
-  "reload_completed 
-   && GET_CODE (operands[0]) == REG && GP_REG_P (REGNO (operands[0]))
-   && GET_CODE (operands[1]) == REG && GP_REG_P (REGNO (operands[1]))
-   && GET_CODE (operands[2]) == REG && GP_REG_P (REGNO (operands[2]))"
-
-  [(set (subreg:SI (match_dup 0) 0) (ior:SI (subreg:SI (match_dup 1) 0) 
-                                           (subreg:SI (match_dup 2) 0)))
-  (set (subreg:SI (match_dup 0) 4) (ior:SI (subreg:SI (match_dup 1) 4) 
-                                          (subreg:SI (match_dup 2) 4)))]
-  "")
-
 (define_insn "xorsi3"
   [(set (match_operand:SI 0 "register_operand" "=d,d,d")
        (xor:SI (match_operand:SI 1 "arith_operand" "%d,d,d")
   (set_attr "mode"     "SI,SI,SI")
   (set_attr "length"   "4,8,8")])
 
-(define_insn "xordi3"
-  [(set (match_operand:DI 0 "register_operand" "=d")
-       (xor:DI (match_operand:DI 1 "register_operand" "d")
-               (match_operand:DI 2 "register_operand" "d")))]
-  ""
-  "xor\t%M0,%M1,%M2\;xor\t%L0,%L1,%L2"
-  [(set_attr "type"    "darith")
-  (set_attr "mode"     "DI")
-  (set_attr "length"    "8")]
-)
-
-
-(define_split
-  [(set (match_operand:DI 0 "register_operand" "")
-       (xor:DI (match_operand:DI 1 "register_operand" "")
-               (match_operand:DI 2 "register_operand" "")))]
-  "reload_completed 
-   && GET_CODE (operands[0]) == REG && GP_REG_P (REGNO (operands[0]))
-   && GET_CODE (operands[1]) == REG && GP_REG_P (REGNO (operands[1]))
-   && GET_CODE (operands[2]) == REG && GP_REG_P (REGNO (operands[2]))"
-
-  [(set (subreg:SI (match_dup 0) 0) (xor:SI (subreg:SI (match_dup 1) 0) 
-                                           (subreg:SI (match_dup 2) 0)))
-  (set (subreg:SI (match_dup 0) 4) (xor:SI (subreg:SI (match_dup 1) 4) 
-                                          (subreg:SI (match_dup 2) 4)))]
-  "")
-
 ;;----------------------------------------------------------------
 ;; Zero extension
 ;;----------------------------------------------------------------