Jakub Jelinek <jakub@redhat.com>
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Nov 1999 22:18:21 +0000 (22:18 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Nov 1999 22:18:21 +0000 (22:18 +0000)
commit5a1acad9501c4a544f501004495507534e67a9d1
treea0aa3f53fbb63793261d833b1f8613a481049e03
parent3fcfb72376277030fc6a79b9d1bec953b36c87aa
Jakub Jelinek  <jakub@redhat.com>

        * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
        Allow the user to override call-used/fixed state of %g2-5
        registers from the command line (with the exception of %g4 for
        embedded model).
        (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
        there is a higher chance of having a leaf function.
        (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
        for ARCH64 which has %ccr register.
        * config/sparc/sparc.md (return_losum_si, return_losum_di): New
        patterns.
        * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
        insn accept into delay slot any insn which does not use %[ol]
        registers.  Accept some LO_SUM and shift left by 1 for the normal
        restore case.
        (output_function_epilogue): Likewise.
        (epilogue_renumber): Added argument which inhibits any renumbering
        and just tests if the rtx does not use any %[ol] registers.
        (output_return): Reflect above change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30727 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/sparc/sparc.c
gcc/config/sparc/sparc.h
gcc/config/sparc/sparc.md