From patchwork Fri Dec 29 12:12:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xi Ruoyao X-Patchwork-Id: 183900 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp2527718dyb; Fri, 29 Dec 2023 04:14:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IF/laerYd2U+vOYnnS9fQzaBUKNOqOswst6jfCcqXG4c06VoFKkFX6ETTaw7zTcVA6x0802 X-Received: by 2002:a05:622a:250:b0:425:7ea5:4602 with SMTP id c16-20020a05622a025000b004257ea54602mr17684903qtx.85.1703852051994; Fri, 29 Dec 2023 04:14:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1703852051; cv=pass; d=google.com; s=arc-20160816; b=NxpSOy3U/xcyNgGqaQrkqa+ImjTYcLNDgWarEXaWH5z0gYvwL/E9cMl5PLrvSe7dTW PxiaSp+/hyk/UdabE+nD7x0QaSQdCrGoR7yDfy0VsRTp0jHfBJTCEFsE6P2i4T7DddaZ pApHS6vsFUjmGGU+cPDEYBfNEogkhfTdpg57pCWynaFAIroBhjnPZlxr+lY9CnoCYrIY CbOmgazp6KfXOhwe3kYW2ghThG86ZfY7tdnrwDBKRtc+JkLfJ4QJjOZJ/hq2rv11zfyP +kFfB8zCdM9Ucbsx3LSy++5fEXA4ntoxDfrvVH+SD1fnOPIbhftedklPR96LfsI4R0Ef Bdyw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=kErQ1WZBePEW3jdWOiuCzGEnFJTcyCb2Zhde3heHIjo=; fh=oUCfM/eMlWtMCtZZKY1bglzxCo7b3kw9D5LTFFWuz38=; b=HFOI+w+AK9wLj7SBcY1tpAR3Ro2KRneHUnbDwY0LlCUoaYw+46D3mvPmTpwKHMbKIK K9fXXxM3yh/h/d0m+5WUTCp4rbdwZ5QLJxgzbHf3+M6TBwKOYIMnylSZqsTYJfsln8Hq rp1WWcmg8yvhbKzghmVSDLU2ZxZmfjYNy5MGfLwzxpGQ4d9T7zgI48s94NJ1HMgHl4zK uIY/D1w1WATNgA5ebOrQ70xPWzHlsGcF/zfWD0s5AdGVFoHfoTjDPWAF5bmdg0VJVKNW vfxGe6KaYUmY9tyj3+mBSvKMJ/X/si7lv/8/X90h5DJnTRJUYtSeDe+H/BmoV1/JTzpp 7fSg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@xry111.site header.s=default header.b=IG4c6Ae4; arc=pass (i=1); 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"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=xry111.site Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id e19-20020ac85dd3000000b004239cba1ce8si18745510qtx.571.2023.12.29.04.14.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Dec 2023 04:14:11 -0800 (PST) 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=@xry111.site header.s=default header.b=IG4c6Ae4; arc=pass (i=1); 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"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=xry111.site Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 8B6AE3858C31 for ; Fri, 29 Dec 2023 12:14:11 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from xry111.site (xry111.site [89.208.246.23]) by sourceware.org (Postfix) with ESMTPS id 3DF5C3858D39 for ; Fri, 29 Dec 2023 12:13:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3DF5C3858D39 Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=xry111.site Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=xry111.site ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 3DF5C3858D39 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=89.208.246.23 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703852007; cv=none; b=i/otUlFy2wDStp/SyGQ25NpfsGmqyEw7FQMrrhBEC/oQj8fPahINExL8HVxHAXh2luAc3Vq1zvQbD1ijS2xOEUuw3VxPO/QNVNif9LRlH+ZORsMrQEF8iZbLwQ/GbcX+wmsJ4q/fyZcM6olbZmwRwGWRq11dauR2R3RT+/9CQs0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703852007; c=relaxed/simple; bh=zcxtwmjppap3/9cLWtEemldNxEXc3pB25O6ndRnGcsQ=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=t8tH6TYxDWVPnOVful7iSyRykMeH84fOmTdIQzHaPYOw0Zb8ngTjkHtY8j8dUGj/5TR8PWTlEn7cVn0rTodvfsAB9NhOGPHWhuJPHnBvnBynWnXgLDwF/1ivUxl2b+XSQS4H0LY8cU4v//ILbs7lZhYTJLdent14eUAO9UFTCv0= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xry111.site; s=default; t=1703852004; bh=zcxtwmjppap3/9cLWtEemldNxEXc3pB25O6ndRnGcsQ=; h=From:To:Cc:Subject:Date:From; b=IG4c6Ae4XsZbkv95TcfF6xSadHWWJVuMcFL2/KfHFNP6cXkfn7JhTzbdSMFkOgPkj mib4bCqKkwQlzD8tNCSKYMgzAdNA/nUtlvYOD5sOR3dDDvbOunApIio2ADqbuX0kps +CLJI8AAHYUbZml+H0xIV7MAhVb+BrowrdpFR7zA= Received: from stargazer.. (unknown [113.200.174.76]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) (Authenticated sender: xry111@xry111.site) by xry111.site (Postfix) with ESMTPSA id 231F566975; Fri, 29 Dec 2023 07:13:22 -0500 (EST) From: Xi Ruoyao To: gcc-patches@gcc.gnu.org Cc: chenglulu , i@xen0n.name, xuchenghua@loongson.cn, Xi Ruoyao Subject: [PATCH pushed] LoongArch: Fix the format of bstrins__for_ior_mask condition (NFC) Date: Fri, 29 Dec 2023 20:12:38 +0800 Message-ID: <20231229121301.47289-1-xry111@xry111.site> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Spam-Status: No, score=-9.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, LIKELY_SPAM_FROM, SPF_HELO_PASS, 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.30 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1786618369644085082 X-GMAIL-MSGID: 1786618369644085082 gcc/ChangeLog: * config/loongarch/loongarch.md (bstrins__for_ior_mask): For the condition, remove unneeded trailing "\" and move "&&" to follow GNU coding style. NFC. --- Pushed as obvious. gcc/config/loongarch/loongarch.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/config/loongarch/loongarch.md b/gcc/config/loongarch/loongarch.md index d705717b5fa..47c1c5603c1 100644 --- a/gcc/config/loongarch/loongarch.md +++ b/gcc/config/loongarch/loongarch.md @@ -1486,8 +1486,8 @@ (define_insn_and_split "*bstrins__for_ior_mask" (match_operand:GPR 2 "const_int_operand")) (and:GPR (match_operand:GPR 3 "register_operand") (match_operand:GPR 4 "const_int_operand"))))] - "loongarch_pre_reload_split () && \ - loongarch_use_bstrins_for_ior_with_mask (mode, operands)" + "loongarch_pre_reload_split () + && loongarch_use_bstrins_for_ior_with_mask (mode, operands)" "#" "&& true" [(set (match_dup 0) (match_dup 1))