From patchwork Wed Mar 4 11:17:52 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kyrylo Tkachov X-Patchwork-Id: 446201 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 54B4714008F for ; Wed, 4 Mar 2015 22:18:04 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass reason="1024-bit key; unprotected key" header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=cl+o4EXx; dkim-adsp=none (unprotected policy); dkim-atps=neutral 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:mime-version:to:cc:subject:content-type; q=dns; s=default; b=rCd/aKl/OtfA9SI4+VmASKs4jh2Z8UwzGSFg/8JkskX b29cXCk6F/HnPYkq2VcJ6ETKqR8Ub0GHC/qKJdAI9irJ3PKDXrBOTvGYK4mToTWt k9HZPu+Qgx/Gsk0eEzcipGSDL4UdgLTD4VRssxAU6tQ08FCUhNqA49AcKKMvLNVY = 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:mime-version:to:cc:subject:content-type; s=default; bh=BD/uorr+1qZKRpb83XxVTbIEQBk=; b=cl+o4EXx5DUPlD4C6 Kji0+C/KS5c4ga7zYb7+XWPK8oMFd5nn7EWLWEcDWSkPA/4iMSfiBtOmKDSQx2GE xOVruSJLKNqWPAiHLQsnxi6LLfOapO5yArsh8pFESajA3o0OigfNz7k/A+/a21rn JRXrLaeHPDCaO9oFFXiA0bYsmA= Received: (qmail 49787 invoked by alias); 4 Mar 2015 11:17:57 -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 49776 invoked by uid 89); 4 Mar 2015 11:17:56 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL, BAYES_00, SPF_PASS autolearn=ham version=3.3.2 X-HELO: service87.mimecast.com Received: from service87.mimecast.com (HELO service87.mimecast.com) (91.220.42.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 04 Mar 2015 11:17:55 +0000 Received: from cam-owa1.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.140]) by service87.mimecast.com; Wed, 04 Mar 2015 11:17:53 +0000 Received: from [10.2.207.50] ([10.1.255.212]) by cam-owa1.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 4 Mar 2015 11:17:53 +0000 Message-ID: <54F6E9E0.4010608@arm.com> Date: Wed, 04 Mar 2015 11:17:52 +0000 From: Kyrill Tkachov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: GCC Patches CC: Marcus Shawcroft , Richard Earnshaw Subject: [PATCH][AArch64][stage-1] Fix type of *_one_cmpl_3 pattern X-MC-Unique: 115030411175302801 X-IsSubscribed: yes Hi all, This pattern doesn't set condition flags, so it shouldn't have the logics_shift_imm type but rather logic_shift_imm. Tested aarch64-none-elf. Ok for next stage 1? 2015-03-04 Kyrylo Tkachov * config/aarch64/aarch64.md (*_one_cmpl_3): Change type attr to logic_shift_imm. commit fe45393615f7f78b9ac29f1b3751a5513ea31091 Author: Kyrylo Tkachov Date: Mon Mar 2 15:29:45 2015 +0000 [AArch64] Fix type of *_one_cmpl_3 pattern diff --git a/gcc/config/aarch64/aarch64.md b/gcc/config/aarch64/aarch64.md index 7103e0d..32404f2 100644 --- a/gcc/config/aarch64/aarch64.md +++ b/gcc/config/aarch64/aarch64.md @@ -3128,7 +3128,7 @@ (define_insn "*_one_cmpl_3" (match_operand:GPI 3 "register_operand" "r")))] "" "\\t%0, %3, %1, %2" - [(set_attr "type" "logics_shift_imm")] + [(set_attr "type" "logic_shift_imm")] ) (define_insn "*and_one_cmpl_3_compare0"