[Patch, ARM][6/8] Epilogue in RTL: simple return

Richard Earnshaw rearnsha@arm.com
Fri Jun 15 10:49:00 GMT 2012


On 31/05/12 15:02, Greta Yorsh wrote:
> Add a new parameter to the function output_return_instruction to handle
> simple cases of return when no epilogue needs to be printed out.
> 
> ChangeLog:
> 
> gcc
> 
> 2012-05-31  Ian Bolton  <ian.bolton@arm.com>
>             Sameera Deshpande  <sameera.deshpande@arm.com>
>             Greta Yorsh  <greta.yorsh@arm.com>
> 
>         * config/arm/arm-protos.h (output_return_instruction): New
> parameter.
>         * config/arm/arm.c (output_return_instruction): New parameter.
>         * config/arm/arm.md (arm_simple_return): New pattern.
>         (arm_return, cond_return, cond_return_inverted): Add new arguments.
>         * config/arm/thumb2.md (thumb2_return): Update condition and code.
> 

Since you're chaning output_return_instruction, please update it to use
the bool type for the flags; then modify the callers to use 'true' and
'false' rather than 'TRUE' and 'FALSE'.

OK with that change.

R.



More information about the Gcc-patches mailing list