[PATCH] Restrict LOOP_ALIGN to loop headers only.
Martin Liška
mliska@suse.cz
Tue Jul 9 09:14:00 GMT 2019
Hi.
I'm suggesting to restrict LOOP_ALIGN to only loop headers. That are the
basic blocks for which it makes the biggest sense. I quite some binary
size reductions on SPEC2006 and SPEC2017. Speed numbers are also slightly
positive.
Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
Ready to be installed?
Thanks,
Martin
gcc/ChangeLog:
2019-07-09 Martin Liska <mliska@suse.cz>
* final.c (compute_alignments): Apply the LOOP_ALIGN only
to basic blocks that all loop headers.
---
gcc/final.c | 1 +
1 file changed, 1 insertion(+)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Restrict-LOOP_ALIGN-to-loop-headers-only.patch
Type: text/x-patch
Size: 423 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20190709/1dbe05fc/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lnt-speed.pdf.bz2
Type: application/x-bzip
Size: 76820 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20190709/1dbe05fc/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lnt-size.pdf.bz2
Type: application/x-bzip
Size: 102810 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20190709/1dbe05fc/attachment-0002.bin>
More information about the Gcc-patches
mailing list