]> gcc.gnu.org Git - gcc.git/commit
i386.c (SAVE_REGS_FIRST): Remove.
authorJan Hubicka <jh@suse.cz>
Fri, 4 Feb 2000 21:40:37 +0000 (22:40 +0100)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 4 Feb 2000 21:40:37 +0000 (13:40 -0800)
commit1c71e60ef78d26b2146bdcf45f2177722ec1ff30
tree6485ad8d0a5ce7bc2a97c39d06150f3432713f49
parentc13fde0599c2f8dbbbdc625dba0bf7b610a2d597
i386.c (SAVE_REGS_FIRST): Remove.

        * i386.c (SAVE_REGS_FIRST): Remove.
        (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
        (ix86_compute_frame_size): Likewise.
        (ix86_expand_prologue): Likewise.  Use pro_epilogue_adjust_stack.
        (ix86_emit_restore_regs): Remove.
        (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
        when a frame pointer is in use.
        (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode.  Use mov
        instead of pop to restore a register when profitable; emit leave
        when profitable.
        (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
        as a TYPE_LEA insn.
        (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
        * i386.md (prologue_allocate_stack): Remove.
        (epilogue_deallocate_stack): Remove.
        (pro_epilogue_adjust_stack): New.

Co-Authored-By: Richard Henderson <rth@cygnus.com>
From-SVN: r31792
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/i386.md
This page took 0.065413 seconds and 5 git commands to generate.