This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: WIP patch, RFC: ARM ldm/stm peephole rewrite
- From: Steven Bosscher <stevenb dot gcc at gmail dot com>
- To: Bernd Schmidt <bernds at codesourcery dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 25 Mar 2010 13:10:27 +0100
- Subject: Re: WIP patch, RFC: ARM ldm/stm peephole rewrite
- References: <4BAA97BA.1030605@codesourcery.com>
On Wed, Mar 24, 2010 at 11:52 PM, Bernd Schmidt <bernds@codesourcery.com> wrote:
> The motivation for this patch is to be able to generate ldm/stm insns in
> Thumb mode, where ldmia/stmia always update the base register. ?To do
> this, it helps to be able to use peep2_reg_dead_p, so the peepholes need
> to be converted to define_peephole2. ?In the future, some other
> peepholes I plan to write could use peephole2's mechanism to allocate
> free registers.
BTW, if/when this patch goes in, it removes the last define_peepholes
from the ARM backend, right? If so, can you also please update
http://gcc.gnu.org/backends.html?
Ciao!
Steven