From patchwork Mon Aug 11 21:59:40 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janis Johnson X-Patchwork-Id: 379149 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]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 05BD614013F for ; Tue, 12 Aug 2014 07:59:52 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:reply-to:mime-version:to:subject :content-type; q=dns; s=default; b=i5TFzN4tFhI0n8gpSXsRImCKNN1fT UrNchlYdeE1W/2LBEZ8wftowoiDdyvfft589g4dDIMA4qevo9lUn8plKtUFlBDnt PGNSIrkt7EOIC9ezN2OpNLQy834JAGTeCJTXNK7O2clKNbIEfzNzFVYhDBcHZ0NH OQSQ2cY8mbYMPA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:reply-to:mime-version:to:subject :content-type; s=default; bh=v3gm7r6DnFfNLp4Lolh51vWqNsk=; b=xZO XXv3bMxVRy0HTVWnchu0U6qqRsr+YjdWKQB19W0mg5xtvDo3MCWxmTVAxbLNj/qL ssz79iomjH/G1t8PkRyKewaw/1djBItfFqRM4UYU+HkLfil1ZAJAIrUuhVnnmfWs kn+7KJUTVWVIrGQqEWPKPjiPgCnaU8JirRMIqfz0= Received: (qmail 25548 invoked by alias); 11 Aug 2014 21:59:45 -0000 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 Received: (qmail 25519 invoked by uid 89); 11 Aug 2014 21:59:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL, BAYES_00 autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 11 Aug 2014 21:59:40 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1XGxcu-0001BH-Qo from Janis_Johnson@mentor.com for gcc-patches@gcc.gnu.org; Mon, 11 Aug 2014 14:59:36 -0700 Received: from SVR-ORW-FEM-05.mgc.mentorg.com ([147.34.97.43]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 11 Aug 2014 14:59:36 -0700 Received: from [127.0.0.1] (147.34.91.1) by svr-orw-fem-05.mgc.mentorg.com (147.34.97.43) with Microsoft SMTP Server id 14.2.247.3; Mon, 11 Aug 2014 14:59:36 -0700 Message-ID: <53E93CCC.7090203@mentor.com> Date: Mon, 11 Aug 2014 14:59:40 -0700 From: Janis Johnson Reply-To: User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: "gcc-patches@gcc.gnu.org" Subject: [testsuite patch] skip an ARM run test if not using neon hardware Test gcc.target/arm/neon-vext-execute.c checks that the compiler can generate neon instructions, but it should also check that the test will be run using hardware that supports neon, which this patch adds. Tested with arm-none-linux-gnu for mainline and 4.9 with a variety of multilib flags. OK for mainline and the 4.9 branch? Janis 2014-08-11 Janis Johnson * gcc.target/arm/neon-vext-execute.c: Skip if the test won't run on Neon hardware. Index: gcc/testsuite/gcc.target/arm/neon-vext-execute.c =================================================================== --- gcc/testsuite/gcc.target/arm/neon-vext-execute.c (revision 437379) +++ gcc/testsuite/gcc.target/arm/neon-vext-execute.c (working copy) @@ -1,5 +1,6 @@ /* { dg-do run } */ /* { dg-require-effective-target arm_neon_ok } */ +/* { dg-require-effective-target arm_neon_hw } */ /* { dg-require-effective-target arm_little_endian } */ /* { dg-options "-O2" } */ /* { dg-add-options arm_neon } */