From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 8FB6F4A9F4 for ; Tue, 7 May 2024 15:38:38 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 1D4AB68D75F; Tue, 7 May 2024 18:38:36 +0300 (EEST) Received: from ursule.remlab.net (vps-a2bccee9.vps.ovh.net [51.75.19.47]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id CCBBB68D625 for ; Tue, 7 May 2024 18:38:28 +0300 (EEST) Received: from basile.remlab.net (localhost [IPv6:::1]) by ursule.remlab.net (Postfix) with ESMTP id 50F6EC00C0 for ; Tue, 7 May 2024 18:38:28 +0300 (EEST) From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= To: ffmpeg-devel@ffmpeg.org Date: Tue, 7 May 2024 18:38:28 +0300 Message-ID: <20240507153828.5392-1-remi@remlab.net> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] lavc/vp9dsp: fix compilation with llvm-as 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --- libavcodec/riscv/vp9_intra_rvv.S | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/libavcodec/riscv/vp9_intra_rvv.S b/libavcodec/riscv/vp9_intra_rvv.S index db9774c263..40e38ba83e 100644 --- a/libavcodec/riscv/vp9_intra_rvv.S +++ b/libavcodec/riscv/vp9_intra_rvv.S @@ -33,11 +33,13 @@ vmv.v.x v16, zero vle8.v v8, (a3) avgdc \size -.elseif \type == left +.else +.ifc \type,left vmv.v.x v16, zero vle8.v v8, (a2) avgdc \size -.elseif \type == dc +.else +.ifc \type,dc vmv.v.x v16, zero vle8.v v8, (a2) vwredsumu.vs v16, v8, v16 @@ -46,6 +48,8 @@ .else li t1, \type .endif +.endif +.endif .endm .macro dc_e32 type size n restore @@ -87,7 +91,7 @@ .macro func_dc name size type n restore ext func ff_\()\name\()_\()\size\()x\size\()_rvv, \ext -.ifc \size,8 +.if \size == 8 dc_e64 \type \size \n \restore .else dc_e32 \type \size \n \restore -- 2.43.0 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".