This patch enables prefetching at -O3 for aarch64 cores that set "simultaneous prefetches" parameter above 0. There are currently no such settings, so this patch doesn't change default code generation.
I'm now working on improvements to -fprefetch-loop-arrays pass to make it suitable for -O2. I'll post this work in the next month. Bootstrapped and regtested on x86_64-linux-gnu and aarch64-linux-gnu. -- Maxim Kuvyrkov www.linaro.org
0005-Enable-fprefetch-loop-arrays-at-O3-for-cores-that-be.patch
Description: Binary data