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 0DDE84B68E for ; Tue, 11 Jun 2024 13:15:29 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 1A59568D83F; Tue, 11 Jun 2024 16:15:28 +0300 (EEST) Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id D627268D686 for ; Tue, 11 Jun 2024 16:15:21 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 183BEC000D for ; Tue, 11 Jun 2024 13:15:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1718111721; 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=01u7U4BhO/VPQvLR5kXh89f4S+D8hq+eZzHp/JS5SZo=; b=LzeQ9EnjgXsUxy6/TR70cpwQ1qbTujtyYda2bHPg/Z2ZODXvO758GgMNbkTttPKoDw3xr4 3OGDHUq71RpzfmWxHxgfwkh7EaZFVy4fxPU+gLY+4daZZdVOloUG6ocBx1OdX8cIqwv06t wunU4ROdQ+NFjb/9ix/ZSz9rVcPiU0xozkxMXFxWMJdeSv0MIalCTQuiKAHRowOvqbSRzt qv2K+8pFtypD3yB76PruRymDZUgAXvvzJj9TFVt1dZCPQATSQ8IxjGuGA1rcNcdzFvE1N0 lkWsTIXe9BsNHx99la/tB+7oSoT3SR+c6XZex/Po1ixJEiP4/M8bv18F2NvwAg== Date: Tue, 11 Jun 2024 15:15:19 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20240611131519.GI2821752@pb2> References: <20240607181947.330026-1-remi@remlab.net> MIME-Version: 1.0 In-Reply-To: <20240607181947.330026-1-remi@remlab.net> X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH 1/2] lavu/bswap: remove some inline 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: multipart/mixed; boundary="===============5427423447493262972==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============5427423447493262972== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="WsxfxsG9cAdcU7+6" Content-Disposition: inline --WsxfxsG9cAdcU7+6 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 07, 2024 at 09:19:46PM +0300, R=E9mi Denis-Courmont wrote: > C code or compiler built-ins are preferable over inline assembler for > byte-swaps as it allows for better optimisations (e.g. instruction > scheduling) which would otherwise be impossible. >=20 > As with f64c2e710fa1a7b59753224e717f57c48462076f for x86 and Arm, > this removes the inline assembler on GCC (and Clang) since we now > require recent enough compiler versions (this indeed seems to work on > AArch64). > --- > libavutil/aarch64/bswap.h | 56 --------------------------------------- > libavutil/avr32/bswap.h | 44 ------------------------------ > libavutil/bswap.h | 8 +----- > libavutil/sh4/bswap.h | 48 --------------------------------- As you are writing that this preferrable for better optimisations Please provide benchmarks (for sh4, avr32) thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Democracy is the form of government in which you can choose your dictator --WsxfxsG9cAdcU7+6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZmhN4QAKCRBhHseHBAsP q2LuAJ9prSKfQt7253NR50ZfM65OeC7ZsgCfWqtvBzmcMQ+tkgbElaNKvaMf0lI= =D3KW -----END PGP SIGNATURE----- --WsxfxsG9cAdcU7+6-- --===============5427423447493262972== 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". --===============5427423447493262972==--