On Mon, Mar 03, 2014 at 07:19:51PM -0800, Andrew Pinski wrote: > On Mon, Mar 3, 2014 at 5:02 AM, lin zuojian <manjian2...@gmail.com> wrote: > > Testcase? > How about making a generic pass which does this? > > See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23684 also. At the > same time this can be used to do the store pair optimization for > ARM/AARCH64 too.
Yeah, I'll try to ressurrect my PR22141 patch after 4.9 branches, and would appreciate if more people would cooperate in finding out the best heuristics when it should be applied (for -Os it is usually clear, for non-strict align targets and optimization for speed less so, for strict align targets even less so). Jakub