On Mon, 2011-02-14 at 14:20 +, Andrew Stubbs wrote:
This patch is a rework of an old one:
http://gcc.gnu.org/ml/gcc-patches/2010-06/msg01080.html
The ARM parts of that patch were approved, but the target independent
parts were never reviewed (AFAICT), and the patch no longer applies.
I've updated the target-specific parts. As far as I can tell, the target
independent parts are no longer required, so I've dropped them.
Tested with no regressions for ARM mode and Thumb2 mode.
OK?
Andrew
2011-02-14 Andrew Stubbs a...@codesourcery.com
Julian Brown jul...@codesourcery.com
Mark Shinwell shinw...@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.
OK.
R.