This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] [AArch64] Update L2 cache size on Falkor's prefetch tuning structure.
- From: Luis Machado <luis dot machado at linaro dot org>
- To: gcc-patches at gcc dot gnu dot org
- Cc: james dot greenhalgh at arm dot com, Richard dot Earnshaw at arm dot com
- Date: Thu, 1 Mar 2018 15:45:21 -0300
- Subject: [PATCH] [AArch64] Update L2 cache size on Falkor's prefetch tuning structure.
- Authentication-results: sourceware.org; auth=none
Falkor's prefetch tuning structure still carries the L2 cache size value from
early support code. This patch updates it to match the specifications.
Even though the prefetcher is currently disabled for Falkor, we have a patch
waiting for GCC development to reopen that re-enables it, so i take it this
update should be trivial enough to go in before development reopens?
Thanks,
Luis
2018-03-01 Luis Machado <luis.machado@linaro.org>
* config/aarch64/aarch64.c (qdf24xx_prefetch_tune) <l2_cache_size>: Set
to 512.
---
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 2f98a21..5a732b1 100644
--- a/gcc/config/aarch64/aarch64.c
+++ b/gcc/config/aarch64/aarch64.c
@@ -564,7 +564,7 @@ static const cpu_prefetch_tune qdf24xx_prefetch_tune =
4, /* num_slots */
32, /* l1_cache_size */
64, /* l1_cache_line_size */
- 1024, /* l2_cache_size */
+ 512, /* l2_cache_size */
-1 /* default_opt_level */
};
--
2.7.4