Re: [PATCH][ARM] Clean up movw support

2011-04-20 Thread Andrew Stubbs
On 20/04/11 16:46, Richard Earnshaw wrote: 2011-04-20 Andrew Stubbs gcc/ * config/arm/arm.c (arm_gen_constant): Move mowv support (const_ok_for_op): ... to here. it's movw (not mowv :) Otherwise OK. Committed, thanks. Andrew

Re: [PATCH][ARM] Clean up movw support

2011-04-20 Thread Richard Earnshaw
On Wed, 2011-04-20 at 15:20 +0100, Andrew Stubbs wrote: > This patch doesn't change the compiler behaviour; it merely moves the > support for MOVW's 16-bit immediate constant to const_ok_for_op. > > This patch is broken out of my previous (rejected) Thumb2-constants > patch. I'll be posting v2 o

[PATCH][ARM] Clean up movw support

2011-04-20 Thread Andrew Stubbs
This patch doesn't change the compiler behaviour; it merely moves the support for MOVW's 16-bit immediate constant to const_ok_for_op. This patch is broken out of my previous (rejected) Thumb2-constants patch. I'll be posting v2 of that patch soon, and this clean up will be required then. OK