From patchwork Mon Jun 1 09:11:59 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kyrylo Tkachov X-Patchwork-Id: 478869 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 DA7AB140FDA for ; Mon, 1 Jun 2015 19:14:45 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=ByLD1y93; 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:subject:content-type; q= dns; s=default; b=EIw8i0RdsLUisIa/wN03qba6zl5XpnfaYzvN4hXkyG2r0L vlL7DF4MmnUP+bJdwBzvXzSin4uh+qQeRaYo0d4+x+SUBDaRgyneMF3DCwvE3OHL NEit6Xj+b4QFOEp+Pfs9LaW/hfz/PwPddnwa25kYGQJkgQlZLllMHm6tUJoUo= 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:subject:content-type; s= default; bh=7055dN2MiyLd9kRZoXdvgWzQjKk=; b=ByLD1y93MFQG4BLOjqhp a6tQuaHEDUxY7IWZ35X/F2gwpuqhOypgrmA2+PV/4cWdH5RKPy8VjM+qTj2t4TQT Om33q4oW1fO1TyNAJ5TDiTDd3Jdyh7R/y0T9JypsNvCyLb6G5vIb/MaVTmAXhD1P RI1IXpdIvPIpPeb4OSD1VdE= Received: (qmail 62538 invoked by alias); 1 Jun 2015 09:14:38 -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 62525 invoked by uid 89); 1 Jun 2015 09:14:38 -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: eu-smtp-delivery-143.mimecast.com Received: from eu-smtp-delivery-143.mimecast.com (HELO eu-smtp-delivery-143.mimecast.com) (207.82.80.143) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 01 Jun 2015 09:14:36 +0000 Received: from cam-owa1.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.140]) by uk-mta-18.uk.mimecast.lan; Mon, 01 Jun 2015 10:11:59 +0100 Received: from [10.2.207.50] ([10.1.2.79]) by cam-owa1.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 1 Jun 2015 10:11:59 +0100 Message-ID: <556C21DF.2070307@arm.com> Date: Mon, 01 Jun 2015 10:11:59 +0100 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 Subject: [PATCH][AArch64] Fix type of *_one_cmpl_3 pattern X-MC-Unique: lKSXjtx9SEmEj2QFhfAfuQ-1 X-IsSubscribed: yes Hi all, The *_one_cmpl_3 pattern doesn't set the condition flags so it's type should be logic_shift_imm rather than logics_shift_imm. Bootstrapped and tested on aarch64. Committed as obvious with r223922. Thanks, Kyrill 2015-06-01 Kyrylo Tkachov * config/aarch64/aarch64.md (*_one_cmpl_3): Change type to logic_shift_imm. commit cb4407d5014e3eb5e35646c7de241e976738e347 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 4817fae..bbb4812 100644 --- a/gcc/config/aarch64/aarch64.md +++ b/gcc/config/aarch64/aarch64.md @@ -3139,7 +3139,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 "*eor_one_cmpl_3_alt"