From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22189 invoked by alias); 8 Feb 2006 02:19:29 -0000 Received: (qmail 22174 invoked by uid 48); 8 Feb 2006 02:19:27 -0000 Date: Wed, 08 Feb 2006 02:19:00 -0000 Message-ID: <20060208021927.22173.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/25918] gcc.dg/vect/vect-reduc-dot-s16.c scan-tree-dump-times vectorized 1 loops 1 and gcc.dg/vect/vect-reduc-pattern-2.c scan-tree-dump-times vectorized 2 loops 1 fail In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "wilson at gcc dot gnu dot org" 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 X-SW-Source: 2006-02/txt/msg00722.txt.bz2 List-Id: ------- Comment #5 from wilson at gcc dot gnu dot org 2006-02-08 02:19 ------- Dorit's analysis of vect-reduc-pattern-2.c in comment #1 is correct. The loop that sums char into int is not vectorized, because the widen_ssumv8qi3 pattern has the wrong output mode (HI instead of SI). Dorit's suggested solution looks reasonable to me. -- wilson at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wilson at gcc dot gnu dot | |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25918