From: Wilco Dijkstra Date: Mon, 20 Jan 2020 14:29:40 +0000 (+0000) Subject: [AArch64] Set jump-align=4 for neoversen1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3a43459715e239fb8043bf64b830aaf1a9802180;p=gcc.git [AArch64] Set jump-align=4 for neoversen1 Testing shows the setting of 32:16 for jump alignment has a significant codesize cost, however it doesn't make a difference in performance. So set jump-align to 4 to get 1.6% codesize improvement. gcc/ * config/aarch64/aarch64.c (neoversen1_tunings): Set jump_align to 4. --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8db7c816622..31b7305b5f4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2020-01-20 Wilco Dijkstra + + * config/aarch64/aarch64.c (neoversen1_tunings): Set jump_align to 4. + 2020-01-20 Andrew Pinski PR middle-end/93242 diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c index c26ac0db942..e40750380cc 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -1132,7 +1132,7 @@ static const struct tune_params neoversen1_tunings = 3, /* issue_rate */ (AARCH64_FUSE_AES_AESMC | AARCH64_FUSE_CMP_BRANCH), /* fusible_ops */ "32:16", /* function_align. */ - "32:16", /* jump_align. */ + "4", /* jump_align. */ "32:16", /* loop_align. */ 2, /* int_reassoc_width. */ 4, /* fp_reassoc_width. */