mn10300.c (expand_prologue): Rework to avoid unnecessary "add" operations.
authorJeff Law <law@gcc.gnu.org>
Fri, 7 Mar 1997 16:42:33 +0000 (09:42 -0700)
committerJeff Law <law@gcc.gnu.org>
Fri, 7 Mar 1997 16:42:33 +0000 (09:42 -0700)
commit6e86170d98445039d09630dd894e7a6cd08c1772
treeff3c0572ea230bd4a6a7b115250a813bd7769903
parente035031935a5160976ef3cf0b626701df1c3fd23
mn10300.c (expand_prologue): Rework to avoid unnecessary "add" operations.

        * mn10300/mn10300.c (expand_prologue): Rework to avoid unnecessary
        "add" operations.
        (expand_epilogue): Likewise.
        * mn10300/mn10300.h (STARTING_FRAME_OFFSET): Is zero after the last
        round of prologue/epilogue changes.
        (FIRST_PARM_OFFSET): Is now 16 (-4 for REG_PARM_STACK_SPACE + 20 for
        register save area).
        (REG_PARM_STACK_SPACE): Define as 4 bytes.
        (OUTGOING_REG_PARM_STACK_SPACE): Define so caller allocates it.
        * mn10300/mn10300.md (call expander): Don't emit insns to adjust the
        stack here anymore.
        (call_value expander): Likewise.

        * mn10300/mn10300.md (bCC patterns): Just use "bCC target" now that
        the assembler handles relaxing.

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