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 510D94827F for ; Mon, 15 Jan 2024 14:21:58 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 187FD68CDFB; Mon, 15 Jan 2024 16:21:56 +0200 (EET) Received: from mail8.parnet.fi (mail8.parnet.fi [77.234.108.134]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 2031E68CBF7 for ; Mon, 15 Jan 2024 16:21:49 +0200 (EET) Received: from mail9.parnet.fi (mail9.parnet.fi [77.234.108.21]) by mail8.parnet.fi with ESMTP id 40FELmZZ010307-40FELmZa010307 for ; Mon, 15 Jan 2024 16:21:48 +0200 Received: from foo.martin.st (host-97-144.parnet.fi [77.234.97.144]) by mail9.parnet.fi (Postfix) with ESMTPS id E830AA1482 for ; Mon, 15 Jan 2024 16:21:47 +0200 (EET) Date: Mon, 15 Jan 2024 16:21:45 +0200 (EET) From: =?ISO-8859-15?Q?Martin_Storsj=F6?= To: ffmpeg-devel@ffmpeg.org In-Reply-To: <20240111205721.79886-1-martin@martin.st> Message-ID: <559162b1-95d8-faa5-344d-868246644887@martin.st> References: <20240111205721.79886-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] checkasm: Test whether the native FFmpeg timers work 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 Thu, 11 Jan 2024, Martin Storsj=F6 wrote: > On some platforms (in particular, ARM/AArch64), the implementation > of AV_READ_TIME() may use a privileged instruction - in such > cases, benchmarking just fails with a SIGILL. > > Instead of crashing, try executing AV_READ_TIME() once within > a region with the signal handler active, to allow gracefully > informing the user about the issue. > > This matches the dav1d checkasm commit > 95a192549a448b70d9542e840c4e34b60d09b093. > --- > Reworded the commit message and the printed warning message, as > the actual type of the timer is undefined and varies across > platforms. > --- > tests/checkasm/checkasm.c | 12 +++++++++++- > 1 file changed, 11 insertions(+), 1 deletion(-) Will apply soon. // 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".