Hi gcc-patches group,

Please find the patch for updating vulcan L1 cacheline size.

Tested the patch with compiling cross aarch64-linux-gcc,
bootstrapped native aarch64-unknown-linux-gnu and
run gcc regression.

Kindly review and merge the patch to trunk, if the patch is okay.
Thanks.

gcc/ChangeLog:

Virendra Pathak  <virendra.pat...@broadcom.com>

        * config/aarch64/aarch64.c (vulcan_tunings): Update
        vulcan L1 cache_line_size.


with regards,
Virendra Pathak
From fb6ce7d1f4e4fd29b9a618467b5a52a8c69702e9 Mon Sep 17 00:00:00 2001
From: Virendra Pathak <virendra.pat...@broadcom.com>
Date: Wed, 27 Jul 2016 03:41:47 -0700
Subject: [PATCH] AArch64: Update L1 cache line size for vulcan

---
 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 fe2683e..56e8650 100644
--- a/gcc/config/aarch64/aarch64.c
+++ b/gcc/config/aarch64/aarch64.c
@@ -768,7 +768,7 @@ static const struct tune_params vulcan_tunings =
   2,   /* min_div_recip_mul_sf.  */
   2,   /* min_div_recip_mul_df.  */
   0,   /* max_case_values.  */
-  0,   /* cache_line_size.  */
+  64,  /* cache_line_size.  */
   tune_params::AUTOPREFETCHER_OFF,     /* autoprefetcher_model.  */
   (AARCH64_EXTRA_TUNE_NONE)    /* tune_flags.  */
 };
-- 
2.1.0

Reply via email to