From patchwork Tue Feb 21 18:26:52 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Weigand X-Patchwork-Id: 142346 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 28441B6FA2 for ; Wed, 22 Feb 2012 05:27:34 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1330453656; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Received:Received:Message-Id:Received:Subject:To:Date: From:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:Sender:Delivered-To; bh=dTdjrfRvGLCWcn8A4SzE 9RhA9hI=; b=FsZRWO+ZhkYzYW7Jzo7vqcBj0sI2hITBo4ToIx2MzTwrG1AL+As2 uNwOxJv+n2gQtbWCvw5OyLZjpWcS+9RXkGFSs1LpTyiEEXyC3/D9TzGwAfmtRjow D6Z+mJVSNVlkZ2Rj1dLWYQaCP33KVSU0As35HlUVTz5mfljBz9D/81o= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Received:Received:Received:Message-Id:Received:Subject:To:Date:From:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding:x-cbid:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=qJT71C0cLEmYlghvcnbKn4f202kIScuNYXev0i1liJUco9N0VoB/zZoTEB4LI3 3CfFk7+F7AxqGflkyeRkNqFmy2CwyPnObi93sna+2PYoDr4FUuAi0p6LLG6OMa19 3ozbg8poSKDHRPLtjhmqjJb0VrBj4uEOTYbuehLzQ3tbw=; Received: (qmail 5105 invoked by alias); 21 Feb 2012 18:27:24 -0000 Received: (qmail 5076 invoked by uid 22791); 21 Feb 2012 18:27:21 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL, BAYES_00, MSGID_FROM_MTA_HEADER, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from e06smtp18.uk.ibm.com (HELO e06smtp18.uk.ibm.com) (195.75.94.114) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 21 Feb 2012 18:27:07 +0000 Received: from /spool/local by e06smtp18.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 21 Feb 2012 18:27:04 -0000 Received: from d06nrmr1407.portsmouth.uk.ibm.com (9.149.38.185) by e06smtp18.uk.ibm.com (192.168.101.148) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 21 Feb 2012 18:26:54 -0000 Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by d06nrmr1407.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q1LIQsUt2269188 for ; Tue, 21 Feb 2012 18:26:54 GMT Received: from d06av02.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q1LIQs9d028100 for ; Tue, 21 Feb 2012 11:26:54 -0700 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with SMTP id q1LIQqLG028085; Tue, 21 Feb 2012 11:26:53 -0700 Message-Id: <201202211826.q1LIQqLG028085@d06av02.portsmouth.uk.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Tue, 21 Feb 2012 19:26:52 +0100 Subject: [ARM, patch, testsuite] Enable vect_condition tests for ARM/NEON To: gcc-patches@gcc.gnu.org Date: Tue, 21 Feb 2012 19:26:52 +0100 (CET) From: "Ulrich Weigand" Cc: ramana.radhakrishnan@linaro.org MIME-Version: 1.0 x-cbid: 12022118-6892-0000-0000-000001128E65 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 Hello, I just noticed that check_effective_target_vect_condition returns false for ARM/NEON, even though the platforms in fact supports vectorized conditional expressions. This causes a number of tests to be skipped unnecessarily. Fixed by the following patch. Tested on arm-linux-gnueabi with no regressions, adds about 130 PASSes. OK for mainline? Bye, Ulrich testsuite/ChangeLog: * lib/target-supports.exp (check_effective_target_vect_condition): Return true for NEON. Index: gcc/testsuite/lib/target-supports.exp =================================================================== --- gcc/testsuite/lib/target-supports.exp (revision 184398) +++ gcc/testsuite/lib/target-supports.exp (working copy) @@ -3430,7 +3430,8 @@ || [istarget ia64-*-*] || [istarget i?86-*-*] || [istarget spu-*-*] - || [istarget x86_64-*-*] } { + || [istarget x86_64-*-*] + || ([istarget arm*-*-*] && [check_effective_target_arm_neon_ok]) } { set et_vect_cond_saved 1 } }