From patchwork Thu Apr 25 10:34:39 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Greenhalgh X-Patchwork-Id: 239478 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 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "localhost", Issuer "www.qmailtoaster.com" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 7881E2C007A for ; Thu, 25 Apr 2013 20:35:00 +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:from :to:cc:subject:date:message-id:mime-version:content-type; q=dns; s=default; b=hq4Qp7L3eZSIldgzR8qwCcM11r74+9jwWx50rZds6HbgXMS6Am b4zwt258er11OMCmEKOfMGuKfV2Czaym2exMXvdWIXtoclaaKaNsnKuHdM/jKOHt de4beTcgug+RuPIZBlzMjswbDwx4sJG6uSWJ4jXur2VHbXh+DD04ZySVI= 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:from :to:cc:subject:date:message-id:mime-version:content-type; s= default; bh=paWqng8yQUludoeoC5O6geApoFE=; b=vIoyDZU4co4SGFbsqQ9k yYg9U6pNERqxY+IacTu0e9/yZVxz9x2tYwMlWE23zyHxI1o+QURORTbXtZCaGO9Q a/pwH3oucRHmlzJ8J/A+g6LRTXImhRW5+p+JkNnlPoLhKtfNgv0IsCAxHDa1dUuc 5g7/BjlvUVecm9mLQbZiFpg= Received: (qmail 4460 invoked by alias); 25 Apr 2013 10:34:54 -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 4450 invoked by uid 89); 25 Apr 2013 10:34:54 -0000 X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.1 Received: from service87.mimecast.com (HELO service87.mimecast.com) (91.220.42.44) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 25 Apr 2013 10:34:54 +0000 Received: from cam-owa2.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Thu, 25 Apr 2013 11:34:51 +0100 Received: from e106375-lin.cambridge.arm.com ([10.1.255.212]) by cam-owa2.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 25 Apr 2013 11:34:51 +0100 From: James Greenhalgh To: gcc-patches@gcc.gnu.org Cc: marcus.shawcroft@arm.com Subject: [AArch64] Change iterator for neg2 from VDQM to VDQ. Date: Thu, 25 Apr 2013 11:34:39 +0100 Message-Id: <1366886079-6628-1-git-send-email-james.greenhalgh@arm.com> MIME-Version: 1.0 X-MC-Unique: 113042511345104201 X-Virus-Found: No Hi, neg2 was described as only being applicable to modes in the VDQM iterator. But the instruction generated, `NEG', has a .2D form. This patch corrects the iterator used to one including V2DImode. Patch regression tested on aarch64-none-elf with no regressions. OK? Thanks, James 2013-02-28 James Greenhalgh * config/aarch64/aarch64-simd.md (neg2): Use VDQ iterator. diff --git a/gcc/config/aarch64/aarch64-simd.md b/gcc/config/aarch64/aarch64-simd.md index e5506fc..42c8d68 100644 --- a/gcc/config/aarch64/aarch64-simd.md +++ b/gcc/config/aarch64/aarch64-simd.md @@ -505,8 +505,8 @@ ) (define_insn "neg2" - [(set (match_operand:VDQM 0 "register_operand" "=w") - (neg:VDQM (match_operand:VDQM 1 "register_operand" "w")))] + [(set (match_operand:VDQ 0 "register_operand" "=w") + (neg:VDQ (match_operand:VDQ 1 "register_operand" "w")))] "TARGET_SIMD" "neg\t%0., %1." [(set_attr "simd_type" "simd_negabs")