From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18787 invoked by alias); 21 Sep 2011 16:09:09 -0000 Received: (qmail 18773 invoked by uid 22791); 21 Sep 2011 16:09:07 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_FC X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 21 Sep 2011 16:08:51 +0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/50374] Support vectorization of min/max location pattern Date: Wed, 21 Sep 2011 16:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Attachment #25331 is obsolete Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2011-09/txt/msg01473.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50374 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #25331|0 |1 is obsolete| | --- Comment #16 from Jakub Jelinek 2011-09-21 16:08:29 UTC --- Created attachment 25333 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25333 gcc47-pr50374.patch Updated patch which changes the optab as I mentioned, and adds the testcases (both original Ira's and two new testcases, one which tries various type combinations). Currently on both x86_64 and i686 the big new testcase (-12.c) fails, apparently some issue with float comparison and unsigned int index, likely a backend issue, debugging, and -3.c fails with an ICE in the vectorizer, Ira, could you look at that? Let's leave the PRE issue for PRE for now, I'll try tomorrow to adjust ifcvt for the min/max folding.