[ping][patch, ARM] Fix PR42017, LR not used in leaf functions

Ramana Radhakrishnan ramrad01@arm.com
Tue May 14 09:48:00 GMT 2013


On 05/13/13 04:15, Kugan wrote:
> Hi,
>
> Ping this patch by Chung-Lin.
> http://gcc.gnu.org/ml/gcc-patches/2011-05/msg01179.html
>
> This patch allows lr registers to be used in leaf functions for ARM.
>
> There were some concerns about performance regression in thumb2 mode for
> CoreMark. However, looking at the code further shows that this
> performance regression is due to alignment issue with
> core_state_transition function and as a result taking longer time to
> execute. In fact, there isn’t any change in the code generated for
> core_state_transition with and without the patch. Adding Alignment to
> this function improves the performance than without the patch.
>
> Is this patch ok for trunk?
>
> Thanks,
> Kugan
>

Ok.

Ramana



More information about the Gcc-patches mailing list