Re: [RFA/ARM][Patch 04/05]: STRD generation instead of PUSH in A15 ARM prologue.

2011-11-08 Thread Sameera Deshpande
On Fri, 2011-10-21 at 13:45 +0100, Ramana Radhakrishnan wrote: > >+arm_emit_strd_push (unsigned long saved_regs_mask) > > How different is this from the thumb2 version you sent out in Patch 03/05 ? > Thumb-2 STRD can handle non-consecutive registers, ARM STRD cannot. Because of which we accumula

Re: [RFA/ARM][Patch 04/05]: STRD generation instead of PUSH in A15 ARM prologue.

2011-10-21 Thread Ramana Radhakrishnan
>+/* STRD in ARM mode needs consecutive registers to be stored. This function >+ keeps accumulating non-consecutive registers until first consecutive >register numchar > 80. >+ pair is found. It then generates multi-reg PUSH for all accumulated >+ registers, and then generates STRD with

[RFA/ARM][Patch 04/05]: STRD generation instead of PUSH in A15 ARM prologue.

2011-10-11 Thread Sameera Deshpande
Hi! This patch generates STRD instead of PUSH in prologue for A15 ARM mode. For optimize_size, original prologue is generated for A15. The work involves defining new functions, predicates and patterns, along with minor changes in existing code: * STRD in ARM mode needs consecutive registers to be