constraints.md: Add "C" constraint for call insns.
authorJeff Law <law@gcc.gnu.org>
Wed, 28 Nov 2018 17:26:03 +0000 (10:26 -0700)
committerJeff Law <law@gcc.gnu.org>
Wed, 28 Nov 2018 17:26:03 +0000 (10:26 -0700)
commit735352d2eede1e412cb89f45a5c3e0846bce39af
tree113cc356265a9752c29f2b99a0a79db25e5ca7ed
parent7185a4ebc2121b9bef7f8697ad432e55a4ab5d25
constraints.md: Add "C" constraint for call insns.

* config/h8300/constraints.md: Add "C" constraint for call insns.
* config/h8300/h8300.md (call, call_value): Turn into a define_expand
and define_insn pair.  Move invalid call targets into a register in
the expander and fix constraints in the matching pattern.
* config/h8300/predicates.md (call_expander_operand): Renamed from
call_insn_operand.  Reject things we shouldn't be trying to handle.
(call_insn_operand): New predicate for use by the call/call_value
insns.
(small_call_insn_operand): Update appropriately.

From-SVN: r266571
gcc/ChangeLog
gcc/config/h8300/constraints.md
gcc/config/h8300/h8300.md
gcc/config/h8300/predicates.md