aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2012-10-09 09:21:47 +0000
committerNick Clifton <nickc@gcc.gnu.org>2012-10-09 09:21:47 +0000
commit3b86789289cb2469341283dd2ee86d5c5b1bd30f (patch)
tree9e1eb35e902f8f640ae5be69d15c46748cb18cbc
parentd72fe292cf54d9837a24c52fe2f77fb69befdc12 (diff)
downloadgcc-3b86789289cb2469341283dd2ee86d5c5b1bd30f.zip
gcc-3b86789289cb2469341283dd2ee86d5c5b1bd30f.tar.gz
gcc-3b86789289cb2469341283dd2ee86d5c5b1bd30f.tar.bz2
re PR rtl-optimization/54739 (FAIL: gcc.dg/lower-subreg-1.c scan-rtl-dump subreg1 "Splitting reg")
PR rtl-optimization/54739 * config/mcore/mcore.md: (anddi3, iordi3, xordi3): Delete patterns. From-SVN: r192244
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/mcore/mcore.md27
2 files changed, 4 insertions, 27 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6b37b4b..9e78f04 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/mcore/mcore.md b/gcc/config/mcore/mcore.md
index 68169f5..c41b489 100644
--- a/gcc/config/mcore/mcore.md
+++ b/gcc/config/mcore/mcore.md
@@ -465,33 +465,6 @@
""
"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
;; -------------------------------------------------------------------------