https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114932
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pinskia at gcc dot gnu.org --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- > which is harder for prefetchers to follow. This seems like a limitation in the HW prefetcher rather than anything else. Maybe the cost model for addressing mode should punish base+index if so. Many HW prefetchers I know of are based on the final VA (or even PA) rather looking at the instruction to see if it increments or not ...