From patchwork Wed Aug 7 10:15:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?6ZKf5bGF5ZOy?= X-Patchwork-Id: 1969968 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=server2.sourceware.org; envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.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 (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Wf5g24Pcgz1yfC for ; Wed, 7 Aug 2024 20:16:13 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0B455385DDEB for ; Wed, 7 Aug 2024 10:16:12 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtpbgsg2.qq.com (smtpbgsg2.qq.com [54.254.200.128]) by sourceware.org (Postfix) with ESMTPS id 954563858C33 for ; Wed, 7 Aug 2024 10:15:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 954563858C33 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rivai.ai Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rivai.ai ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 954563858C33 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=54.254.200.128 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1723025753; cv=none; b=WVUr/GhR0dXZtVc52Wfu6YcXdSw+ILRqJKPJ9KJA5xFhZTu0xJu6unF+YW6vRXYMv6UQnqWWY45j+nHSDj9fFJ81buk4X5+oezH34c+JxTeTNYTCu8NKA86hq9+0LB1QjKhzw6TgVYImbfiDm+3QHxd+2WRTxgC1kkfGeeh+9Aw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1723025753; c=relaxed/simple; bh=sbSEz0cin4GEqQdqVZDTW/zplVSOIwtzrgRZqutXyIU=; h=Date:From:To:Subject:Mime-Version:Message-ID; b=tiOBEFP5xUvzuo9B3hEfFgOtFlsd1jeKidi3xwTTUS/Yp49rv9i8Qavz7UlkF29JGUoBq9PlUM3tX8yWb0aDyrXq6kF+mL1ud/nZXpTIbhjdZe/IOqDoNBWB3E3o52dyK69wV6+uLil6MHUjJYIBedFM0+O95B+GX6iFjm6fEcw= ARC-Authentication-Results: i=1; server2.sourceware.org X-QQ-mid: bizesmtp83t1723025743t26qzyuz X-QQ-Originating-IP: kQaKUr8IhqRn5w8P8dzMUud2dV+KfRcgv06ZLbLzrk8= Received: from LAPTOP-EPITNQBU ( [14.155.92.69]) by bizesmtp.qq.com (ESMTP) with id ; Wed, 07 Aug 2024 18:15:42 +0800 (CST) X-QQ-SSF: 0001000000000000000000000000000 X-QQ-GoodBg: 2 X-BIZMAIL-ID: 9651529715189563720 Date: Wed, 7 Aug 2024 18:15:43 +0800 From: =?eucgb2312_cn?b?1tO+09Xc?= To: gcc-patches Cc: kito.cheng , wangfeng , "Robin Dapp" , jeffreyalaw Subject: [PATCH] RISC-V: Add auto-vect pattern for vector rotate shift X-Priority: 3 X-GUID: 19B876E3-AE03-48B7-BC9B-9ADB68794B1B X-Has-Attach: no X-Mailer: Foxmail 7.2.25.301[cn] Mime-Version: 1.0 Message-ID: X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:rivai.ai:qybglogicsvrgz:qybglogicsvrgz7a-one-0 X-Spam-Status: No, score=-9.0 required=5.0 tests=BAYES_00, CHARSET_FARAWAY_HEADER, GIT_PATCH_0, HTML_MESSAGE, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, 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.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org diff --git a/gcc/config/riscv/autovec-opt.md b/gcc/config/riscv/autovec-opt.md index d7a3cfd4602..923122510ac 100644 --- a/gcc/config/riscv/autovec-opt.md +++ b/gcc/config/riscv/autovec-opt.md @@ -1607,3 +1607,19 @@ Such pattern which is natural auto-vectorization pattern should be in autovec.md instead of autovec-opt.md which is supposed include the combine optimization pattern. juzhe.zhong@rivai.ai