public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-4568] AArch64: Enable fast shifts on Neoverse V1/N2
@ 2021-10-20 12:38 Wilco Dijkstra
  0 siblings, 0 replies; only message in thread
From: Wilco Dijkstra @ 2021-10-20 12:38 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:c437d3340d21c0c47537aca91e3546d2d6f1ae02

commit r12-4568-gc437d3340d21c0c47537aca91e3546d2d6f1ae02
Author: Wilco Dijkstra <wdijkstr@arm.com>
Date:   Wed Oct 20 13:12:32 2021 +0100

    AArch64: Enable fast shifts on Neoverse V1/N2
    
    Enable the fast shift feature in Neoverse V1 and N2 tunings as well.
    
    2021-10-20  Wilco Dijkstra  <wdijkstr@arm.com>
    
    gcc/
            * config/aarch64/aarch64.c (neoversev1_tunings):
            Enable AARCH64_EXTRA_TUNE_CHEAP_SHIFT_EXTEND.
            (neoversen2_tunings): Likewise.

Diff:
---
 gcc/config/aarch64/aarch64.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
index 730607f7add..1d53c714ecd 100644
--- a/gcc/config/aarch64/aarch64.c
+++ b/gcc/config/aarch64/aarch64.c
@@ -1839,7 +1839,8 @@ static const struct tune_params neoversev1_tunings =
   tune_params::AUTOPREFETCHER_WEAK,	/* autoprefetcher_model.  */
   (AARCH64_EXTRA_TUNE_CSE_SVE_VL_CONSTANTS
    | AARCH64_EXTRA_TUNE_USE_NEW_VECTOR_COSTS
-   | AARCH64_EXTRA_TUNE_MATCHED_VECTOR_THROUGHPUT),	/* tune_flags.  */
+   | AARCH64_EXTRA_TUNE_MATCHED_VECTOR_THROUGHPUT
+   | AARCH64_EXTRA_TUNE_CHEAP_SHIFT_EXTEND),	/* tune_flags.  */
   &generic_prefetch_tune
 };
 
@@ -1995,7 +1996,7 @@ static const struct tune_params neoversen2_tunings =
   2,	/* min_div_recip_mul_df.  */
   0,	/* max_case_values.  */
   tune_params::AUTOPREFETCHER_WEAK,	/* autoprefetcher_model.  */
-  (AARCH64_EXTRA_TUNE_NONE),	/* tune_flags.  */
+  (AARCH64_EXTRA_TUNE_CHEAP_SHIFT_EXTEND),	/* tune_flags.  */
   &generic_prefetch_tune
 };


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-20 12:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-20 12:38 [gcc r12-4568] AArch64: Enable fast shifts on Neoverse V1/N2 Wilco Dijkstra

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).