From patchwork Fri Apr 28 06:12:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Christoph_M=C3=BCllner?= X-Patchwork-Id: 88457 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp729583vqo; Thu, 27 Apr 2023 23:17:47 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5zWIEAEiSEEp5sM2/xEquUWkWURgt+N0LX7IXrbvUAbFkih06UTq2/s+Z3GZozAw9vpa6x X-Received: by 2002:a17:907:6e8b:b0:94e:fdec:67e2 with SMTP id sh11-20020a1709076e8b00b0094efdec67e2mr4498983ejc.77.1682662667101; Thu, 27 Apr 2023 23:17:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682662667; cv=none; d=google.com; s=arc-20160816; b=vvvVwOmBTWVGEweZuYzk6TIAlMbETz0srolkgzQccDMvlvMDrD/VP3L8OPKzt3IG/G Q5IIziX9t4lIAIjfVKprhZ2Rv5iXNFl7Zv8T6y8n9rAOf/wXuBMSaw5GbsXFLSUXy4Mm vDexfKGmAuIfYFObawvvTr/ZnxQhwZikdKHJJq9k10bwHTQbRV7WOhojchuogJII6ql0 KM6A8qvOCUOSQHhnxfKGDdk50XI7dOL9Tw7/BLaz8msJUGSO/pnHEjfSZ0Q2lt5BiWDs 1n6NNKYC3E/hEaQyrwZxSzR9dkM594HhIS8+c3RLzbkScACC1on5ycbGrGfTFIZGYumg cvqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature:dmarc-filter:delivered-to; bh=FTcnJZCTufnx7sYJGxPOWl+mtzwkWCV5eaTR9Z8/Hrk=; b=zPQonEZlfFw6ce5Ku03mLaMfIr3Qsyn7RKgtLBtdXpMZNuNDhbVPxrSKsfqkOZOpmY Og0MZVTVuoRCf0Pc+/JwedQ4TttGcqmLrFFQ7p23IDkWQSLCrHH1EkCkDw1+gzwURDv4 1DjTDbqG/UDGXeYaMtJLuE5Asc6TMa1XeTG+OdVTioBROltq+NsMarSfaVj2CjNk4Sgh 2+gevT1bX3PM5H+I0aee99V4xhtO1D5/H+8KLDsqtlmB91jPqJV03sMZVTt0xbMFQF79 vLFkFLF/IkP5XjCZ7BFT9FzwRWFGX13FOf2UNaV5Dwhwy4RHEShxONpbPWKZ73bz24C+ MmZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@vrull.eu header.s=google header.b=YTRyOWbu; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id i17-20020a170906445100b0094f9efc98e5si15052222ejp.587.2023.04.27.23.17.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Apr 2023 23:17:47 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@vrull.eu header.s=google header.b=YTRyOWbu; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id F1DF43826FF7 for ; Fri, 28 Apr 2023 06:13:48 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by sourceware.org (Postfix) with ESMTPS id 0D206385840E for ; Fri, 28 Apr 2023 06:12:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0D206385840E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=vrull.eu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=vrull.eu Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-94a34a14a54so1800998866b.1 for ; Thu, 27 Apr 2023 23:12:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vrull.eu; s=google; t=1682662338; x=1685254338; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=FTcnJZCTufnx7sYJGxPOWl+mtzwkWCV5eaTR9Z8/Hrk=; b=YTRyOWbuVbezr3klNDwZPQ29uPgNYYoR2E952+y67N1J0Xgq6vmWHbd8ADtbkNHrmZ PjlrqKF8BFphvbiuWxP6ppKhVqHbjpOHy1TMaDO/XgGpM/3w3DReScPN9lXt9pM4ob+D Iwx3aoEohtXdh7BnfUjP9nPdFZf2aBxtt9PbjpAfQp4x1cj4G8DpyiCCwycTPypxcq+h dN6Iwo1vNr9HBj9I7YmX8KOdIgpUg6A94QiYw2zIHNDfx7BRww1A5J7m3Yk5XaD+elDZ MXv43kPfxmQ8aLMPGLtQcfZpmbC8h5ikYQoyUOb9k+ZJ9rqhk4xyiC8okDQ3t9pvq9Ye bxiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682662338; x=1685254338; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FTcnJZCTufnx7sYJGxPOWl+mtzwkWCV5eaTR9Z8/Hrk=; b=GP3SMexNxVgYy3hs1mZ+Bz5/2k+ITgd5VBGpXd/6kGw2DQ6w309alPryf3MoHoq6N8 sBNZWehV5l3oF2eWKSApbbKoj/w62IEl6jM2OG0PBZ6oDv2iScVpciem+fUsJpYNU3/p 43wc22uR0klhbrGFEHMO1tDiEnWAN/oXHW4Gbg4xIDkDfaE4P672qrXoiMwmjskrpDgT ltxC5LW2wR5a4z0ClcRRJTTPC/tlsl7kvSGUMHP373xEiYJPliFT5NRuzYwj0j5xqFhs Q/XY2cqTIWMlYHVWPzAsrnLXzHky8w2LM9Af0MHIn35rsDCaUc9KyUbKCgn2IDR3JcVo m8Fg== X-Gm-Message-State: AC+VfDzYCkGf6XRn+xfCVJCYXf3rjWlLJgYA0AjG7Wh67284YtjIuj+2 0rDh1U+eE4L9OAfU9z/vQFTzJtUwuhVlyGmGsCE= X-Received: by 2002:a17:907:8a01:b0:95f:f573:bf7e with SMTP id sc1-20020a1709078a0100b0095ff573bf7emr4214234ejc.0.1682662338250; Thu, 27 Apr 2023 23:12:18 -0700 (PDT) Received: from beast.fritz.box (62-178-148-172.cable.dynamic.surfer.at. [62.178.148.172]) by smtp.gmail.com with ESMTPSA id x20-20020aa7d394000000b00504803f4071sm8669431edq.44.2023.04.27.23.12.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Apr 2023 23:12:17 -0700 (PDT) From: Christoph Muellner To: gcc-patches@gcc.gnu.org, Kito Cheng , Jim Wilson , Palmer Dabbelt , Andrew Waterman , Philipp Tomsich , Cooper Qu , Lifang Xia , Yunhai Shang , Zhiwei Liu Cc: =?utf-8?q?Christoph_M=C3=BCllner?= Subject: [PATCH 03/11] riscv: xtheadmempair: Fix doc for th_mempair_order_operands() Date: Fri, 28 Apr 2023 08:12:04 +0200 Message-Id: <20230428061210.2988035-4-christoph.muellner@vrull.eu> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230428061210.2988035-1-christoph.muellner@vrull.eu> References: <20230428061210.2988035-1-christoph.muellner@vrull.eu> MIME-Version: 1.0 X-Spam-Status: No, score=-12.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, JMQ_SPF_NEUTRAL, KAM_MANYTO, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE 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: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764399688973959759?= X-GMAIL-MSGID: =?utf-8?q?1764399688973959759?= From: Christoph Müllner There is an incorrect sentence in the documentation of the function th_mempair_order_operands(). Let's remove it. gcc/ChangeLog: * config/riscv/thead.cc (th_mempair_operands_p): Fix documentation of th_mempair_order_operands(). Signed-off-by: Christoph Müllner --- gcc/config/riscv/thead.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/config/riscv/thead.cc b/gcc/config/riscv/thead.cc index d7e3cf80d9b..507c912bc39 100644 --- a/gcc/config/riscv/thead.cc +++ b/gcc/config/riscv/thead.cc @@ -336,8 +336,8 @@ th_mempair_operands_p (rtx operands[4], bool load_p, } /* Given OPERANDS of consecutive load/store that can be merged, - swap them if they are not in ascending order. - Return true if swap was performed. */ + swap them if they are not in ascending order. */ + void th_mempair_order_operands (rtx operands[4], bool load_p, machine_mode mode) {