]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/aarch64/aarch64.c
[AArch64] Increase default function alignment
authorWilco Dijkstra <wdijkstr@arm.com>
Tue, 13 Aug 2019 10:39:22 +0000 (10:39 +0000)
committerWilco Dijkstra <wilco@gcc.gnu.org>
Tue, 13 Aug 2019 10:39:22 +0000 (10:39 +0000)
commit4e55aefa3ee19167a41892e4920a3e8c520aee42
tree3cc3785b88dfd6cf4f14338421bddae8fa44f522
parentd5c949950c8941e945b08e82181b52a208fa3af4
[AArch64] Increase default function alignment

With -mcpu=generic the function alignment is currently 8, however almost all
supported cores prefer 16 or higher, so increase the default to 16:12.
This gives ~0.2% performance increase on SPECINT2017, while codesize is 0.12%
larger.

    gcc/
* config/aarch64/aarch64.c (generic_tunings): Set function alignment to
16:12.

From-SVN: r274374
gcc/ChangeLog
gcc/config/aarch64/aarch64.c