From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6454 invoked by alias); 15 Jul 2007 19:02:59 -0000 Received: (qmail 6425 invoked by uid 48); 15 Jul 2007 19:02:46 -0000 Date: Sun, 15 Jul 2007 19:02:00 -0000 Message-ID: <20070715190246.6424.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/32380] misaligned stores don't get vectorized In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dorit at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-07/txt/msg01633.txt.bz2 ------- 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