From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20497 invoked by alias); 20 Sep 2005 17:44:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 20480 invoked by uid 48); 20 Sep 2005 17:44:19 -0000 Date: Tue, 20 Sep 2005 17:44:00 -0000 Message-ID: <20050920174419.20479.qmail@sourceware.org> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20041112012216.18437.giovannibajo@libero.it> References: <20041112012216.18437.giovannibajo@libero.it> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug tree-optimization/18437] vectorizer failed for matrix multiplication X-Bugzilla-Reason: CC X-SW-Source: 2005-09/txt/msg02538.txt.bz2 List-Id: ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-20 17:44 ------- Oh, the issue here is that a, b, and ret all could point to the same array because the type is (float[3])* or arraryptr in: typedef float array[3]; typedef array *arraryptr; If we change ret, a, and b to be global variables, then the vectorizer could be done except for the fact: t.c:11: note: not vectorized: iteration count too small. t.c:11: note: bad operation or unsupported loop bound. t.c:11: note: vectorized 0 loops in function. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18437