diff options
author | Luis Machado <luis.machado@linaro.org> | 2018-05-07 15:47:14 +0000 |
---|---|---|
committer | Luis Machado <luisgpm@gcc.gnu.org> | 2018-05-07 15:47:14 +0000 |
commit | 47811d7dbe38c4e47c83426aa29ae41d7db055c1 (patch) | |
tree | ba5b251e40d7685d9bb682e933059f22c8f5a2ca /gcc/params.def | |
parent | fd056e39d11a88adad5ab91fd3a0a556803e72a7 (diff) | |
download | gcc-47811d7dbe38c4e47c83426aa29ae41d7db055c1.zip gcc-47811d7dbe38c4e47c83426aa29ae41d7db055c1.tar.gz gcc-47811d7dbe38c4e47c83426aa29ae41d7db055c1.tar.bz2 |
re PR bootstrap/85681 (r259995 breaks bootstrap on x86_64-*-freebsd)
2018-05-07 Luis Machado <luis.machado@linaro.org>
PR bootstrap/85681
Revert:
2018-05-07 Luis Machado <luis.machado@linaro.org>
* config/aarch64/aarch64-protos.h (cpu_prefetch_tune)
<prefetch_dynamic_strides>: New const bool field.
* config/aarch64/aarch64.c (generic_prefetch_tune): Update to include
prefetch_dynamic_strides.
(exynosm1_prefetch_tune): Likewise.
(thunderxt88_prefetch_tune): Likewise.
(thunderx_prefetch_tune): Likewise.
(thunderx2t99_prefetch_tune): Likewise.
(qdf24xx_prefetch_tune): Likewise. Set prefetch_dynamic_strides to false.
(aarch64_override_options_internal): Update to set
PARAM_PREFETCH_DYNAMIC_STRIDES.
* doc/invoke.texi (prefetch-dynamic-strides): Document new option.
* params.def (PARAM_PREFETCH_DYNAMIC_STRIDES): New.
* params.h (PARAM_PREFETCH_DYNAMIC_STRIDES): Define.
* tree-ssa-loop-prefetch.c (should_issue_prefetch_p): Account for
prefetch-dynamic-strides setting.
2018-05-07 Luis Machado <luis.machado@linaro.org>
* config/aarch64/aarch64-protos.h (cpu_prefetch_tune)
<minimum_stride>: New const int field.
* config/aarch64/aarch64.c (generic_prefetch_tune): Update to include
minimum_stride field.
(exynosm1_prefetch_tune): Likewise.
(thunderxt88_prefetch_tune): Likewise.
(thunderx_prefetch_tune): Likewise.
(thunderx2t99_prefetch_tune): Likewise.
(qdf24xx_prefetch_tune): Likewise. Set minimum_stride to 2048.
(aarch64_override_options_internal): Update to set
PARAM_PREFETCH_MINIMUM_STRIDE.
* doc/invoke.texi (prefetch-minimum-stride): Document new option.
* params.def (PARAM_PREFETCH_MINIMUM_STRIDE): New.
* params.h (PARAM_PREFETCH_MINIMUM_STRIDE): Define.
* tree-ssa-loop-prefetch.c (should_issue_prefetch_p): Return false if
stride is constant and is below the minimum stride threshold.
From-SVN: r260000
Diffstat (limited to 'gcc/params.def')
-rw-r--r-- | gcc/params.def | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/gcc/params.def b/gcc/params.def index 7408843..dad47ec 100644 --- a/gcc/params.def +++ b/gcc/params.def @@ -790,24 +790,6 @@ DEFPARAM (PARAM_L2_CACHE_SIZE, "The size of L2 cache.", 512, 0, 0) -/* Whether software prefetch hints should be issued for non-constant - strides. */ - -DEFPARAM (PARAM_PREFETCH_DYNAMIC_STRIDES, - "prefetch-dynamic-strides", - "Whether software prefetch hints should be issued for non-constant " - "strides.", - 1, 0, 1) - -/* The minimum constant stride beyond which we should use prefetch hints - for. */ - -DEFPARAM (PARAM_PREFETCH_MINIMUM_STRIDE, - "prefetch-minimum-stride", - "The minimum constant stride beyond which we should use prefetch " - "hints for.", - -1, 0, 0) - /* Maximum number of statements in loop nest for loop interchange. */ DEFPARAM (PARAM_LOOP_INTERCHANGE_MAX_NUM_STMTS, |