summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Muellner <christoph.muellner@theobroma-systems.com>2018-09-18 18:06:51 +0200
committerErick Ochoa <erick.ochoa@theobroma-systems.com>2020-03-11 16:22:14 +0100
commitbdc6a9d1607d3cc273a46948179e93b4eb6364ba (patch)
treec2b59080e2282e0128a5613177390c1fcbfae0e6
parent4213383618992d670f65bcd37b73fdbe050e3b7b (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? */