Add a new parameter to the function output_return_instruction to handle simple...
authorIan Bolton <ian.bolton@arm.com>
Mon, 18 Jun 2012 17:57:06 +0000 (17:57 +0000)
committerGreta Yorsh <gretay@gcc.gnu.org>
Mon, 18 Jun 2012 17:57:06 +0000 (18:57 +0100)
commitf79b86a43ec258a7c603862e39b1e90cb8a18375
treed31f07cf00ce3ad4e2b2a7e03381593067850721
parentd461c88a2526adaeb72ad43eef718ee9306c418d
Add a new parameter to the function output_return_instruction to handle simple...

Add a new parameter to the function output_return_instruction to handle
simple cases of return when no epilogue needs to be printed out.

gcc/

2012-06-18  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 and
int to bool change of parameter types.
        * config/arm/arm.c (output_return_instruction): Likewise.
        * 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.

Co-Authored-By: Greta Yorsh <greta.yorsh@arm.com>
Co-Authored-By: Sameera Deshpande <sameera.deshpande@arm.com>
From-SVN: r188743
gcc/ChangeLog
gcc/config/arm/arm-protos.h
gcc/config/arm/arm.c
gcc/config/arm/arm.md
gcc/config/arm/thumb2.md