From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9185 invoked by alias); 27 Jul 2009 14:51:20 -0000 Received: (qmail 9143 invoked by uid 48); 27 Jul 2009 14:51:10 -0000 Date: Mon, 27 Jul 2009 14:51:00 -0000 Message-ID: <20090727145110.9142.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/31067] MINLOC should sometimes be inlined (gas_dyn is sooooo sloooow) In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jakub 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: 2009-07/txt/msg02170.txt.bz2 ------- Comment #40 from jakub at gcc dot gnu dot org 2009-07-27 14:51 ------- If the cond_expr compute a minimum or maximum and the other cond_exprs compute something based on the IV at the extremum, then I don't see why it couldn't be vectorized by computing extremes of odd/even and corresponding values based on the IV at those points, then merging them in the final step, and similarly for bigger vectorization steps. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31067