From patchwork Fri Aug 27 12:13:06 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bingfeng Mei X-Patchwork-Id: 62850 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id A5945B70DF for ; Fri, 27 Aug 2010 22:13:50 +1000 (EST) Received: (qmail 29199 invoked by alias); 27 Aug 2010 12:13:37 -0000 Received: (qmail 29104 invoked by uid 22791); 27 Aug 2010 12:13:32 -0000 X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL, BAYES_40, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mms3.broadcom.com (HELO MMS3.broadcom.com) (216.31.210.19) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 27 Aug 2010 12:13:28 +0000 Received: from [10.16.192.232] by MMS3.broadcom.com with ESMTP (Broadcom SMTP Relay (Email Firewall v6.3.2)); Fri, 27 Aug 2010 05:13:10 -0700 X-Server-Uuid: B55A25B1-5D7D-41F8-BC53-C57E7AD3C201 Received: from SJEXCHCCR02.corp.ad.broadcom.com ([10.16.192.131]) by SJEXCHHUB02.corp.ad.broadcom.com ([10.16.192.232]) with mapi; Fri, 27 Aug 2010 05:13:10 -0700 From: "Bingfeng Mei" To: "gcc-patches@gcc.gnu.org" Date: Fri, 27 Aug 2010 05:13:06 -0700 Subject: [PATCH] pr43430-1.c requires vect_condition target Message-ID: <7FB04A5C213E9943A72EE127DB74F0ADA6903F1CE1@SJEXCHCCR02.corp.ad.broadcom.com> x-cr-puzzleid: {83988F1B-13F5-49EB-8476-05858DCA688C} x-cr-hashedpuzzle: AvZc DJpb DyoS E7yn E74U Fahv GS9R Hd7y II3n IK/G IQ9U IeTI KWjN K0/3 LM0x MmND; 1; ZwBjAGMALQBwAGEAdABjAGgAZQBzAEAAZwBjAGMALgBnAG4AdQAuAG8AcgBnAA==; Sosha1_v1; 7; {83988F1B-13F5-49EB-8476-05858DCA688C}; YgBtAGUAaQBAAGIAcgBvAGEAZABjAG8AbQAuAGMAbwBtAA==; Fri, 27 Aug 2010 12:13:06 GMT; WwBQAEEAVABDAEgAXQAgAHAAcgA0ADMANAAzADAALQAxAC4AYwAgAHIAZQBxAHUAaQByAGUAcwAgAHYAZQBjAHQAXwBjAG8AbgBkAGkAdABpAG8AbgAgAHQAYQByAGcAZQB0AA== MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Hi, I noticed pr43430-1.c contains conditional code inside the loop. To vectorize the loop, vect_condition target is required. OK for trunk? Cheers, Bingfeng 2010-08-27 Bingfeng Mei * gcc.dg/vect/pr43430-1.c: Requires vect_condition target. Index: pr43430-1.c =================================================================== --- pr43430-1.c (revision 163583) +++ pr43430-1.c (working copy) @@ -1,4 +1,5 @@ /* { dg-require-effective-target vect_int } */ +/* { dg-require-effective-target vect_condition } */ #include #include "tree-vect.h"