Message ID | 20230428061210.2988035-4-christoph.muellner@vrull.eu |
---|---|
State | Committed |
Commit | e15a82a1fea3a68f47d9a5a8634265eeec1562a8 |
Delegated to: | Kito Cheng |
Headers |
Return-Path: <gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A329F3856DCB for <patchwork@sourceware.org>; Fri, 28 Apr 2023 06:13:40 +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 <gcc-patches@gcc.gnu.org>; 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 <gcc-patches@gcc.gnu.org>; 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-Google-Smtp-Source: ACHHUZ4qg3yUO0Dwe4ZLAzv6EPOb0Tod1ZjWwUrgpfcI77H34h5/IegF5nK3QfebjkwX8kMbCaMskg== 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 <christoph.muellner@vrull.eu> To: gcc-patches@gcc.gnu.org, Kito Cheng <kito.cheng@sifive.com>, Jim Wilson <jim.wilson.gcc@gmail.com>, Palmer Dabbelt <palmer@dabbelt.com>, Andrew Waterman <andrew@sifive.com>, Philipp Tomsich <philipp.tomsich@vrull.eu>, Cooper Qu <cooper.qu@linux.alibaba.com>, Lifang Xia <lifang_xia@linux.alibaba.com>, Yunhai Shang <yunhai@linux.alibaba.com>, Zhiwei Liu <zhiwei_liu@linux.alibaba.com> Cc: =?utf-8?q?Christoph_M=C3=BCllner?= <christoph.muellner@vrull.eu> 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org> |
Series |
Improvements for XThead* support
|
|
Commit Message
Christoph Müllner
April 28, 2023, 6:12 a.m. UTC
From: Christoph Müllner <christoph.muellner@vrull.eu> 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 <christoph.muellner@vrull.eu> --- gcc/config/riscv/thead.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Comments
LGTM On Fri, Apr 28, 2023 at 2:17 PM Christoph Muellner <christoph.muellner@vrull.eu> wrote: > > From: Christoph Müllner <christoph.muellner@vrull.eu> > > 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 <christoph.muellner@vrull.eu> > --- > 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) > { > -- > 2.40.1 >
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) {