mn10300.c (can_use_return_insn): Include outgoing argument area in size computation.
authorJeff Law <law@gcc.gnu.org>
Mon, 14 Apr 1997 20:59:44 +0000 (14:59 -0600)
committerJeff Law <law@gcc.gnu.org>
Mon, 14 Apr 1997 20:59:44 +0000 (14:59 -0600)
commit460f4b9dddad212b224cca2516c7116406910650
tree9c02115a5fab37fecb33b292a41ee8321de14ddc
parentf046b3cc2319a9fbd7470b024b424bee137a0f5f
mn10300.c (can_use_return_insn): Include outgoing argument area in size computation.

        * mn10300.c (can_use_return_insn): Include outgoing argument
        area in size computation.
        (expand_prologue): Likewise.  No longer diddle with sequences.
        Put register saves just before outgoing argument area.
        (expand_epilogue): Similarly.
        (impossible_plus_operand): New function.
        * mn10300.h (FRAME_POINTER_REQUIRED): Never require a frame pointer.
        (ACCUMULATE_OUTGOING_ARGS, OUTGOING_REG_PARM_STACK_SPACE): Define.
        (impossible_plus_operand): Declare.
        * mn10300.md (reload_insi): New expander to handle pathological
        reload cases.
        (addsi3): Fix CC status.

        * mn10300.h (FUNCTION_VALUE): Return addresses in $a0.
        (FUNCTION_VALUE_REGNO_P): Corresponding changes.
        * mn10300.md (call_value_internal): Allow output to be in an
        address register.

From-SVN: r13903
gcc/config/mn10300/mn10300.c
gcc/config/mn10300/mn10300.h
gcc/config/mn10300/mn10300.md