[PATCH][ARM] Add support for ADDW and SUBW instructions

Andrew Stubbs ams@codesourcery.com
Thu Jun 2 08:07:00 GMT 2011


Ping 2.

On 20/04/11 16:27, Andrew Stubbs wrote:
> This patch adds basic support for the Thumb ADDW and SUBW instructions.
>
> The patch permits the compiler to use the new instructions for constants
> that can be loaded with a single instruction (i.e. 16-bit unshifted),
> but does not support use of addw with split-constants; I have a patch
> for that coming soon.
>
> This patch requires that my previously posted patch for MOVW is applied
> first.
>
> OK?
>
> Andrew



More information about the Gcc-patches mailing list