From 8f8442a498a364ebf0b620b6a654e177298554f1 Mon Sep 17 00:00:00 2001
From: Wilco Dijkstra <wdijkstr@arm.com>
Date: Mon, 20 Jan 2020 14:29:40 +0000
Subject: [PATCH 3/4] [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.
---
 gcc/config/aarch64/aarch64.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
index 641e41c3cb5..1354308ba09 100644
--- a/gcc/config/aarch64/aarch64.c
+++ b/gcc/config/aarch64/aarch64.c
@@ -819,7 +819,7 @@ static const struct tune_params neoversen1_tunings =
   3, /* issue_rate  */
   AARCH64_FUSE_AES_AESMC, /* fusible_ops  */
   32,	/* function_align.  */
-  32,	/* jump_align.  */
+  4,	/* jump_align.  */
   32,	/* loop_align.  */
   2,	/* int_reassoc_width.  */
   4,	/* fp_reassoc_width.  */
-- 
2.25.1

