This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [ARM] Fix movdi2 for Thumb1
- From: Mikael Pettersson <mikpe at it dot uu dot se>
- To: Richard Earnshaw <Richard dot Earnshaw at buzzard dot freeserve dot co dot uk>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 27 Jul 2009 21:04:56 +0200
- Subject: Re: [ARM] Fix movdi2 for Thumb1
- References: <1242474808.29683.4.camel@barnowl.buzzard.freeserve.co.uk>
On 2009-05-16, Richard Earnshaw wrote:
> This was clearly a latent bug that's recently come to light as a result
> of other changes (the bug appears to have been there pretty much since
> Thumb support was added to the compiler). It fixes a compile failure
> with gcc.c-torture/compile/920413-1.c where we copy try to generate a
> move insn that has different modes for source and destination. Oops!
>
> 2009-05-16 Richard Earnshaw <rearnsha@arm.com>
>
> * arm.md (movdi2): Copy non-reg values to DImode registers.
This was applied to 4.5 and 4.3, but not 4.4. An oversight?
/Mikael