From patchwork Thu Jul 30 11:47:20 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alan Lawrence X-Patchwork-Id: 502109 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 0E9631402B2 for ; Thu, 30 Jul 2015 21:47:33 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=Ai8yBynb; 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:references :in-reply-to:content-type; q=dns; s=default; b=ZhOp5mMSFlAYPEPt/ zd3Ivm3GKwwjNQEFUfD9cXkUg77TnAxV9/yteSyVn/59MrmDBtvuupq00sp8OLsG 2cCC0gi/iEGUmDXNi7iMKtsMxf3Q9mf4KFVBJo4kIycbnljd8rB7DmTlAQ+La3pY GjfehTtqFr3wqruoXahrZywT6E= 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:references :in-reply-to:content-type; s=default; bh=3S6EgrBaDkvk24LlKVC6sGD NP4A=; b=Ai8yBynbQUXuqJdhy4x/skCZApACLHh4Q1HLymTQ4dg8s1URTqIfbBJ xO32jZhAbD2nKDLBfoyEl2f8E2+sQdmdU3plzh4VpIsemdrjh5bUh+KggoAXD2o2 vNzeaqDpSotNNMAICNXlb5NdrkH4H+J1v/m0FD+0/wqInptYdVuA= Received: (qmail 55044 invoked by alias); 30 Jul 2015 11:47:27 -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 55034 invoked by uid 89); 30 Jul 2015 11:47:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 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) (146.101.78.143) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 30 Jul 2015 11:47:25 +0000 Received: from cam-owa1.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.140]) by eu-smtp-1.mimecast.com with ESMTP id uk-mta-29-FShexDxlTu-0HGmzdZ9ZDg-1; Thu, 30 Jul 2015 12:47:20 +0100 Received: from [10.2.207.65] ([10.1.2.79]) by cam-owa1.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 30 Jul 2015 12:47:20 +0100 Message-ID: <55BA0EC8.60106@arm.com> Date: Thu, 30 Jul 2015 12:47:20 +0100 From: Alan Lawrence User-Agent: Thunderbird 2.0.0.24 (X11/20101213) MIME-Version: 1.0 To: James Greenhalgh CC: "gcc-patches@gcc.gnu.org" Subject: [AArch64] Remove unused VRL2/3/4 iterator values (was: Re: [PATCH 8/15][AArch64] Add support for float14x{4, 8}_t vectors/builtins) References: <55B765DF.4040706@arm.com> <55B766B4.2030305@arm.com> <20150729102409.GC5656@arm.com> In-Reply-To: <20150729102409.GC5656@arm.com> X-MC-Unique: FShexDxlTu-0HGmzdZ9ZDg-1 X-IsSubscribed: yes James Greenhalgh wrote: > On Tue, Jul 28, 2015 at 12:25:40PM +0100, Alan Lawrence wrote: > > I'd have preferred the unrelated changes here as separate patches. If you > pull them out, they are OK to commit independent of this patch. Done (r226352 and r226353). > Ah ok, I see what is going on here... None of these are actually used for > the 128-bit vector modes, so missing entries or incorrect entries for > V8HFmode don't matter. Hah, yes, you are right. Can I propose the attached patch as a first step, and then I'll repost what's left from my original plus the next patch (still currently fixing after rebasing over Charles' patches)... bootstrapped + check-gcc on aarch64-none-linux-gnu. gcc/ChangeLog: * config/aarch64/iterators.md (VRL2, VRL3, VRL4): Remove values for 128-bit vector modes. diff --git a/gcc/config/aarch64/iterators.md b/gcc/config/aarch64/iterators.md index b19d3d743a733303371341d9f323f47ed83618c3..37cb6938151ff8ce0b7e1bff18e575cf052c6a77 100644 --- a/gcc/config/aarch64/iterators.md +++ b/gcc/config/aarch64/iterators.md @@ -540,24 +540,15 @@ (define_mode_attr VRL2 [(V8QI "V32QI") (V4HI "V16HI") (V2SI "V8SI") (V2SF "V8SF") - (DI "V4DI") (DF "V4DF") - (V16QI "V32QI") (V8HI "V16HI") - (V4SI "V8SI") (V4SF "V8SF") - (V2DI "V4DI") (V2DF "V4DF")]) + (DI "V4DI") (DF "V4DF")] (define_mode_attr VRL3 [(V8QI "V48QI") (V4HI "V24HI") (V2SI "V12SI") (V2SF "V12SF") - (DI "V6DI") (DF "V6DF") - (V16QI "V48QI") (V8HI "V24HI") - (V4SI "V12SI") (V4SF "V12SF") - (V2DI "V6DI") (V2DF "V6DF")]) + (DI "V6DI") (DF "V6DF")] (define_mode_attr VRL4 [(V8QI "V64QI") (V4HI "V32HI") (V2SI "V16SI") (V2SF "V16SF") - (DI "V8DI") (DF "V8DF") - (V16QI "V64QI") (V8HI "V32HI") - (V4SI "V16SI") (V4SF "V16SF") - (V2DI "V8DI") (V2DF "V8DF")]) + (DI "V8DI") (DF "V8DF")] (define_mode_attr VSTRUCT_DREG [(OI "TI") (CI "EI") (XI "OI")])