From patchwork Mon Sep 14 08:22:20 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kyrylo Tkachov X-Patchwork-Id: 53538 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f71.google.com (mail-la0-f71.google.com [209.85.215.71]) by patches.linaro.org (Postfix) with ESMTPS id B02882056A for ; Mon, 14 Sep 2015 08:22:46 +0000 (UTC) Received: by lagj9 with SMTP id j9sf47570098lag.0 for ; Mon, 14 Sep 2015 01:22:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:mailing-list:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:sender :delivered-to:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type:x-original-sender :x-original-authentication-results; bh=EJZTaQJkULlaBuLJh5qriSVroL3GhXFClpUkIk/Y0rg=; b=G7OgHtTIEN70TGyblDQyprjTD2tuLafkpExTbXTvbi5z1L5H1cFMkPqn7FrwCemoJe 5RW7j5DHpx+zBeNzPmAVHQc9hxy+NjZeXqRhJIl3lwsN2Kd6pohQ8ahkGaPezMZBLdob Snq/iUR5NjiyuVkQOZMTfK5ezpgY9OO8uRm+Keel2pTDbEG723LKnbFYBhYDe1VsH3ei v23W8mWuHEHknuvLVUgcHapaT3TqK4tgwi0hwyuF1WqhRBVnqpyFtG6qbMHQ0fG1urVh vV9nWTuWbzB1gcvvFPTWCU7yJYFVaXPo4BJgmk/h5l8cVJTUX4pNAW7hd7HVb2P7cpnG /4mw== X-Gm-Message-State: ALoCoQld0K8vZD38w490XWBlraFYGOOJ1k4/F9807yjFY3Y5qaszNh3w9vKaKAvIAtryK1auyWvD X-Received: by 10.112.130.41 with SMTP id ob9mr2005958lbb.17.1442218965651; Mon, 14 Sep 2015 01:22:45 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.21.163 with SMTP id w3ls625496lae.21.gmail; Mon, 14 Sep 2015 01:22:45 -0700 (PDT) X-Received: by 10.152.178.162 with SMTP id cz2mr6337086lac.89.1442218965493; Mon, 14 Sep 2015 01:22:45 -0700 (PDT) Received: from mail-la0-x22b.google.com (mail-la0-x22b.google.com. [2a00:1450:4010:c03::22b]) by mx.google.com with ESMTPS id jb6si8973223lbc.40.2015.09.14.01.22.45 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Sep 2015 01:22:45 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c03::22b as permitted sender) client-ip=2a00:1450:4010:c03::22b; Received: by lanb10 with SMTP id b10so81478276lan.3 for ; Mon, 14 Sep 2015 01:22:45 -0700 (PDT) X-Received: by 10.152.26.41 with SMTP id i9mr12330051lag.36.1442218965296; Mon, 14 Sep 2015 01:22:45 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp1054625lbq; Mon, 14 Sep 2015 01:22:43 -0700 (PDT) X-Received: by 10.68.191.130 with SMTP id gy2mr32793022pbc.124.1442218963062; Mon, 14 Sep 2015 01:22:43 -0700 (PDT) Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id oo8si21777678pbc.101.2015.09.14.01.22.42 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Sep 2015 01:22:43 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-407278-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Received: (qmail 47996 invoked by alias); 14 Sep 2015 08:22:29 -0000 Mailing-List: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org Precedence: list 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 47980 invoked by uid 89); 14 Sep 2015 08:22:28 -0000 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; Mon, 14 Sep 2015 08:22: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-19-DZy-rcWiTM2hwgisrp7qoQ-1; Mon, 14 Sep 2015 09:22:20 +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, 14 Sep 2015 09:22:20 +0100 Message-ID: <55F683BC.4010200@arm.com> Date: Mon, 14 Sep 2015 09:22:20 +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: Gerald Pfeifer CC: "gcc-patches@gcc.gnu.org" , Marcus Shawcroft , James Greenhalgh Subject: Re: [PATCH][wwwdocs][AArch64] Add entry for target attributes and pragmas References: <55E5B6BC.6020005@arm.com> <55E6B259.5040401@arm.com> <55ED8035.9020103@arm.com> In-Reply-To: <55ED8035.9020103@arm.com> X-MC-Unique: DZy-rcWiTM2hwgisrp7qoQ-1 X-IsSubscribed: yes X-Original-Sender: kyrylo.tkachov@arm.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c03::22b as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=pass header.i=@gcc.gnu.org X-Google-Group-Id: 836684582541 On 07/09/15 13:16, Kyrill Tkachov wrote: > Hi Gerald, > > On 07/09/15 12:31, Gerald Pfeifer wrote: >> On Wed, 2 Sep 2015, Kyrill Tkachov wrote: >>> My thinking was that when we introduce some new command-line option we >>> list it here and give a short description of it (new -mcpu values, for >>> example). However, here we introduce about 10 new target attributes and >>> pragmas and listing them all would make this entry too long for my >>> liking so as a shorthand for listing them all I chose to point to the >>> documentation. >>> >>> Unless you feel strongly against this reasoning I'd like to commit the >>> patch as is within 48 hours. >> I can follow your reasoning, and anyway the 48 hours are way over ;-), >> just have you considered adding a reference to the documentation (as a >> hyperlink to the respective section, if there is a good one, such as >> https://gcc.gnu.org/onlinedocs/gcc/ARM-Pragmas.html#ARM-Pragmas )? > Good idea, I'll send a patch to mention the link. > The relevant one is: > https://gcc.gnu.org/onlinedocs/gcc/AArch64-Function-Attributes.html#AArch64-Function-Attributes And here is the patch. I'll apply it in 48 hours if there's no objection. Thanks, Kyrill Index: htdocs/gcc-6/changes.html =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-6/changes.html,v retrieving revision 1.26 diff -U 3 -r1.26 changes.html --- htdocs/gcc-6/changes.html 4 Sep 2015 09:33:28 -0000 1.26 +++ htdocs/gcc-6/changes.html 7 Sep 2015 17:01:08 -0000 @@ -140,7 +140,8 @@
  • The AArch64 port now supports target attributes and pragmas. Please - refer to the documentation for details of available attributes and + refer to the + documentation for details of available attributes and pragmas as well as usage instructions.