From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 8E2954EFE0 for ; Sat, 14 Jun 2025 01:12:34 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id CA13568CED8; Sat, 14 Jun 2025 04:12:30 +0300 (EEST) Received: from relay15.mail.gandi.net (relay15.mail.gandi.net [217.70.178.235]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 9489068C889 for ; Sat, 14 Jun 2025 04:12:24 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id BC64444212 for ; Sat, 14 Jun 2025 01:12:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1749863544; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=LtjPHa0OKW2vtcS9a9GG3szA++aDMpwJ/sIFcZK0wx4=; b=OPlidQ3laer+Kayn1zUF4ruwYqlON69kMO03L4zpkQpY4LYTjgs5KiQIItPkcwg4ZTBxqz qjemkJX4Ywlne8hxecCJTdDQvwrI9p0NcLv8KyktNq4+0gXcyS4xMugz1CwSxEE5cYGPVy Qq4xzKsSYM6Ct8Sfq5NttsNVVVoJ7SjCzgeqkI+QNxjXuSJhZ4RH0n6WOEMAWEEVf+A5kL EG7CevCAPwlmIoIQ9Ftev8529NDIqH1bo56dQhLqjdZprh2IvTz4h1pI+x+Iu6VU0aBzkP PsWptjM9T+7GpIOFnhANrLxM0BEQ441jafqSVk48o6/j7INn1Ri0YwafwHXK8w== Date: Sat, 14 Jun 2025 03:12:22 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20250614011222.GI29660@pb2> References: <20250613163801.197737-1-ffmpeg@haasn.xyz> <20250613163801.197737-7-ffmpeg@haasn.xyz> MIME-Version: 1.0 In-Reply-To: <20250613163801.197737-7-ffmpeg@haasn.xyz> X-GND-State: clean X-GND-Score: -85 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtddugdduleegkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrhhlucfvnfffucdludehmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofhitghhrggvlhcupfhivgguvghrmhgrhigvrhcuoehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgeqnecuggftrfgrthhtvghrnhepieegkedtjeduffejhfetgeejtdegteetgfegtdfhjefgvefhteegkeejtddvhfevnecukfhppeeguddrieeirdeijedruddufeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeeguddrieeirdeijedruddufedphhgvlhhopehlohgtrghlhhhoshhtpdhmrghilhhfrhhomhepmhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtpdhnsggprhgtphhtthhopedupdhrtghpthhtohepfhhfmhhpvghgqdguvghvvghlsehffhhmphgvghdrohhrgh Subject: Re: [FFmpeg-devel] [PATCH v2 07/13] avfilter/x86/f_ebur128: add x86 AVX implementation 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: multipart/mixed; boundary="===============5711080117328799615==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============5711080117328799615== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="eON0eMF7TuZ58uv6" Content-Disposition: inline --eON0eMF7TuZ58uv6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Niklas On Fri, Jun 13, 2025 at 06:37:50PM +0200, Niklas Haas wrote: > From: Niklas Haas >=20 > Processes two channels in parallel, using 128-bit XMM registers. >=20 > In theory, we could go up to YMM registers to process 4 channels, but thi= s is > not a gain except for relatively high channel counts (e.g. 7.1), and also > complicates the sample load/store operations considerably. >=20 > I decided to only add an AVX variant, since the C code is not substantial= ly > slower enough to justify a separate function just for ancient CPUs. > --- > libavfilter/f_ebur128.c | 15 ++-- > libavfilter/f_ebur128.h | 16 ++++ > libavfilter/x86/Makefile | 2 + > libavfilter/x86/f_ebur128.asm | 142 +++++++++++++++++++++++++++++++ > libavfilter/x86/f_ebur128_init.c | 35 ++++++++ > 5 files changed, 205 insertions(+), 5 deletions(-) > create mode 100644 libavfilter/x86/f_ebur128.asm > create mode 100644 libavfilter/x86/f_ebur128_init.c breaks x86-32 src/libavfilter/x86/f_ebur128.asm:116: error: symbol `m8' undefined src/libavfilter/x86/f_ebur128.asm:118: error: symbol `m9' undefined src/libavfilter/x86/f_ebur128.asm:119: error: symbol `m10' undefined src/libavfilter/x86/f_ebur128.asm:120: error: symbol `m11' undefined src/libavfilter/x86/f_ebur128.asm:121: error: symbol `m12' undefined src/libavfilter/x86/f_ebur128.asm:122: error: symbol `m13' undefined src/libavfilter/x86/f_ebur128.asm:124: error: symbol `r7q' undefined src/libavfilter/x86/f_ebur128.asm:125: error: symbol `r8q' undefined src/libavfilter/x86/f_ebur128.asm:132: error: symbol `r7q' undefined src/libavfilter/x86/f_ebur128.asm:91: ... from macro `filter_channels' defi= ned here src/libavfilter/x86/f_ebur128.asm:57: ... from macro `FILTER' defined here src//libavutil/x86/x86inc.asm:1654: ... from macro `movsd' defined here src//libavutil/x86/x86inc.asm:1501: ... from macro `RUN_AVX_INSTR' defined = here src/libavfilter/x86/f_ebur128.asm:132: error: symbol `r7q' undefined src/libavfilter/x86/f_ebur128.asm:91: ... from macro `filter_channels' defi= ned here src/libavfilter/x86/f_ebur128.asm:58: ... from macro `FILTER' defined here src//libavutil/x86/x86inc.asm:1654: ... from macro `movsd' defined here src//libavutil/x86/x86inc.asm:1501: ... from macro `RUN_AVX_INSTR' defined = here src/libavfilter/x86/f_ebur128.asm:132: error: symbol `r7q' undefined =2E.. [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Concerning the gods, I have no means of knowing whether they exist or not or of what sort they may be, because of the obscurity of the subject, and the brevity of human life -- Protagoras --eON0eMF7TuZ58uv6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCaEzMbQAKCRBhHseHBAsP q6SRAJ9hYCl+yv7Ua09ST5dF21j+hSNoUQCeNHF/Imn8KwqTavQ5aC86O7viWiQ= =h83O -----END PGP SIGNATURE----- --eON0eMF7TuZ58uv6-- --===============5711080117328799615== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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". --===============5711080117328799615==--