On 24 July 2014 13:43, Jiong Wang <jiong.w...@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