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

Kugan kugan.vivekanandarajah@linaro.org
Mon May 13 03:15:00 GMT 2013


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



More information about the Gcc-patches mailing list