This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [AArch64/GCC][17/N] Optimize prologue when there is no frame pointe


On 24 July 2014 13:43, Jiong Wang <jiong.wang@arm.com> wrote:
> Under new pro/epi code, we could also utilize our store write-back to
> optimize
> stack adjustment when there is no frame pointer.
>
> * if there is candidate reg pair and adjustment amount is less than 512 then
> we
> could use aarch64's paired store write-back.
> * if there is only a single candidate reg and adjustment amount is less than
> 256,
> we could use aarch64's single store write-back.
> * otherwise use explictly subtraction to finish stack adjustment.
>       Improved testcases:
>         gcc.target/aarch64/test_frame_1.c
>     gcc.target/aarch64/test_frame_10.c
>     gcc.target/aarch64/test_frame_2.c
>     gcc.target/aarch64/test_frame_4.c
>     gcc.target/aarch64/test_frame_6.c
>     gcc.target/aarch64/test_frame_7.c
>     gcc.target/aarch64/test_frame_8.c
>     gcc.target/aarch64/test_fp_attribute_1.c

OK and committed.
/Marcus


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]