[AArch64] Set jump-align=4 for neoversen1
authorWilco Dijkstra <wdijkstr@arm.com>
Mon, 20 Jan 2020 14:29:40 +0000 (14:29 +0000)
committerWilco Dijkstra <wdijkstr@arm.com>
Mon, 20 Jan 2020 14:29:40 +0000 (14:29 +0000)
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.

gcc/ChangeLog
gcc/config/aarch64/aarch64.c

index 8db7c816622f26540a23e17a0d8036faf8137e10..31b7305b5f46ce8a2780f037ff4d28f6e67aef44 100644 (file)
@@ -1,3 +1,7 @@
+2020-01-20  Wilco Dijkstra  <wdijkstr@arm.com>
+
+       * config/aarch64/aarch64.c (neoversen1_tunings): Set jump_align to 4.
+
 2020-01-20  Andrew Pinski  <apinski@marvell.com>
 
        PR middle-end/93242
index c26ac0db94289e0f367daa55f442d241a7d358be..e40750380cce202473da3cf572ebdbc28a4ecc06 100644 (file)
@@ -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.  */