From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 483 invoked by alias); 25 Nov 2007 14:13:20 -0000 Received: (qmail 446 invoked by uid 48); 25 Nov 2007 14:13:11 -0000 Date: Sun, 25 Nov 2007 14:13:00 -0000 Message-ID: <20071125141311.445.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/34223] missed optimization - complete unrolling pass before the vectorizer In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "eres at il dot ibm dot com" 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-11/txt/msg02392.txt.bz2 ------- Comment #3 from eres at il dot ibm dot com 2007-11-25 14:13 ------- (In reply to comment #2) > Why is this a shift not supported: > not vectorized: relevant stmt not supported: D.1652_13 = j_29 << 3 > Is j_29*8 supported (i.e. if you hack this expression to turn it into a > MULT_EXPR), does the vectorizer work then?? Still the division is not supported... (on altivec). the thing is that complete unrolling and ccp can help in such cases. c.c:12: note: not vectorized: relevant stmt not supported: D.1653_14 = D.1652_13 / 10 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34223