public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] [AArch64] Update L2 cache size on Falkor's prefetch tuning structure.
@ 2018-03-01 18:45 Luis Machado
  2018-03-08 12:51 ` Luis Machado
  2018-03-08 13:31 ` James Greenhalgh
  0 siblings, 2 replies; 4+ messages in thread
From: Luis Machado @ 2018-03-01 18:45 UTC (permalink / raw)
  To: gcc-patches; +Cc: james.greenhalgh, Richard.Earnshaw

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

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

* Re: [PATCH] [AArch64] Update L2 cache size on Falkor's prefetch tuning structure.
  2018-03-01 18:45 [PATCH] [AArch64] Update L2 cache size on Falkor's prefetch tuning structure Luis Machado
@ 2018-03-08 12:51 ` Luis Machado
  2018-03-08 13:31 ` James Greenhalgh
  1 sibling, 0 replies; 4+ messages in thread
From: Luis Machado @ 2018-03-08 12:51 UTC (permalink / raw)
  To: gcc-patches; +Cc: james.greenhalgh, Richard.Earnshaw



On 03/01/2018 03:45 PM, Luis Machado wrote:
> 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  */
>   };
>   
> 

Ping?

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

* Re: [PATCH] [AArch64] Update L2 cache size on Falkor's prefetch tuning structure.
  2018-03-01 18:45 [PATCH] [AArch64] Update L2 cache size on Falkor's prefetch tuning structure Luis Machado
  2018-03-08 12:51 ` Luis Machado
@ 2018-03-08 13:31 ` James Greenhalgh
  2018-03-08 13:37   ` Luis Machado
  1 sibling, 1 reply; 4+ messages in thread
From: James Greenhalgh @ 2018-03-08 13:31 UTC (permalink / raw)
  To: Luis Machado; +Cc: gcc-patches, Richard Earnshaw, nd

On Thu, Mar 01, 2018 at 06:45:21PM +0000, Luis Machado wrote:
> 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?

This is OK for trunk now. I'm happy for you to take the risk of the change
in code-gen for qdf24xx if you are.

Thanks,
James

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

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

* Re: [PATCH] [AArch64] Update L2 cache size on Falkor's prefetch tuning structure.
  2018-03-08 13:31 ` James Greenhalgh
@ 2018-03-08 13:37   ` Luis Machado
  0 siblings, 0 replies; 4+ messages in thread
From: Luis Machado @ 2018-03-08 13:37 UTC (permalink / raw)
  To: James Greenhalgh; +Cc: gcc-patches, Richard Earnshaw, nd

On 03/08/2018 10:30 AM, James Greenhalgh wrote:
> On Thu, Mar 01, 2018 at 06:45:21PM +0000, Luis Machado wrote:
>> 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?
> 
> This is OK for trunk now. I'm happy for you to take the risk of the change
> in code-gen for qdf24xx if you are.
> 
> Thanks,
> James
> 

Thanks. There is no risk yet given prefetching is still disabled for 
qdf24xx and will be re-enabled once development reopens.

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

end of thread, other threads:[~2018-03-08 13:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-01 18:45 [PATCH] [AArch64] Update L2 cache size on Falkor's prefetch tuning structure Luis Machado
2018-03-08 12:51 ` Luis Machado
2018-03-08 13:31 ` James Greenhalgh
2018-03-08 13:37   ` Luis Machado

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