From patchwork Thu Dec 22 17:06:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Carlotti X-Patchwork-Id: 1718913 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=OLTlJRII; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NdGvt6h2Xz1ydd for ; Fri, 23 Dec 2022 04:07:38 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id F0F4C385B504 for ; Thu, 22 Dec 2022 17:07:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F0F4C385B504 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1671728856; bh=k6XKBwztvK08MNlNz+/rdKWSoSgDcwHudv7+3rOCnU8=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=OLTlJRIIn9P9QrBgibjHRl7v60J7lI5dTbW28Wjg/CRc3jYZOno3b93wNzxHcjJsD ULKFTV92FQQz1fn42Br7Nkr+Koa1pJQ08qKc5WwIGCaTuLBq05SVRrxMloOcdAncMX 9y1OSzFaRTe2EaJQFTJayaN412T/apQtURlm6DVU= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on2081.outbound.protection.outlook.com [40.107.14.81]) by sourceware.org (Postfix) with ESMTPS id 3DA2C3850F18 for ; Thu, 22 Dec 2022 17:06:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3DA2C3850F18 Received: from FR3P281CA0036.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:1c::18) by PAWPR08MB9068.eurprd08.prod.outlook.com (2603:10a6:102:330::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.6; Thu, 22 Dec 2022 17:06:24 +0000 Received: from VI1EUR03FT007.eop-EUR03.prod.protection.outlook.com (2603:10a6:d10:1c:cafe::8d) by FR3P281CA0036.outlook.office365.com (2603:10a6:d10:1c::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.11 via Frontend Transport; Thu, 22 Dec 2022 17:06:23 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VI1EUR03FT007.mail.protection.outlook.com (100.127.144.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.10 via Frontend Transport; Thu, 22 Dec 2022 17:06:23 +0000 Received: ("Tessian outbound 0d7b2ab0f13d:v132"); Thu, 22 Dec 2022 17:06:23 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 796e475bbba02ed0 X-CR-MTA-TID: 64aa7808 Received: from 9f918d93619e.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 00BEDD8D-39BE-4FCD-97C4-235A461BC7A7.1; Thu, 22 Dec 2022 17:06:16 +0000 Received: from EUR03-AM7-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 9f918d93619e.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 22 Dec 2022 17:06:16 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gFtgs15Jfa3IEIt69ge3OxIqfJZs5E0xIE0YJo19ccKtkPJbjLtRDUn+7nylLK/y6oszFspj3FNvvaitzlS+lAP0FtFQdZw6ff47RMJN1380nR/TVFFgMTRQi3SH1EC3Zl/qhYhd77ZUXE/flKZ94KAwqSoQw8t9D3i7yWYlbnNaiNb0mlkfybxLtqxYTnFuDTHMl9XouCB0FzJrh+aN1mnQhNCEtW+LCERwS/DXNOI2UfE4ehXZ1qGEfd8y5h8EE/NKg1IKFpiCy0xVpC5GsXye38YL5jxyGZR0XPnRKxqxtDY6QOBjiotacsFkNJpyFcv5u9A90UCvwRlGKezvlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=k6XKBwztvK08MNlNz+/rdKWSoSgDcwHudv7+3rOCnU8=; b=F6mTRNgLxnynQu5yNpMzTUmX+J3McBI8BvbXSWvjNYE9jFgOhAAI8hGZeEWrGN7Hynte6pR9II65w7uySOH+tM90hN8exg8KiQwYNr7cVliBy16wmqsCw12+ZaWiQwhlX32uXIMpKN0hFS7m9cJ7kFfHkYVjiaEL1iXHNv2dSj26aCSBhl6K5kPTfNr9uYLht83njXB779up/UTu5xVgNw8zUK6EtYV2K3AtTHTwLkzxNEcUQ5Wi7IRScoR1ZaewtkoVfcoGWdAJ0bimp8DwIGNidhfMttHFE2Jhw49rY5B9gUvLWUI3ucF1ILNrf1VYQo07foGc9ZY6R2+r8B2hYg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from AS8PR08MB6678.eurprd08.prod.outlook.com (2603:10a6:20b:398::8) by AS8PR08MB6038.eurprd08.prod.outlook.com (2603:10a6:20b:23f::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.13; Thu, 22 Dec 2022 17:06:15 +0000 Received: from AS8PR08MB6678.eurprd08.prod.outlook.com ([fe80::8256:29ca:bcd8:b754]) by AS8PR08MB6678.eurprd08.prod.outlook.com ([fe80::8256:29ca:bcd8:b754%5]) with mapi id 15.20.5944.011; Thu, 22 Dec 2022 17:06:15 +0000 Date: Thu, 22 Dec 2022 17:06:13 +0000 To: gcc-patches@gcc.gnu.org Subject: [committed] docs: Fix peephole paragraph ordering Message-ID: Content-Disposition: inline X-ClientProxiedBy: LO4P123CA0505.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:272::15) To AS8PR08MB6678.eurprd08.prod.outlook.com (2603:10a6:20b:398::8) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: AS8PR08MB6678:EE_|AS8PR08MB6038:EE_|VI1EUR03FT007:EE_|PAWPR08MB9068:EE_ X-MS-Office365-Filtering-Correlation-Id: 06af731e-d60d-463c-bd0f-08dae43edae5 x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: PQtpeYN7HJJZ2Utqgt4Kn7LUBFcQGnOfmzkHA09pk4i34KM6/wVhfpLR1FVBamgQCfI2Fto5rNU2URNwpaWYLo3yxYbm4jWVpUJZ+HN9yjKMKzclbwFA49LhGZbK1mCq9EI8LUyOv1UXIwW1yr5aiH3nDovJr+Mm3yVNyjPX4QXw0zkgK39onFwYGkYQJ8qbYWraTvs4QfAXO4vpt2de/9W7FEYu1VZ9Heo+7cDyLtbK68xHwvDyUxi8bu6xS6yq1o6ZumcTytbPO7+5yJebBXjv99wGqtv+h40Xiy/J8ui7MlDW9KbwJ7UDsXEIQHLN2f4ml3Sb+ImRstORxW5AQG23l7W+RXZX7CGH2cmioGgVKDMDsv7s2Jb4FKnm8erjFWcn4RWxjCwCTrT3lzIvIGtgxEKVDi0HeP6Kj3c3PxAaSukxwh5RXF9BcgIdZad8vWRkQxPb97aZJOjxeevJwwXre8vvMBa4A6wS5m4f8oCbACjJdXLQS4GE80kK6KbNgN8nbNi87uXb5BYmOscqTVDsWhqn+Trmrm7RhYWtGBR5FSxTiz9WRp7rP4lfI6SlTFv1o7Ie3mCPJ4f1dQvvIsYFjiMi9AY32H9bCMRoj43aaeEMtLLPbNXSCVA6SDCU0IFg+kVN8bSrKj494RrEtg== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR08MB6678.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(346002)(136003)(366004)(396003)(39860400002)(376002)(451199015)(8676002)(66946007)(66556008)(66476007)(8936002)(6506007)(6916009)(316002)(6486002)(38100700002)(478600001)(41300700001)(26005)(5660300002)(86362001)(186003)(6512007)(2906002)(44832011)(83380400001); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB6038 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VI1EUR03FT007.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 70257d03-0ce1-4d5c-fc7a-08dae43ed5c3 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: OUNrVK3QeLTqZh4W+OPA2NpULiuPUs3E9MbGLcolV9QL6Z0WvCrL4iCbVbpQHStOcsacdUO+cZltDaDosWIF39TKE8zyAe09TSeM/ajmwmrbAuzYr4LiqZzOHStPA2gIBWK/+U7xgzFZAMvBix3TbWp3zqAi86en7NC89cSL8k7HytY4PNzwx92lVt1i/9z/rnjVzZ+YkAAVxVmj1xdCLJ+dJRLLLzGgKxcjPOPCM5otUo0e4vs4NZsB62V2K0u8zJvQ/cyEZpcQxBS8sVhl4jDUMBCSNsBsJ6j73sgQCne3cZbtNsvevRD8cf7KL9e6SZ5gfc8/mzb+VAkupOhzrLoGIptqs0q1RiQnrjZ3wOHKP0FVQIwz6qCKjDvE+0G9QATnNdOA9N/cV8QGkh1HM1fqMCTVpKl1pTjtQmRottKZdNpOsvwUJ/GpjkdgU2/brVx7ySquQaibrhRvm0bBX7n+A2MTfQtlzUm7FjG6+NIA5VIdtFFnPh9dZcQZcmhdt1vVS/ORtaiuPabHr/NurgZYjqK2vNddnDQPvdBLkcPAv4pY/JJVRfJl1vfd9LLAyApnPD7v8EaxnxWTTBEN2cOWY2s1JrBnEiOI1GN3hadl0zyKDxJ9YSd7ShoFsStGxBTXFbUbDq7J/AotDWmb43v+gkQNCxhPIXpdSvMJTnUb+Dzxzp9wl9ieV9qHsUBUEf1D3DudYEY5uBbAcAo+eQ== X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(13230022)(4636009)(136003)(39860400002)(346002)(376002)(396003)(451199015)(36840700001)(46966006)(40470700004)(356005)(81166007)(70586007)(70206006)(86362001)(83380400001)(5660300002)(8936002)(44832011)(36860700001)(82740400003)(6916009)(316002)(40460700003)(26005)(336012)(6486002)(478600001)(47076005)(2906002)(82310400005)(41300700001)(8676002)(6512007)(186003)(40480700001)(6506007); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Dec 2022 17:06:23.6847 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 06af731e-d60d-463c-bd0f-08dae43edae5 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: VI1EUR03FT007.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAWPR08MB9068 X-Spam-Status: No, score=-13.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, FORGED_SPF_HELO, GIT_PATCH_0, KAM_DMARC_NONE, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_NONE, TXREP, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Andrew Carlotti via Gcc-patches From: Andrew Carlotti Reply-To: Andrew Carlotti Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" The documentation for the DONE and FAIL macros was incorrectly inserted between example code, and a remark attached to that example. Committed as obvious. gcc/ChangeLog: * doc/md.texi: Move example code remark next to it's code block. diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi index 482e86f15d8b312c67d4962510ce879fb5cbc541..78dc6d720700ca409677e44a34a60d4b7fceb046 100644 --- a/gcc/doc/md.texi +++ b/gcc/doc/md.texi @@ -1511,7 +1511,7 @@ operand 1 (meaning it must match operand 0), and @samp{dKs} for operand 2. The second alternative has @samp{d} (data register) for operand 0, @samp{0} for operand 1, and @samp{dmKs} for operand 2. The @samp{=} and @samp{%} in the constraints apply to all the alternatives; their -meaning is explained in the next section (@pxref{Class Preferences}). +meaning is explained in a later section (@pxref{Modifiers}). If all the operands fit any one alternative, the instruction is valid. Otherwise, for each alternative, the compiler counts how many instructions