public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH][AARCH64] Set jump-align=4 for neoversen1
@ 2019-12-24 16:25 Wilco Dijkstra
  2020-01-16 17:53 ` Wilco Dijkstra
  2020-01-17  9:25 ` Richard Sandiford
  0 siblings, 2 replies; 6+ messages in thread
From: Wilco Dijkstra @ 2019-12-24 16:25 UTC (permalink / raw)
  To: GCC Patches; +Cc: Richard Earnshaw, Kyrylo Tkachov, Richard Sandiford

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.

OK for commit?

ChangeLog
2019-12-24  Wilco Dijkstra  <wdijkstr@arm.com>

	* config/aarch64/aarch64.c (neoversen1_tunings): Set jump_align to 4.

--
diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
index 1646ed1d9a3de8ee2f0abff385a1ea145e234475..209ed8ebbe81104d9d8cff0df31946ab7704fb33 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.  */

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-01-20 14:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-24 16:25 [PATCH][AARCH64] Set jump-align=4 for neoversen1 Wilco Dijkstra
2020-01-16 17:53 ` Wilco Dijkstra
2020-01-17  9:25 ` Richard Sandiford
2020-01-17 11:12   ` Kyrill Tkachov
2020-01-17 17:53     ` Wilco Dijkstra
2020-01-20 14:33       ` Richard Sandiford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).