This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][ARM] Clean up movw support
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Andrew Stubbs <ams at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org, patches at linaro dot org
- Date: Wed, 20 Apr 2011 16:46:30 +0100
- Subject: Re: [PATCH][ARM] Clean up movw support
- References: <4DAEEBA5.70707@codesourcery.com>
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 of that patch soon, and this clean up will be
> required then.
>
> OK?
>
> Andrew
2011-04-20 Andrew Stubbs <ams@codesourcery.com>
gcc/
* config/arm/arm.c (arm_gen_constant): Move mowv support ....
(const_ok_for_op): ... to here.
it's movw (not mowv :)
Otherwise OK.
R.