summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Muellner <christoph.muellner@theobroma-systems.com>2018-09-18 18:06:51 +0200
committerChristoph Muellner <christoph.muellner@theobroma-systems.com>2019-08-30 20:10:54 +0200
commite13fbe5c1fc56886a2a0cb0524c81bc42f577a98 (patch)
tree4e77d91e596826f18f184799092df6d4871710a0
parent214d59479b4af9024a2753545fdd10e1b180f2e3 (diff)
loop-prefetcher: Adapt defaults for X-Gene cores.
Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
-rw-r--r--gcc/tree-ssa-loop-prefetch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-ssa-loop-prefetch.c b/gcc/tree-ssa-loop-prefetch.c
index 2f10db185904..fff722e398e9 100644
--- a/gcc/tree-ssa-loop-prefetch.c
+++ b/gcc/tree-ssa-loop-prefetch.c
@@ -159,7 +159,7 @@ along with GCC; see the file COPYING3. If not see
/* True if read can be prefetched by a write prefetch. */
#ifndef READ_CAN_USE_WRITE_PREFETCH
-#define READ_CAN_USE_WRITE_PREFETCH 0
+#define READ_CAN_USE_WRITE_PREFETCH 1
#endif
/* The size of the block loaded by a single prefetch. Usually, this is
@@ -173,7 +173,7 @@ along with GCC; see the file COPYING3. If not see
/* Do we have a forward hardware sequential prefetching? */
#ifndef HAVE_FORWARD_PREFETCH
-#define HAVE_FORWARD_PREFETCH 0
+#define HAVE_FORWARD_PREFETCH 1
#endif
/* Do we have a backward hardware sequential prefetching? */