From patchwork Fri Jul 14 19:54:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?R=C3=A9mi_Denis-Courmont?= X-Patchwork-Id: 42689 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:6da1:b0:131:a7d0:bc6d with SMTP id gl33csp3904073pzb; Fri, 14 Jul 2023 12:54:46 -0700 (PDT) X-Google-Smtp-Source: APBJJlEK3+i8ggnau/Evuf6xIE8UILJJqC+eywsbvFl3dZvDr59CFJ3kj9TlBSfT46aTMo3LestT X-Received: by 2002:a05:6402:b1c:b0:51c:c03c:d72f with SMTP id bm28-20020a0564020b1c00b0051cc03cd72fmr4911585edb.20.1689364486643; Fri, 14 Jul 2023 12:54:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689364486; cv=none; d=google.com; s=arc-20160816; b=WP4TkN2Z8PwRnIavT18sXhs2sk6g1eFlcFfynJ8NjnHVxE2mwbMQZZKJsQ5dp8xYRZ Pm3Vko20uS/5RrBkfrLnt0NL1O5Yg9XU5g4nhbJflBsmJRi+BCPVc2aSRRYKPs0Vttec 8lvX9ocrxnjE/n6BzE4qTnMqyTNCUaBXLJIm1Qm9FK15OuhpnOB5Yu6EYfTXwK9rhNLM Qdjn6hUeaRZEF79O/BS/Dp98mHgwd+ibvb1p6u1bnHKoi+PgMB7ypMjXDvoNLn5kDnyp Z0SGaKfVS21M8Gm0q9nbkjgPuo7hYzAFbIa3Y0uqiAgDGBhXjyRuivo72dBxdTH1atoF XjRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:reply-to:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:message-id:date:to:from :delivered-to; bh=yoTg055Uc8zPUTeE7wX045ZTr0dlrO7Lfa7GA3kbUxA=; fh=hQcp50obTJ8bXC1it5NuEN23RGKfx0/zZ3s2gmreL+A=; b=VfE6qUF2qcHI5zB4alYq7RfD+19wxn+DJV5D5NxN/tCP22ATy3oyazaxTihAmncE+e WGSlTEWsRR1lUukfoZM92cwuiTFUl6WNHBsVNsifx9YkAXtGR93SDWjEJB0FCTyjRNH6 W4+QJYJ6r2XPXqylIqh1yB0AC4Drk7mqYc4kQfeEz3GHck9GExINbnv9z11aOy7D7kT3 soP7tCx/DOE3w5I+K7R89Lpe251XpUo9QcEr3HSSLiRLjOju2i+Ow2HJeV6iHRaOIF5L jDr1ao7FHN49Pp53J1nrfrPeLlu+X5LkpMludTdMJ7y6pPuNOcLM+6TBB0xxCDLSNloU fNuQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id t26-20020aa7d71a000000b0051e290cf12csi9916224edq.407.2023.07.14.12.54.46; Fri, 14 Jul 2023 12:54:46 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 1937468C628; Fri, 14 Jul 2023 22:54:43 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from ursule.remlab.net (vps-a2bccee9.vps.ovh.net [51.75.19.47]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id D50FA68BEDD for ; Fri, 14 Jul 2023 22:54:36 +0300 (EEST) Received: from basile.remlab.net (localhost [IPv6:::1]) by ursule.remlab.net (Postfix) with ESMTP id 6A013C000E for ; Fri, 14 Jul 2023 22:54:36 +0300 (EEST) From: =?utf-8?q?R=C3=A9mi_Denis-Courmont?= To: ffmpeg-devel@ffmpeg.org Date: Fri, 14 Jul 2023 22:54:36 +0300 Message-Id: <20230714195436.71962-1-remi@remlab.net> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] lavu/fixed_dsp: unroll RISC-V V loop X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: e7s2RPXmNcrs Before: butterflies_fixed_c: 804.7 butterflies_fixed_rvv_i32: 348.2 After: butterflies_fixed_rvv_i32: 308.7 --- libavutil/riscv/fixed_dsp_rvv.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/riscv/fixed_dsp_rvv.S b/libavutil/riscv/fixed_dsp_rvv.S index a91316e1da..6e13395294 100644 --- a/libavutil/riscv/fixed_dsp_rvv.S +++ b/libavutil/riscv/fixed_dsp_rvv.S @@ -23,7 +23,7 @@ // (a0) = (a0) + (a1), (a1) = (a0) - (a1) [0..a2-1] func ff_butterflies_fixed_rvv, zve32x 1: - vsetvli t0, a2, e32, m1, ta, ma + vsetvli t0, a2, e32, m4, ta, ma vle32.v v16, (a0) sub a2, a2, t0 vle32.v v24, (a1)