From: Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
To: GCC Patches <gcc-patches@gcc.gnu.org>
Cc: Kyrylo Tkachov <kyrylo.tkachov@arm.com>,
Andrew Pinski <apinski@cavium.com>,
Richard Guenther <richard.guenther@gmail.com>
Subject: [PATCH 6/6][AArch64] Update prefetch tuning parameters for falkor and qdf24xx tunings.
Date: Mon, 30 Jan 2017 12:14:00 -0000 [thread overview]
Message-ID: <8A734701-E89B-4063-855C-5ACBDFB1C7B5@linaro.org> (raw)
In-Reply-To: <F7C2520D-866C-4293-831D-815BF466DFA2@linaro.org>
[-- Attachment #1: Type: text/plain, Size: 183 bytes --]
This patch enables software prefetching at -O3 for Qualcomm's qdf24xx cores.
Bootstrapped and regtested on x86_64-linux-gnu and aarch64-linux-gnu.
--
Maxim Kuvyrkov
www.linaro.org
[-- Attachment #2: 0006-Update-prefetch-tuning-parameters-for-falkor-and-qdf.patch --]
[-- Type: application/octet-stream, Size: 1165 bytes --]
From f3dc0ae7203ec095e2f54894a0fbf13e807d3d46 Mon Sep 17 00:00:00 2001
From: Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
Date: Thu, 15 Dec 2016 12:53:49 +0000
Subject: [PATCH 6/6] Update prefetch tuning parameters for falkor and qdf24xx
tunings.
* config/aarch64/aarch64.c (tune_params qdf24xx_tunings,)
(tune_params falkor_tunings): Update prefetch settings, which, in turn,
enable prefetching by default at -O3.
Change-Id: I2f0da54a8c262f6fbd0dcfde4584141bb09f1013
---
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 e1b03ec..ccee947 100644
--- a/gcc/config/aarch64/aarch64.c
+++ b/gcc/config/aarch64/aarch64.c
@@ -774,7 +774,7 @@ static const struct tune_params qdf24xx_tunings =
2, /* min_div_recip_mul_sf. */
2, /* min_div_recip_mul_df. */
0, /* max_case_values. */
- AARCH64_PREFETCH_BENEFICIAL (0, -1, 64, -1),
+ AARCH64_PREFETCH_BENEFICIAL (4, 32, 64, 1024),
tune_params::AUTOPREFETCHER_STRONG, /* autoprefetcher_model. */
(AARCH64_EXTRA_TUNE_NONE) /* tune_flags. */
};
--
2.7.4
next prev parent reply other threads:[~2017-01-30 12:08 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-30 11:27 [PATCH 0/6] Improve -fprefetch-loop-arrays in general and for AArch64 in particular Maxim Kuvyrkov
2017-01-30 11:35 ` [PATCH 1/6] Add debug counter for loop array prefetching Maxim Kuvyrkov
2017-01-30 12:33 ` Richard Biener
2017-01-30 11:43 ` [PATCH 2/6] Improve debug output of loop data prefetching Maxim Kuvyrkov
2017-01-30 12:37 ` Richard Biener
2017-01-30 11:47 ` [PATCH 3/6] Fix prefetch heuristic calculation Maxim Kuvyrkov
2017-01-30 13:28 ` Richard Biener
2017-01-30 11:53 ` [PATCH 4/6] Port prefetch configuration from aarch32 to aarch64 Maxim Kuvyrkov
2017-01-30 16:39 ` Andrew Pinski
2017-02-03 11:52 ` Maxim Kuvyrkov
2017-06-08 13:48 ` James Greenhalgh
2017-06-08 15:13 ` Richard Earnshaw (lists)
2017-06-09 7:32 ` Maxim Kuvyrkov
2017-06-09 10:04 ` James Greenhalgh
2017-06-09 15:56 ` Maxim Kuvyrkov
2017-05-29 10:07 ` Maxim Kuvyrkov
2017-01-30 12:08 ` [PATCH 5/6][AArch64] Enable -fprefetch-loop-arrays at -O3 for cores that benefit from prefetching Maxim Kuvyrkov
2017-01-30 12:31 ` Kyrill Tkachov
2017-01-30 15:03 ` Maxim Kuvyrkov
2017-02-03 11:58 ` Maxim Kuvyrkov
2017-05-29 10:09 ` Maxim Kuvyrkov
2017-06-08 16:31 ` James Greenhalgh
2017-06-09 16:00 ` Maxim Kuvyrkov
2017-01-30 12:14 ` Maxim Kuvyrkov [this message]
2017-06-08 16:32 ` [PATCH 6/6][AArch64] Update prefetch tuning parameters for falkor and qdf24xx tunings James Greenhalgh
2017-06-09 16:02 ` Maxim Kuvyrkov
2017-01-30 16:55 ` [PATCH 0/6] Improve -fprefetch-loop-arrays in general and for AArch64 in particular Andrew Pinski
2017-02-20 14:44 ` Kyrill Tkachov
2017-02-28 10:03 ` Maxim Kuvyrkov
2017-05-28 8:18 ` Andrew Pinski
2017-05-29 10:24 ` Maxim Kuvyrkov
2017-06-09 16:06 ` Maxim Kuvyrkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8A734701-E89B-4063-855C-5ACBDFB1C7B5@linaro.org \
--to=maxim.kuvyrkov@linaro.org \
--cc=apinski@cavium.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=kyrylo.tkachov@arm.com \
--cc=richard.guenther@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).