[PR91598] Improve autoprefetcher heuristic in haifa-sched.c

Maxim Kuvyrkov maxim.kuvyrkov@linaro.org
Tue Aug 17 09:43:00 GMT 2021

Hi All,

I've forgotten to commit this patch when it was approved 2 years ago.  It
still applies cleanly to the current mainline and I've retested it
(bootstrap+regtest) on aarch64-linux-gnu and arm-linux-gnueabihf with no

I'll commit this shortly.


On Tue, 3 Sept 2019 at 19:55, Wilco Dijkstra <Wilco.Dijkstra@arm.com> wrote:

> Hi Maxim,
> >  > Autoprefetching heuristic is enabled only for cores that support it,
> and isn't active for by default.
> >
> > It's enabled on most cores, including the default (generic). So we do
> have to be
> > careful that this doesn't regress any other benchmarks or do worse on
> modern
> > cores.
> I benchmarked your scheduler change on a few AArch64 machines, and it
> either has
> no effect or a positive effect on SPECFP with no major outliers (and only
> minor
> codesize differences). So I think your proposed patch is OK as is.
> Cheers,
> Wilco

Maxim Kuvyrkov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Improve-autoprefetcher-heuristic-partly-fix-regressi.patch
Type: application/octet-stream
Size: 1341 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20210817/00a19b10/attachment.obj>

More information about the Gcc-patches mailing list