From: Nick Clifton Date: Tue, 9 Oct 2012 09:21:47 +0000 (+0000) Subject: re PR rtl-optimization/54739 (FAIL: gcc.dg/lower-subreg-1.c scan-rtl-dump subreg1... X-Git-Tag: misc/gccgo-go1_1_2~310 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b86789289cb2469341283dd2ee86d5c5b1bd30f;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6b37b4b4cf31..9e78f0405462 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 68169f5a32f1..c41b48925693 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 ;; -------------------------------------------------------------------------