From 3b86789289cb2469341283dd2ee86d5c5b1bd30f Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 9 Oct 2012 09:21:47 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 4 ++++ gcc/config/mcore/mcore.md | 27 --------------------------- 2 files changed, 4 insertions(+), 27 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6b37b4b4cf3..9e78f040546 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2012-10-09 Nick Clifton + 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 68169f5a32f..c41b4892569 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 ;; ------------------------------------------------------------------------- -- 2.30.2