Message ID | 20230823122843.23512-1-liaozhangjin@eswincomputing.com |
---|---|
State | Unresolved |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a7d1:0:b0:3f2:4152:657d with SMTP id p17csp424089vqm; Wed, 23 Aug 2023 05:29:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHUc8vd/QHi+7MzBBApk9UI9aDi4/YEVllNHAMOc8/t4zUn+v/MhqGmw4yoitAjvp8v6c9n X-Received: by 2002:a17:906:14e:b0:9a1:f871:8a5f with SMTP id 14-20020a170906014e00b009a1f8718a5fmr16540ejh.32.1692793770447; Wed, 23 Aug 2023 05:29:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692793770; cv=none; d=google.com; s=arc-20160816; b=UDJZzDnlGawE4kkag0aPulfKecKb05wWSVapL2Y/XkxgdNWEjhTpNrF59EqmmiBxiG rrPpCLJ0NQMRHv2B067V9Cxt8IlriUa+ST/RfjL67XlspB6HGpXGY8Ma1ap4gydr4WSS 49G9U7klZz88PIIZbItEGO995a5JPirIzstZstHDha5QicrzV6wbLb+FQH4+Faf3RkjN U7RNz6z4wfJSAlByi/jPHPJm7CDCyz8l5Bew/9kQC75yLCzH51WO7c+u3XGBjy78zwFn US/O5OAGX0KUFzs+hJzOmRq4mPYEmvxnXg8uiZwRWw6wW1YRmfDcCOX+Hv/De2lK2B75 x85g== 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:message-id:date:subject:cc:to :from:dmarc-filter:delivered-to; bh=uc/AQqPcMGsN09glnLezb5UDVft0C7hFA6sUDU/S4Ss=; fh=SCyUgY5saSe8B0BjYVmiiVkM+hledp/ggg4a0YNhSWo=; b=l7KpkMv9pOQTSTofLdeFJuQFXwYA8h/h6uFtMkPyKBysrLwfPOaXiFK+AB0c+e8Prb z6HYyG4JM7I/xQ/hWfp31Wn5ko5XDbuOFd1qtGqiBB0Qhl5LilS46fGQZwDETgZ551lo 7K0Zqd/3+nAMaVlKeLJWmRW4Q8RRkWhECdiajJYR2OJUW6snm7rp2hecVFFemEID7zpe KqCTiiH9wF8Qkizn/wEP+61j8R64Ny9nTh7VZMzQP06Rb+XgDjXSzUIDmncqQ11NVN76 YNr4iSd9Qf8jQ4uWMlkL7p3Nu9sYQRY8NRwMWM1vi431NpEdr5ujuc4SRDIjd5nZdvQg JcQg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id w12-20020a1709062f8c00b0099bcd1fa5acsi8950471eji.359.2023.08.23.05.29.30 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Aug 2023 05:29:30 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c 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 BC24C3858296 for <ouuuleilei@gmail.com>; Wed, 23 Aug 2023 12:29:24 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from zg8tmja2lje4os4yms4ymjma.icoremail.net (zg8tmja2lje4os4yms4ymjma.icoremail.net [206.189.21.223]) by sourceware.org (Postfix) with ESMTP id E56413858C01 for <gcc-patches@gcc.gnu.org>; Wed, 23 Aug 2023 12:28:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E56413858C01 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=eswincomputing.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=eswincomputing.com Received: from host015-ubuntu-1804.lxd (unknown [10.12.130.31]) by app1 (Coremail) with SMTP id EwgMCgDnhMR8++VkJpRAAA--.7139S4; Wed, 23 Aug 2023 20:28:44 +0800 (CST) From: Zhangjin Liao <liaozhangjin@eswincomputing.com> To: gcc-patches@gcc.gnu.org Cc: kito.cheng@gmail.com, Zhangjin Liao <liaozhangjin@eswincomputing.com> Subject: [PATCH] RISC-V:add a more appropriate type attribute Date: Wed, 23 Aug 2023 20:28:43 +0800 Message-Id: <20230823122843.23512-1-liaozhangjin@eswincomputing.com> X-Mailer: git-send-email 2.17.1 X-CM-TRANSID: EwgMCgDnhMR8++VkJpRAAA--.7139S4 X-Coremail-Antispam: 1UD129KBjvdXoW7XF4DJFyrGrWxuF4DZryftFb_yoWfAFgEkw 10vw42grW5GFZ5Kr1DuF48tryUJa4rJw1DWw43X3ZrWr10qa1xZ392gF98tFn8Cr4Yya4x XrZ2gF1YvrySkjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUb28FF20E14v26r1j6r4UM7CY07I20VC2zVCF04k26cxKx2IYs7xG 6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48ve4kI8w A2z4x0Y4vE2Ix0cI8IcVAFwI0_Ar0_tr1l84ACjcxK6xIIjxv20xvEc7CjxVAFwI0_Gr1j 6F4UJwA2z4x0Y4vEx4A2jsIE14v26rxl6s0DM28EF7xvwVC2z280aVCY1x0267AKxVW0oV Cq3wAS0I0E0xvYzxvE52x082IY62kv0487Mc02F40EFcxC0VAKzVAqx4xG6I80ewAv7VC0 I7IYx2IY67AKxVWUXVWUAwAv7VC2z280aVAFwI0_Jr0_Gr1lOx8S6xCaFVCjc4AY6r1j6r 4UM4x0Y48IcxkI7VAKI48JM4x0x7Aq67IIx4CEVc8vx2IErcIFxwCY02Avz4vE-syl42xK 82IYc2Ij64vIr41l4I8I3I0E4IkC6x0Yz7v_Jr0_Gr1lx2IqxVAqx4xG67AKxVWUJVWUGw C20s026x8GjcxK67AKxVWUGVWUWwC2zVAF1VAY17CE14v26r1Y6r17MIIYrxkI7VAKI48J MIIF0xvE2Ix0cI8IcVAFwI0_Jr0_JF4lIxAIcVC0I7IYx2IY6xkF7I0E14v26r1j6r4UMI IF0xvE42xK8VAvwI8IcIk0rVWUJVWUCwCI42IY6I8E87Iv67AKxVWUJVW8JwCI42IY6I8E 87Iv6xkF7I0E14v26r1j6r4UYxBIdaVFxhVjvjDU0xZFpf9x0JU9189UUUUU= X-CM-SenderInfo: pold06pkdqwy1lq6v25zlqu0xpsx3x1qjou0bp/ X-Spam-Status: No, score=-13.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP 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+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1775022920337162252 X-GMAIL-MSGID: 1775022920337162252 |
Series |
RISC-V:add a more appropriate type attribute
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | warning | Git am fail log |
Commit Message
Zhangjin Liao
Aug. 23, 2023, 12:28 p.m. UTC
Due to the more accurate type attribute added to the clz, ctz, and pcnt operations in https://github.com/gcc-mirror/gcc/commit/07e2576d6f3 the same type attribute should be used here. gcc/ChangeLog: * config/riscv/bitmanip.md:add a more appropriate type attribute --- gcc/config/riscv/bitmanip.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On 8/23/23 06:28, Zhangjin Liao wrote: > Due to the more accurate type attribute added to the clz, ctz, and pcnt operations > inhttps://github.com/gcc-mirror/gcc/commit/07e2576d6f3 the same type attribute > should be used here. > > gcc/ChangeLog: > > * config/riscv/bitmanip.md:add a more appropriate type attribute Thanks. I improved the ChangeLog slightly and pushed this to the trunk. Jeff
diff --git a/gcc/config/riscv/bitmanip.md b/gcc/config/riscv/bitmanip.md index 0c99152ffc8..7b55528ee49 100644 --- a/gcc/config/riscv/bitmanip.md +++ b/gcc/config/riscv/bitmanip.md @@ -262,7 +262,7 @@ (match_operand:DI 2 "const_int_operand")))] "TARGET_64BIT && TARGET_ZBB && ((INTVAL (operands[2]) & 0x3f) == 0x3f)" "<bitmanip_insn>w\t%0,%1" - [(set_attr "type" "bitmanip") + [(set_attr "type" "<bitmanip_insn>") (set_attr "mode" "SI")]) (define_insn "*<bitmanip_optab>di2"