r216535 - in /branches/sh-lra/gcc/config/sh: pr...

kkojima@gcc.gnu.org kkojima@gcc.gnu.org
Tue Oct 21 23:43:00 GMT 2014


Author: kkojima
Date: Tue Oct 21 23:43:00 2014
New Revision: 216535

URL: https://gcc.gnu.org/viewcvs?rev=216535&root=gcc&view=rev
Log:
Make *addsi3_compact insn_and_split and add an alternative which
will split to (set a c) and (set (plus a b)) after reload.
* config/sh/predicates.md (arith_or_int_operand): New.
* config/sh/sh.md (addsi3): Use arith_or_int_operand for 2nd operand.
  Check register overlap for non I08 constant 2nd operand.
  (*addsi3_compact): Make it insn_and_split and add an alternative.


Modified:
    branches/sh-lra/gcc/config/sh/predicates.md
    branches/sh-lra/gcc/config/sh/sh.md



More information about the Gcc-cvs mailing list