From patchwork Thu Sep 27 00:00:09 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janis Johnson X-Patchwork-Id: 187246 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 E3F762C0098 for ; Thu, 27 Sep 2012 10:00:53 +1000 (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=1349308854; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Message-ID:Date:From:Reply-To:User-Agent:MIME-Version: To:Subject:Content-Type:Mailing-List:Precedence:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=amJUvtlVpdijSQgph1vnm+fcqXw=; b=U7L0ZQI/uD+jz0E g/I4GphHjfb+8TPa5yLDbqtMUCtqI1xw6d92BxJtzP06T9DSdDrgS9GPrdrYtCev 4pDW8fz0mbh1aexVrh+xlViENUEyPk8VZ2pADFkp4v5R6Q68RwKo5sltBSMQcXYq AMF/HkeBZayRIioU9avW2LesTHck= 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:Message-ID:Date:From:Reply-To:User-Agent:MIME-Version:To:Subject:Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=jarHl7q9HRrlhWKT7kKgyIK5A+wWVKU6x5zac8O1kh6aFQUh8Gu0OoILQhuVk5 U8O0HKk0WbFkA2hsqiXZlJ2XbxkyQTkpVS/kgPWVnap78yS8u7x7CzX9louQ1h+g xt8WoE2hPWxev7DCeTWigR2NM1/Ufjxwe77rEshNO/2fE=; Received: (qmail 10536 invoked by alias); 27 Sep 2012 00:00:49 -0000 Received: (qmail 10455 invoked by uid 22791); 27 Sep 2012 00:00:48 -0000 X-SWARE-Spam-Status: No, hits=-3.8 required=5.0 tests=AWL, BAYES_00, KHOP_RCVD_UNTRUST, RCVD_IN_HOSTKARMA_W, RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 27 Sep 2012 00:00:33 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1TH1Wq-0000SQ-Qc from Janis_Johnson@mentor.com for gcc-patches@gcc.gnu.org; Wed, 26 Sep 2012 17:00:32 -0700 Received: from SVR-ORW-FEM-04.mgc.mentorg.com ([147.34.97.41]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 26 Sep 2012 17:00:33 -0700 Received: from [127.0.0.1] (147.34.91.1) by svr-orw-fem-04.mgc.mentorg.com (147.34.97.41) with Microsoft SMTP Server id 14.1.289.1; Wed, 26 Sep 2012 17:00:32 -0700 Message-ID: <50639709.9030504@mentor.com> Date: Wed, 26 Sep 2012 17:00:09 -0700 From: Janis Johnson Reply-To: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.28) Gecko/20120313 Thunderbird/3.1.20 MIME-Version: 1.0 To: "gcc-patches@gcc.gnu.org" Subject: [testsuite] gcc.target/arm/combine-movs.c: fix effective target 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 Test gcc.target/arm/combine-movs.c uses the wrong effective-target keyword on dg-final scans; arm_thumb2_ok says that the target will support THUMB2 if -mthumb is specified, and arm_thumb2 says that with the current options it is supported. Tested on arm-none-eabi with multiple flags, checked in on trunk. Janis 2012-09-26 Janis Johnson * gcc.target/arm/combine-movs.c: Use effective target arm_thumb2. Index: gcc.target/arm/combine-movs.c =================================================================== --- gcc.target/arm/combine-movs.c (revision 191765) +++ gcc.target/arm/combine-movs.c (working copy) @@ -9,5 +9,5 @@ r[i] = 0; } -/* { dg-final { scan-assembler "lsrs\tr\[0-9\]" { target arm_thumb2_ok } } } */ -/* { dg-final { scan-assembler "movs\tr\[0-9\]" { target { ! arm_thumb2_ok} } } } */ +/* { dg-final { scan-assembler "lsrs\tr\[0-9\]" { target arm_thumb2 } } } */ +/* { dg-final { scan-assembler "movs\tr\[0-9\]" { target { ! arm_thumb2 } } } } */