Commit c9db440d by DJ Delorie Committed by DJ Delorie

* config/m32c/jump.md (untyped_call): Add.

From-SVN: r135843
parent 80b093df
2008-05-23 DJ Delorie <dj@redhat.com>
* config/m32c/jump.md (untyped_call): Add.
* config/m32c/m32c.c (m32c_return_addr_rtx): Change pointer type
for A24 to PSImode.
(m32c_address_cost): Detail costs for indirect offsets.
......
......@@ -111,3 +111,23 @@ switch (which_alternative) {
}"
[(set_attr "flags" "x,x,x")]
)
(define_expand "untyped_call"
[(parallel [(call (match_operand 0 "" "")
(const_int 0))
(match_operand 1 "" "")
(match_operand 2 "" "")])]
""
"
{
int i;
emit_call_insn (gen_call (operands[0], const0_rtx, const0_rtx));
for (i = 0; i < XVECLEN (operands[2], 0); i++)
{
rtx set = XVECEXP (operands[2], 0, i);
emit_move_insn (SET_DEST (set), SET_SRC (set));
}
DONE;
}")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment