]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR rtl-optimization/54739 (FAIL: gcc.dg/lower-subreg-1.c scan-rtl-dump subreg1...
authorNick Clifton <nickc@redhat.com>
Tue, 9 Oct 2012 09:21:47 +0000 (09:21 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Tue, 9 Oct 2012 09:21:47 +0000 (09:21 +0000)
PR rtl-optimization/54739
* config/mcore/mcore.md: (anddi3, iordi3, xordi3): Delete
patterns.

From-SVN: r192244

gcc/ChangeLog
gcc/config/mcore/mcore.md

index 6b37b4b4cf31c6e8fca324c0e9ba2ae2be4bf82f..9e78f0405462f70ea74b347273243fb9f8219f55 100644 (file)
@@ -1,5 +1,9 @@
 2012-10-09  Nick Clifton  <nickc@redhat.com>
 
+       PR rtl-optimization/54739
+       * config/mcore/mcore.md: (anddi3, iordi3, xordi3): Delete
+       patterns.
+
        PR target/54661
        * config/mcore/mcore.c (mcore_output_movedouble): Fix typo.
 
index 68169f5a32f176e0910cb8b578d25cfd2a5e9d60..c41b48925693dae30b46c2df0efddc1e1861252d 100644 (file)
   ""
   "xor %0,%2")
 
-; these patterns give better code then gcc invents if
-; left to its own devices
-
-(define_insn "anddi3"
-  [(set (match_operand:DI 0 "mcore_arith_reg_operand" "=r")
-       (and:DI (match_operand:DI 1 "mcore_arith_reg_operand" "%0")
-               (match_operand:DI 2 "mcore_arith_reg_operand" "r")))]
-  ""
-  "and %0,%2\;and      %R0,%R2"
-  [(set_attr "length" "4")])
-
-(define_insn "iordi3"
-  [(set (match_operand:DI 0 "mcore_arith_reg_operand" "=r")
-       (ior:DI (match_operand:DI 1 "mcore_arith_reg_operand" "%0")
-               (match_operand:DI 2 "mcore_arith_reg_operand" "r")))]
-  ""
-  "or  %0,%2\;or       %R0,%R2"
-  [(set_attr "length" "4")])
-
-(define_insn "xordi3"
-  [(set (match_operand:DI 0 "mcore_arith_reg_operand" "=r")
-       (xor:DI (match_operand:DI 1 "mcore_arith_reg_operand" "%0")
-               (match_operand:DI 2 "mcore_arith_reg_operand" "r")))]
-  ""
-  "xor %0,%2\;xor      %R0,%R2"
-  [(set_attr "length" "4")])
-
 ;; -------------------------------------------------------------------------
 ;; Shifts and rotates
 ;; -------------------------------------------------------------------------