]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR target/42895 (Low registers are preferred than register ip in thumb2 mode)
authorBernd Schmidt <bernds@codesourcery.com>
Thu, 29 Apr 2010 21:37:01 +0000 (21:37 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Thu, 29 Apr 2010 21:37:01 +0000 (21:37 +0000)
commit5a7338267d552eb9aea90cf8faa2ce7d3a2015a4
treee02eed9bc7c37428344f533ee75aa2a75b30fdf6
parenteece1eb9acd1262e3b462ef9a1a09013e420bfed
re PR target/42895 (Low registers are preferred than register ip in thumb2 mode)

PR target/42895
* doc/tm.texi (ADJUST_REG_ALLOC_ORDER): Renamed from
ORDER_REGS_FOR_LOCAL_ALLOC.  All instances of this macro changed.
(HONOR_REG_ALLOC_ORDER): Describe new macro.
* ira.c (setup_alloc_regs): Use ADJUST_REG_ALLOC_ORDER if defined.
* ira-color.c (assign_hard_reg): Take prologue/epilogue costs into
account only if HONOR_REG_ALLOC_ORDER is not defined.
* config/arm/arm.h (HONOR_REG_ALLOC_ORDER): Define.
* system.h (ORDER_REGS_FOR_LOCAL_ALLOC): Poison.

From-SVN: r158911
12 files changed:
gcc/ChangeLog
gcc/config/arm/arm.h
gcc/config/avr/avr.h
gcc/config/i386/i386.h
gcc/config/mips/mips.h
gcc/config/picochip/picochip.h
gcc/config/sparc/sparc.h
gcc/config/xtensa/xtensa.h
gcc/doc/tm.texi
gcc/ira-color.c
gcc/ira.c
gcc/system.h