https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85681

--- Comment #5 from luisgpm at gcc dot gnu.org ---
Author: luisgpm
Date: Mon May  7 15:47:14 2018
New Revision: 260000

URL: https://gcc.gnu.org/viewcvs?rev=260000&root=gcc&view=rev
Log:
2018-05-07  Luis Machado  <luis.mach...@linaro.org>

        PR bootstrap/85681
        Revert:
        2018-05-07  Luis Machado  <luis.mach...@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.mach...@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.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/aarch64/aarch64-protos.h
    trunk/gcc/config/aarch64/aarch64.c
    trunk/gcc/doc/invoke.texi
    trunk/gcc/params.def
    trunk/gcc/params.h
    trunk/gcc/tree-ssa-loop-prefetch.c

Reply via email to