arm.h (arm_class_likely_spilled_p): Check against LO_REGS only for Thumb-1.
authorAndrew Stubbs <ams@codesourcery.com>
Wed, 6 Apr 2011 09:52:52 +0000 (09:52 +0000)
committerAndrew Stubbs <ams@gcc.gnu.org>
Wed, 6 Apr 2011 09:52:52 +0000 (09:52 +0000)
commit9adc580c20178d9f9924b90a8f6b7ad22da31037
tree69faf94e927998a7657cc3582d4d5bbe0d62c00c
parent33abfb6bdbc77c99a8b7f79b120f3581ab8b4249
arm.h (arm_class_likely_spilled_p): Check against LO_REGS only for Thumb-1.

2011-03-06  Andrew Stubbs  <ams@codesourcery.com>
    Julian Brown  <julian@codesourcery.com>
    Mark Shinwell  <shinwell@codesourcery.com>

gcc/
* config/arm/arm.h (arm_class_likely_spilled_p): Check against
LO_REGS only for Thumb-1.
(MODE_BASE_REG_CLASS): Restrict base registers to those which can
be used in short instructions when optimising for size on Thumb-2.

Co-Authored-By: Julian Brown <julian@codesourcery.com>
Co-Authored-By: Mark Shinwell <shinwell@codesourcery.com>
From-SVN: r172032
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/config/arm/arm.h