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 ESMTPS id DE85946973 for ; Sun, 19 Jan 2025 15:05:41 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 0B9C968B5DB; Sun, 19 Jan 2025 17:05:40 +0200 (EET) Received: from szaka.eu (szaka.eu [144.217.86.229]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id D325E68A3AF for ; Sun, 19 Jan 2025 17:05:38 +0200 (EET) To: ffmpeg-devel@ffmpeg.org Date: Sun, 19 Jan 2025 16:04:40 +0100 Message-Id: <20250119150440.26868-2-ffmpeg@szaka.eu> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250119150440.26868-1-ffmpeg@szaka.eu> References: <20250119150440.26868-1-ffmpeg@szaka.eu> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] avutil/aarch64/float_dsp_neon: Refactor ff_vector_fmac_scalar_neon 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: , From: Krzysztof Pyrkosz via ffmpeg-devel Reply-To: FFmpeg development discussions and patches Cc: Krzysztof Pyrkosz 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: --- libavutil/aarch64/float_dsp_neon.S | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/libavutil/aarch64/float_dsp_neon.S b/libavutil/aarch64/float_dsp_neon.S index 35e2715b87..b21f34c084 100644 --- a/libavutil/aarch64/float_dsp_neon.S +++ b/libavutil/aarch64/float_dsp_neon.S @@ -40,18 +40,17 @@ function ff_vector_fmul_neon, export=1 endfunc function ff_vector_fmac_scalar_neon, export=1 - mov x3, #-32 1: subs w2, w2, #16 - ld1 {v16.4s, v17.4s}, [x0], #32 - ld1 {v18.4s, v19.4s}, [x0], x3 - ld1 {v4.4s, v5.4s}, [x1], #32 - ld1 {v6.4s, v7.4s}, [x1], #32 + ldp q16, q17, [x0] + ldp q4, q5, [x1], #32 fmla v16.4s, v4.4s, v0.s[0] fmla v17.4s, v5.4s, v0.s[0] + stp q16, q17, [x0], #32 + ldp q18, q19, [x0] + ldp q6, q7, [x1], #32 fmla v18.4s, v6.4s, v0.s[0] fmla v19.4s, v7.4s, v0.s[0] - st1 {v16.4s, v17.4s}, [x0], #32 - st1 {v18.4s, v19.4s}, [x0], #32 + stp q18, q19, [x0], #32 b.ne 1b ret endfunc -- 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".