This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32380] misaligned stores don't get vectorized
- From: "dorit at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jul 2007 19:02:46 -0000
- Subject: [Bug fortran/32380] misaligned stores don't get vectorized
- References: <bug-32380-33@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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