WIP patch, RFC: ARM ldm/stm peephole rewrite

Steven Bosscher stevenb.gcc@gmail.com
Thu Mar 25 13:22:00 GMT 2010


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



More information about the Gcc-patches mailing list