From patchwork Tue May 7 18:10:58 2024 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: 48643 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:9c99:b0:1af:836d:81b3 with SMTP id mj25csp80523pzb; Tue, 7 May 2024 11:11:27 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCX0yKPoQpRWkJLbtw9L2fTpEtvk0raKWSvaNnSLvLDf0a4tUSR8Q5mCSSdFG0jtLd5UvbXbfCLkpPBWoP46vmyWVX+EgnyOECE/GA== X-Google-Smtp-Source: AGHT+IHphKG7d1mqMxI/dKDyBGJbgNzNok7hBC0iXizP2GEydLswVbi1B+bjLPuPmyG7ScKkE4P4 X-Received: by 2002:a19:f815:0:b0:51f:2f2:d66 with SMTP id 2adb3069b0e04-5217cf3b1d1mr184668e87.61.1715105487067; Tue, 07 May 2024 11:11:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1715105487; cv=none; d=google.com; s=arc-20160816; b=AHrMbn1gitObzITQj4t4LhnF3ZuNmsKA6oIqqGXt/E3y53wgBt5jCqfWEv/Gd32U0H GlY7KBnLBBibBIcFtlIxO/8OE/IfoszWu3v2qINxXh2oF+bf6adUyQlPaTPTHHMT0+xJ nH5lMR/ux2Kyb9pIO0yZ6oUleO/ev4u5zBkxn58ZD3I+I5mWmIeRBAZDQ43ctKSTAbjZ mX23HwifMxfi1YJneTNiovW1FA8agu4XAMbMTys5BVbiqOveUhCXiUkI2vnJkQd7UHqH LUVuInsoS9xIKfQGuAYuC0YvMLktFjPiTwFwU6rtTjUmiM4JzdmslOFiB6pDURNWMyox 9m9g== 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=nrpsS3Y8N5/ugxeEyJBCMdgxzdnM1e7ljCcrZ1ZP1lM=; fh=YOA8vD9MJZuwZ71F/05pj6KdCjf6jQRmzLS+CATXUQk=; b=K4R4Awkkr9o+8jpbPVNCKMPO66Mu+OXBsBmzZTTSINXN7gAEXASnDik6OOigr0hCg+ fYZe4XJ1jHiwakiOwe3jLsR7Y8HVxZ44PnM0hlQHT60ad0bTtg2qCVYSKjUibnHQI2nf FwMKV5rue40Hgb/fqtJFbJVInf0ZYopTybQC7ioOiymIfIO+lWJ+Gan4y1oukbGnRaeg DlL104yngkWbZVigkQQELjYmYgfPW3So3+5eO1UcrTXnuzqut5e4G0ZmhD/YAffyACBh YB8NofoWMuc+PdGH9QyuYQqMdhUt/7p1SNJ1HgyJpqMakF23kIBZ6tof428MLQ4UjPVE 8i5Q==; dara=google.com 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 m4-20020ac24284000000b0051f2f591527si3584378lfh.272.2024.05.07.11.11.26; Tue, 07 May 2024 11:11:27 -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 A8C0C68D6B3; Tue, 7 May 2024 21:11:09 +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 13A2968D5F8 for ; Tue, 7 May 2024 21:11:02 +0300 (EEST) Received: from basile.remlab.net (localhost [IPv6:::1]) by ursule.remlab.net (Postfix) with ESMTP id 3EB61C00C0 for ; Tue, 7 May 2024 21:11:01 +0300 (EEST) From: =?utf-8?q?R=C3=A9mi_Denis-Courmont?= To: ffmpeg-devel@ffmpeg.org Date: Tue, 7 May 2024 21:10:58 +0300 Message-ID: <20240507181101.33385-1-remi@remlab.net> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 1/4] lavu/riscv: allow requesting a second extension 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: QjIqn6NwT96w --- libavutil/riscv/asm.S | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/libavutil/riscv/asm.S b/libavutil/riscv/asm.S index 0a9e2e0d3f..9d76ab5617 100644 --- a/libavutil/riscv/asm.S +++ b/libavutil/riscv/asm.S @@ -36,13 +36,16 @@ #define HWD #endif - .macro func sym, ext= + .macro func sym, ext1=, ext2= .text .align 2 .option push - .ifnb \ext - .option arch, +\ext + .ifnb \ext1 + .option arch, +\ext1 + .ifnb \ext2 + .option arch, +\ext2 + .endif .endif .global \sym From patchwork Tue May 7 18:10:59 2024 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: 48644 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:9c99:b0:1af:836d:81b3 with SMTP id mj25csp80592pzb; Tue, 7 May 2024 11:11:33 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUOZ6VhMToP8kvDySjpXznrobR+tjtj0C98WLig6Y8FYPIybVuJ7r+xpjOrxBYk4MzRKM7Y/dNGhRT21hEMqAfacU2qE1XCcrHXtw== X-Google-Smtp-Source: AGHT+IHRFWooyQgP0Bx8Ut/b6aem2x4zURr8jM63oVaXi6wRQ5Ws0KeNXkFk5VAb59tRWjjn0kqn X-Received: by 2002:a05:6402:4495:b0:572:cfa4:57ea with SMTP id 4fb4d7f45d1cf-5731da69693mr291688a12.4.1715105493630; Tue, 07 May 2024 11:11:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1715105493; cv=none; d=google.com; s=arc-20160816; b=coZh7Wh3H1PiY624Z4ULKnmcXDXG6qWCj4Sm/OnRQQfvMEcx1ZS8zQ8LweWevOXsQE gjn0wI6JLrNlhC+il+Cb6HRqbpE73BnOPNEfquSM0IawdMKeaN4Tot2TdcYmzIwDwzLL z2LDH2oO8W0i0y114K+Fj7nTLnzUsBr/P4lf7KN8IcjzhIWiWETxSMkmzxQ2jbm0C0mh mqi/mZQ5m+t+/+jEek37q42NORwwfiHCe4PSyG6lU+OzjlffIVJfKdX7Tw8tFJRG66sb rtO0q1fEJjq5jJepEzeLvYLC82VWfPjlXSL73qCRF7PnfXBd3cOTzvcFfgv+7wRBLOtv gQqw== 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:references:in-reply-to:message-id :date:to:from:delivered-to; bh=rmFUjORdRuQb6XAgQtQVsJMWHY7TJf2qTJItjzW6T2Y=; fh=YOA8vD9MJZuwZ71F/05pj6KdCjf6jQRmzLS+CATXUQk=; b=aa7IooEi8drYyf9oPZWDxjpers9xZO0STEPj+wtco7rM5BV0TpodJzPTvx5Zl6mRQP tOMyjYpNUAG1wp+NCjr9XTpldw4/wApZncSK6raY13BsixjWOi23C8pZsJS3q7ltRHUV 7Ht3XIYynPyc1FbPjsE9MiuUrBUedoMCl55UTDj4VQHmodbvNXDPHL3KUbazWo4e4NYU DpNcboYaGRtePqDv+uB/yQ7Bk5QIz6szm6aQLLnJZug9ccNG7K5sU/vD32cDKjQoe+Hc ZpGHYGvtsCiXVRmrXIRQ9jVXtrx2S1hhAF7VVuSJQFJpQwNWbH6AFo2RQ1GhdMwumvNu 3IDw==; dara=google.com 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 l19-20020a056402125300b005729fca3cf0si5981756edw.628.2024.05.07.11.11.11; Tue, 07 May 2024 11:11:33 -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 5E88868D67C; Tue, 7 May 2024 21:11:08 +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 E4E4968D3F3 for ; Tue, 7 May 2024 21:11:01 +0300 (EEST) Received: from basile.remlab.net (localhost [IPv6:::1]) by ursule.remlab.net (Postfix) with ESMTP id 71593C0186 for ; Tue, 7 May 2024 21:11:01 +0300 (EEST) From: =?utf-8?q?R=C3=A9mi_Denis-Courmont?= To: ffmpeg-devel@ffmpeg.org Date: Tue, 7 May 2024 21:10:59 +0300 Message-ID: <20240507181101.33385-2-remi@remlab.net> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240507181101.33385-1-remi@remlab.net> References: <20240507181101.33385-1-remi@remlab.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 2/4] lavc/riscv: explicitly require Zbb for MIN 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: T+ggdgwRqXO7 --- libavcodec/riscv/aacpsdsp_rvv.S | 2 +- libavcodec/riscv/opusdsp_rvv.S | 2 +- libavcodec/riscv/sbrdsp_rvv.S | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libavcodec/riscv/aacpsdsp_rvv.S b/libavcodec/riscv/aacpsdsp_rvv.S index a79d7d7818..2d6858688a 100644 --- a/libavcodec/riscv/aacpsdsp_rvv.S +++ b/libavcodec/riscv/aacpsdsp_rvv.S @@ -207,7 +207,7 @@ func ff_ps_hybrid_synthesis_deint_rvv, zve64x ret endfunc -func ff_ps_stereo_interpolate_rvv, zve32f +func ff_ps_stereo_interpolate_rvv, zve32f, zbb vsetvli t0, zero, e32, m2, ta, ma vid.v v24 flw ft0, (a2) diff --git a/libavcodec/riscv/opusdsp_rvv.S b/libavcodec/riscv/opusdsp_rvv.S index 9a8914c78d..42d845a370 100644 --- a/libavcodec/riscv/opusdsp_rvv.S +++ b/libavcodec/riscv/opusdsp_rvv.S @@ -20,7 +20,7 @@ #include "libavutil/riscv/asm.S" -func ff_opus_postfilter_rvv, zve32f +func ff_opus_postfilter_rvv, zve32f, zbb flw fa0, 0(a2) // g0 slli t1, a1, 2 flw fa1, 4(a2) // g1 diff --git a/libavcodec/riscv/sbrdsp_rvv.S b/libavcodec/riscv/sbrdsp_rvv.S index 02feb6451e..918c37882f 100644 --- a/libavcodec/riscv/sbrdsp_rvv.S +++ b/libavcodec/riscv/sbrdsp_rvv.S @@ -290,16 +290,16 @@ endfunc ret .endm -func ff_sbr_hf_apply_noise_0_rvv, zve32f +func ff_sbr_hf_apply_noise_0_rvv, zve32f, zbb hf_apply_noise 0 endfunc -func ff_sbr_hf_apply_noise_3_rvv, zve32f +func ff_sbr_hf_apply_noise_3_rvv, zve32f, zbb not a4, a4 // invert parity of kx // fall through endfunc -func ff_sbr_hf_apply_noise_1_rvv, zve32f +func ff_sbr_hf_apply_noise_1_rvv, zve32f, zbb vsetvli t0, zero, e32, m4, ta, ma vid.v v4 vxor.vx v4, v4, a4 @@ -307,6 +307,6 @@ func ff_sbr_hf_apply_noise_1_rvv, zve32f hf_apply_noise 1 endfunc -func ff_sbr_hf_apply_noise_2_rvv, zve32f +func ff_sbr_hf_apply_noise_2_rvv, zve32f, zbb hf_apply_noise 2 endfunc From patchwork Tue May 7 18:11:00 2024 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: 48645 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:9c99:b0:1af:836d:81b3 with SMTP id mj25csp80714pzb; Tue, 7 May 2024 11:11:45 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWvNSPeFOw2OT1dP3z68vrCAzCr2t+Ypd/Tyg6d6/ZdbVi1rK8coIVS3PG0Apujc12JePZ/iZ93j8e3XBc8cDTh88B3QJfMGA1j5g== X-Google-Smtp-Source: AGHT+IE7WrUpOC6lfY9Xa/HAjYg/iUIMFlVce3Iq31R2eymypffCwQRitGrIDiGi+5s9os4+iN2l X-Received: by 2002:a17:906:794a:b0:a59:ca33:683f with SMTP id a640c23a62f3a-a59fb94db6amr16229966b.28.1715105505648; Tue, 07 May 2024 11:11:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1715105505; cv=none; d=google.com; s=arc-20160816; b=QtcMlJB6lUp8naYZa/if1TiAIP+Vlmcpyn6IUxZXD4Rq9+B9f/Ziu523U8YutHawiL rc9tBr8h9RpEqD1oaL90cDcf508Py2mdNI7RYsOMD4PA4MSvtwV7z8zp3icP6gkdZwi7 rtVwTxX71htU1WMpDGBr+Vvu5lfElsGuwmJiyfA5G++4eNq2N0LGyBvJFF8V6ZkcuFfz aXwKDn3zIMzE5kVf7AZ7zqQFBfab0N+hkG2q4siu5aT6obwLQtKWAUjuTGVyHExMCQgj N3AhAvFFFvPq2RUkPHSH/BQuNsuyVKgaez9cW62jphFxwWXfOMg6pU7a6nZJ7vf6h0ei kPKg== 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:references:in-reply-to:message-id :date:to:from:delivered-to; bh=0FirCwWNpPm5u6kgJQ3M/Dew84EY1PLtj9MoNQjCl70=; fh=YOA8vD9MJZuwZ71F/05pj6KdCjf6jQRmzLS+CATXUQk=; b=EU+7FdBUgCTjSRsdSrvyrAQMe0ypYhIXR9PfZGlYdk293B+FfpLGFwwZmopO9waphX NnCtZQIRMJpih5HHa4pv0K90e/ED0oxYSSJosVy+QO29uYjgZF5NuDuo9MMcB1NUEXqo 7A+JVOTPcUa4TQeJ6oa5EaXLrwzRH0I3SHlKjPPg10y0AqSkMjKwr2mRXivwvVcMCEK0 jvMUAncRs5x9JNMobdptMpS8JIE2kaMemCordXLmuPFTLra/OOGUAlTIe1O5n74h+DFj m+WsXM8vuVgDjnqV1fMwti5EfTZ7e+j8yFhGLR7Eegjg5IYRdrZ0DbKMim/H4YTlXbbW 96Tw==; dara=google.com 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 n5-20020a170906088500b00a52370cf15csi5864108eje.202.2024.05.07.11.11.43; Tue, 07 May 2024 11:11:45 -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 732CB68D6F5; Tue, 7 May 2024 21:11:13 +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 5D1E568D64B for ; Tue, 7 May 2024 21:11:02 +0300 (EEST) Received: from basile.remlab.net (localhost [IPv6:::1]) by ursule.remlab.net (Postfix) with ESMTP id 9C606C018C for ; Tue, 7 May 2024 21:11:01 +0300 (EEST) From: =?utf-8?q?R=C3=A9mi_Denis-Courmont?= To: ffmpeg-devel@ffmpeg.org Date: Tue, 7 May 2024 21:11:00 +0300 Message-ID: <20240507181101.33385-3-remi@remlab.net> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240507181101.33385-1-remi@remlab.net> References: <20240507181101.33385-1-remi@remlab.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 3/4] swscale/riscv: explicitly require Zbb for MIN 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: uSicrPLyE6b5 --- libswscale/riscv/rgb2rgb_rvv.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libswscale/riscv/rgb2rgb_rvv.S b/libswscale/riscv/rgb2rgb_rvv.S index 21e30ab8bb..19f7aaf67d 100644 --- a/libswscale/riscv/rgb2rgb_rvv.S +++ b/libswscale/riscv/rgb2rgb_rvv.S @@ -165,10 +165,10 @@ endfunc ret .endm -func ff_uyvytoyuv422_rvv, zve32x +func ff_uyvytoyuv422_rvv, zve32x, zbb yuy2_to_i422p v20, v16 endfunc -func ff_yuyvtoyuv422_rvv, zve32x +func ff_yuyvtoyuv422_rvv, zve32x, zbb yuy2_to_i422p v16, v20 endfunc From patchwork Tue May 7 18:11:01 2024 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: 48646 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:9c99:b0:1af:836d:81b3 with SMTP id mj25csp80781pzb; Tue, 7 May 2024 11:11:55 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCV1+pUyZpIGLdvA0JFZO5KNN6dI/rAJcr7Gv19yaWHyw9jqW5+6e+XOxY1EAncbYmrWCjHFTDWmLq0VGfs8/tmqUHkAMmKv2yqEUA== X-Google-Smtp-Source: AGHT+IGCwKl96x1SCUnlVq3pPQyZj4DRq8fpkyVOAj6h8dAIHfPSMarWn4cRWZklnxzAfjmaY5Fc X-Received: by 2002:a17:906:ad98:b0:a59:b1dc:57a8 with SMTP id a640c23a62f3a-a59fb9683d9mr14598066b.33.1715105514820; Tue, 07 May 2024 11:11:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1715105514; cv=none; d=google.com; s=arc-20160816; b=piIYXb0UT/iKPyYUJSLDg6l63wmkjzkn+y4/5AVoyz0I8iCTbVy29JEGioPcuSCJDy VAhl/fudCIc3E2dRCT3WOOsmkycr6eLNV6ACq/1BsOXh5/xjXwohcTF38DNHQJgZKeeP yPNvZpBzZQ0QgZfZNeZrtUDB3UdoixAQicHSPi5oa+Fgn97M94q6HH/aUlo0cc0oePi1 /7PJcUOHc/dzirvF7K7lV0O7B8XHuCigIwTfpjowjUDyzuXDCjvWFq7HpDfm//whXCbp hERxPuhw3LQ9vlGirdeUZV3NEti3ZU1YUNE3NQa9XbMgpvmZQ51S/Xx0phDJCjLzM0lG DTkw== 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:references:in-reply-to:message-id :date:to:from:delivered-to; bh=5fzZmwE2wE8BtXufAtui7dTzVfuRkGV6Cxo71965dFY=; fh=YOA8vD9MJZuwZ71F/05pj6KdCjf6jQRmzLS+CATXUQk=; b=Gtnz0UM4rN6zC1vGQpCrXLNYtKuq9ujeGM6YaxQ9Bk3gI6y66nX6elVyvuuFKJ9nhQ m7p/vtAM97xziZAETeS1IGjp5bxKhE5pLfvfv91yaW025dDDgr7kLOudOQnENxpXHDbU FixqSUlxnQHHcUfEvGobZvpKBpjHInjCVnSNiZb9+/sXhj31nEzus3CgdDNdTnxulR93 iYn/r6j/NAC0NDSHninrDcE1Rg6h5RIwF4Pjn4U22HI9JWZ0GkhAl+Mi1s6vHx8Q32/D t+3zigaA4rdOqaTRoOg2yVw5WGAURB3rrcx2kZ66M2WGQYe/8GkLsJmamxcmmVg/qlUz 187w==; dara=google.com 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 s24-20020a170906355800b00a59db7fd977si1887398eja.887.2024.05.07.11.11.32; Tue, 07 May 2024 11:11:54 -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 152C568D64C; Tue, 7 May 2024 21:11:12 +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 5560A68D5F8 for ; Tue, 7 May 2024 21:11:02 +0300 (EEST) Received: from basile.remlab.net (localhost [IPv6:::1]) by ursule.remlab.net (Postfix) with ESMTP id CCB5CC018E for ; Tue, 7 May 2024 21:11:01 +0300 (EEST) From: =?utf-8?q?R=C3=A9mi_Denis-Courmont?= To: ffmpeg-devel@ffmpeg.org Date: Tue, 7 May 2024 21:11:01 +0300 Message-ID: <20240507181101.33385-4-remi@remlab.net> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240507181101.33385-1-remi@remlab.net> References: <20240507181101.33385-1-remi@remlab.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 4/4] lavu/riscv: remove bespoke assembler for MIN 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: rIn9Ru4L9az5 This is no longer necessary as Zbb is now always explicitly required. --- libavutil/riscv/asm.S | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libavutil/riscv/asm.S b/libavutil/riscv/asm.S index 9d76ab5617..14be5055f5 100644 --- a/libavutil/riscv/asm.S +++ b/libavutil/riscv/asm.S @@ -95,11 +95,6 @@ shnadd 3, \rd, \rs1, \rs2 .endm #endif -#if !defined (__riscv_zbb) - .macro min rd, rs1, rs2 - .insn r OP, 4, 5, \rd, \rs1, \rs2 - .endm -#endif /* Convenience macro to load a Vector type (vtype) as immediate */ .macro lvtypei rd, e, m=m1, tp=tu, mp=mu