From patchwork Thu Sep 18 10:01:11 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kyrylo Tkachov X-Patchwork-Id: 390732 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 C1A1B1401F1 for ; Thu, 18 Sep 2014 20:01:24 +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:mime-version:to:cc:subject:content-type; q=dns; s=default; b=JQzpyPSkQZjMHH79S1fPf4TJPSmpOg5AF0LRMyLIbCh FE6+YVS/GITtE0MC/ux4KSNQtwIdZN7Dgmp6+dpIWnHYoXgLzg0/G44eMfV+k1RV Yg/4fnEJ++Dw08hBv+OKG6srjlwn1AN02+PGbXOf/iFtXn3QgFBSJwQlvjXx43l4 = 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=KrxZR2Ag79fpjNRHsHB5u1iE8zI=; b=oqKYPWE01+NFAPE97 NTlXTN1QsPwzIaRsnxpYRR+E+sL0pcku0DrtQakAonNT0ejhRpURXqilJ2EeB52g GdjpcqEQY1krDHy/blI7GJue73TrvJ5D/bvxK//oZXH7z65NYYU9MpnO2owlwl3h Ajli939Pr32Aa515Yv07TAStjU= Received: (qmail 30529 invoked by alias); 18 Sep 2014 10:01:18 -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 30517 invoked by uid 89); 18 Sep 2014 10:01:17 -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; Thu, 18 Sep 2014 10:01:16 +0000 Received: from cam-owa1.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Thu, 18 Sep 2014 11:01:13 +0100 Received: from [10.1.208.24] ([10.1.255.212]) by cam-owa1.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 18 Sep 2014 11:01:11 +0100 Message-ID: <541AAD67.70706@arm.com> Date: Thu, 18 Sep 2014 11:01:11 +0100 From: Kyrill Tkachov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: GCC Patches CC: Ramana Radhakrishnan , Richard Earnshaw Subject: [PATCH][ARM] Fix insn type of movmisalign neon load pattern X-MC-Unique: 114091811011300501 X-IsSubscribed: yes Hi all, While browsing the code I noticed that the pattern in the patch has a store type when it is really a vld1 operation. Looking at the patterns around it, I think it was just a copy-pasto. The patch corrects that. Tested arm-none-eabi. Ok for trunk? 2014-09-18 Kyrylo Tkachov * config/arm/neon.md (*movmisalign_neon_load): Change type to neon_load1_1reg. diff --git a/gcc/config/arm/neon.md b/gcc/config/arm/neon.md index 354a105..69b7cfa 100644 --- a/gcc/config/arm/neon.md +++ b/gcc/config/arm/neon.md @@ -296,7 +296,7 @@ (define_insn "*movmisalign_neon_load" UNSPEC_MISALIGNED_ACCESS))] "TARGET_NEON && !BYTES_BIG_ENDIAN && unaligned_access" "vld1.\t{%q0}, %A1" - [(set_attr "type" "neon_store1_1reg")]) + [(set_attr "type" "neon_load1_1reg")]) (define_insn "vec_set_internal" [(set (match_operand:VD 0 "s_register_operand" "=w,w")