https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116713
--- Comment #6 from Oleg Endo <olegendo at gcc dot gnu.org> --- (In reply to pietro from comment #5) > Created attachment 59210 [details] > Add a blockage instruction before the prefetch > > I did a few tests on sh4-elf and adding a blockage before the prefetch keeps > the prefetch in place. I'm attaching the patch to the PR because I'm not > sure I'll be able to do a full bootstrap and regtest on one of the main > platforms. Thanks! Can you post that patch to the gcc-patches mailing list? It's more likely to receive attention and discussion -- which is needed, since this is outside of SH scope and affects everything. I'm not even sure whether any bootstrap or regtest will catch any issues related to this.