------- Comment #4 from changpeng dot fang at amd dot com 2010-06-25 17:08 ------- (In reply to comment #3) > Created an attachment (id=21001) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21001&action=view) [edit] > Potential fix for compile time regression > > Here is a potential fix. We just limit prefetching to loops with a "low" > amount > of memory references and bail out if the amount of references is too large. >
This should be a good fix for now. But the complexities of computing group reuse and miss rate are still a concern. I don't think we need to compute the miss rate "exactly" here. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44576