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 1743345582 for ; Tue, 6 Jun 2023 10:25:40 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 1E95E68C14D; Tue, 6 Jun 2023 13:25:37 +0300 (EEST) Received: from mail8.parnet.fi (mail8.parnet.fi [77.234.108.134]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 01C9168C0FB for ; Tue, 6 Jun 2023 13:25:30 +0300 (EEST) Received: from mail9.parnet.fi (mail9.parnet.fi [77.234.108.21]) by mail8.parnet.fi with ESMTP id 356APTuW006753-356APTuX006753 for ; Tue, 6 Jun 2023 13:25:29 +0300 Received: from foo.martin.st (host-97-187.parnet.fi [77.234.97.187]) by mail9.parnet.fi (Postfix) with ESMTPS id D7145A4CF8 for ; Tue, 6 Jun 2023 13:25:29 +0300 (EEST) Date: Tue, 6 Jun 2023 13:25:29 +0300 (EEST) From: =?ISO-8859-15?Q?Martin_Storsj=F6?= To: ffmpeg-devel@ffmpeg.org In-Reply-To: <20230530123043.52940-1-martin@martin.st> Message-ID: <625ddcc7-8ea-aacf-afa3-f96953b579e8@martin.st> References: <20230530123043.52940-1-martin@martin.st> MIME-Version: 1.0 X-FE-Policy-ID: 3:14:2:SYSTEM X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [FFmpeg-devel] [PATCH v2 1/5] configure: aarch64: Support assembling the dotprod and i8mm arch extensions 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-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-15"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On Tue, 30 May 2023, Martin Storsj=F6 wrote: > Current clang versions fail to support the dotprod and i8mm > features in the .arch_extension directive, but do support them > if enabled with -march=3Darmv8.4-a on the command line. (Curiously, > lowering the arch level with ".arch armv8.2-a" doesn't make the > extensions unavailable if they were enabled with -march; if that > changes, Clang should also learn to support these extensions via > .arch_extension for them to remain usable here.) FWIW, since today, Clang does support enabling these extensions with both = these extensions, see = https://github.com/llvm/llvm-project/commit/4b8d9abca7d0280878fb12de331e688= ee85d7cd8 = and = https://github.com/llvm/llvm-project/commit/4b8d9abca7d0280878fb12de331e688= ee85d7cd8. It turns out that it is possible to enable these extensions with older = Clang via assembly too, but due to a bug, it would require using e.g. = ".arch armv8.6-a+crc" (it requires using a "+" for any random = unrelated extension). I won't try to support using that in our assembly, = as the proper mechanism should be supported going forward. As there was no further opposition, I'll push this patchset now with the = last modifications that were suggested. // Martin _______________________________________________ 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".