This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/42895] Low registers are preferred than register ip in thumb2 mode



------- Comment #7 from bernds at gcc dot gnu dot org  2010-04-29 21:37 -------
Subject: Bug 42895

Author: bernds
Date: Thu Apr 29 21:37:01 2010
New Revision: 158911

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158911
Log:
        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.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/arm/arm.h
    trunk/gcc/config/avr/avr.h
    trunk/gcc/config/i386/i386.h
    trunk/gcc/config/mips/mips.h
    trunk/gcc/config/picochip/picochip.h
    trunk/gcc/config/sparc/sparc.h
    trunk/gcc/config/xtensa/xtensa.h
    trunk/gcc/doc/tm.texi
    trunk/gcc/ira-color.c
    trunk/gcc/ira.c
    trunk/gcc/system.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42895


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]