------- Comment #17 from changpeng dot fang at amd dot com 2010-06-07 18:37 ------- (In reply to comment #15) > Created an attachment (id=20860) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20860&action=view) [edit] > Don't consider effect of unrolling in the computation of insn-to-prefetch > ratio >
To compute the insn-to-prefetch ratio precisely, we may need to compute this after schedule_prefetches to know exactly how many prefetches are scheduled (we also need to compute the exact number of insns in the unrolled body). For now, I would like to unable my previous commit of using (unroll_factor * insns) for the total insns in the unrolled body. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44297