This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/44297] Big spec cpu2006 prefetch regressions on gcc 4.6 on x86



------- Comment #6 from changpeng dot fang at amd dot com  2010-05-28 16:46 -------
(In reply to comment #4)
> Created an attachment (id=20767)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20767&action=view) [edit]
> Patch that makes loop invariant prefetches backend specfic
> 

Actually, I am the one who would like the invariant step prefetch to
be backend independent. However, the current implementation seems a bit
aggressive: The fundamental assumption of the implementation is that
the invariant step is big enough so that there is no spatial reuse
and we don't need to unroll the loop (preprech_mod == 1). This assumption
may be OK for c code (or integer code), and may not be appropriate for
fortran programs.





-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44297


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]