predicates.md (logical_and_operand): New predicate.
authorOleg Endo <olegendo@gcc.gnu.org>
Tue, 3 Jul 2012 22:26:23 +0000 (22:26 +0000)
committerOleg Endo <olegendo@gcc.gnu.org>
Tue, 3 Jul 2012 22:26:23 +0000 (22:26 +0000)
commit5e204a6e8bc4156b4500d8c2c61f6693d30b7444
tree1cff334f75f67c52c224b42160692031f21c5157
parentc128d2031e725201c1529564388b3bfb84872e35
predicates.md (logical_and_operand): New predicate.

* config/sh/predicates.md (logical_and_operand): New predicate.
* config/sh/constraints.md (Jmb, Jmw): New constraints.
* config/sh/sh.md (andsi3): Move expander above insns.  Add handling
of 0xFFFF constant.  Use logical_and_operand predicate and
satisfies_constraint_Jmb, satisfies_constraint_Jmw.
(*andsi3_compact): Make it an insn_and_split.  Use
logical_and_operand predicate.  Add Jmb,Jmw alternatives.

From-SVN: r189241
gcc/ChangeLog
gcc/config/sh/constraints.md
gcc/config/sh/predicates.md
gcc/config/sh/sh.md