Re: [PATCH][ARM] Tweak arm_class_likely_spilled_p, MODE_BASE_REG_CLASS for Thumb-2

2011-04-06 Thread Andrew Stubbs

On 30/03/11 16:13, Richard Earnshaw wrote:

2011-02-14  Andrew Stubbsa...@codesourcery.com
 Julian Brownjul...@codesourcery.com
 Mark Shinwellshinw...@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.


Committed.

Andrew


Re: [PATCH][ARM] Tweak arm_class_likely_spilled_p, MODE_BASE_REG_CLASS for Thumb-2

2011-03-30 Thread Richard Earnshaw

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.