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 fortran/32380] misaligned stores don't get vectorized



------- Comment #5 from dorit at gcc dot gnu dot org  2007-07-15 19:02 -------
(In reply to comment #4)
> The arrays in this example all have compatible alignment.  This is one of the
> advantages many compilers see in the use of the "old-fashioned" block COMMON.
> In the usual case lft==1 all arrays in COMMON are aligned, with the size
> declarations given here.  So it is undesirable to split the loop to handle
> alignment.

ah, ok. so the real issue here is to make the vectorizer notice that all these
accesses have the same alignment (we have a way in the vectorizer to mark
accesses that have the same alignment even if the alignment itself is unknown).
to be continued...


-- 


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


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