2 ms·
Prefetch insertion was done years ago, but disabled (at least in GCC) because it has never shown any performance benefit, even when we disassemble and see it in
by DannyBee 14y ago
Prefetch insertion was done years ago, but disabled (at least in GCC) because it has never shown any performance benefit, even when we disassemble and see it inserting prefetches in exactly the places it should.
In general, the hardware prefetchers are spectacular in most x86 implementations, and it's roughly impossible to beat them in all but the weirdest situations.
(This is true of at least every processor since core duo, AFAIK)
Graphite/et al (and similar implementations) are the future.
They are a very large amount of work to get right, working, and performing well, but the benefits are immense.
They can basically transform loops optimally for any set of cost functions you can come up with.
(This is actually the easy part, the hard part is generating reasonable code from the resulting loops :P)
There are numbers, but not from those particular implementations.