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 747E64C149 for ; Mon, 22 Jul 2024 18:45:32 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 1011F68D754; Mon, 22 Jul 2024 21:44:45 +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 7863868D6FD for ; Mon, 22 Jul 2024 21:44:37 +0300 (EEST) Received: from basile.remlab.net (localhost [IPv6:::1]) by ursule.remlab.net (Postfix) with ESMTP id E7CD7C023E for ; Mon, 22 Jul 2024 21:44:32 +0300 (EEST) From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= To: ffmpeg-devel@ffmpeg.org Date: Mon, 22 Jul 2024 21:44:26 +0300 Message-ID: <20240722184431.40853-7-remi@remlab.net> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240722184431.40853-1-remi@remlab.net> References: <20240722184431.40853-1-remi@remlab.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 7/9] lavu/riscv: remove bespoke SH{1, 2, 3}ADD assembler 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: configure checks that the assembler supports the B extension (or rather its constituents) anyway. These macros were dodging sanity checks for unsupported instructions and nothing else. --- libavutil/riscv/asm.S | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/libavutil/riscv/asm.S b/libavutil/riscv/asm.S index 0c29680d84..8b96e07b75 100644 --- a/libavutil/riscv/asm.S +++ b/libavutil/riscv/asm.S @@ -83,25 +83,6 @@ .endm .endm -#if !defined (__riscv_zba) - /* SH{1,2,3}ADD definitions for pre-Zba assemblers */ - .macro shnadd n, rd, rs1, rs2 - .insn r OP, 2 * \n, 16, \rd, \rs1, \rs2 - .endm - - .macro sh1add rd, rs1, rs2 - shnadd 1, \rd, \rs1, \rs2 - .endm - - .macro sh2add rd, rs1, rs2 - shnadd 2, \rd, \rs1, \rs2 - .endm - - .macro sh3add rd, rs1, rs2 - shnadd 3, \rd, \rs1, \rs2 - .endm -#endif - #if defined (__riscv_v_elen) # define RV_V_ELEN __riscv_v_elen #else -- 2.45.2 _______________________________________________ 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".