From patchwork Tue Jul 23 21:01:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Martin_Storsj=C3=B6?= X-Patchwork-Id: 50719 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a59:a742:0:b0:482:c625:d099 with SMTP id f2csp2870682vqm; Tue, 23 Jul 2024 14:01:45 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUMvBuKyg0PhHfRy9w8kjLk9Y7gBIWd4vTDOj6cO00yQv0eGnCxaOi9VqqccoGRk0+jJFGlXcqvdDnPixYpTgG2SLhgO7/e1lgJBQ== X-Google-Smtp-Source: AGHT+IFv2ZG52V410gQDewdOacqT6L4OABNgxnBlPrE0vBcyouO5j9Q6NOWXTHcSHONW8K+Ev4Ih X-Received: by 2002:a05:6512:110b:b0:52c:dba6:b4cb with SMTP id 2adb3069b0e04-52fcda25e4cmr558742e87.13.1721768505084; Tue, 23 Jul 2024 14:01:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1721768505; cv=none; d=google.com; s=arc-20160816; b=X9U14weK4//5ti7taQRn/AGdfu++1L5qMlRhij1MUtLRctmvXle/1GF3AaBcOiq3E4 5CJENwqQ9UVXe3CkaZ5zAwNfDx22e18a6Y38Ar43lDRp7JWH62xp6ay7IzBsCwh85Zi8 SHJZBfAGgh6/0y4wNMDNVe5jkAVh+6dYSuKLHoL0ZG/OPOGWtyZSokd0YbP1qI6pEkjo 3iK8EOeM29auxZVhQ3nKEBtwEahOOKNYpExEKYZN2FWP0g1tM99XvM7DWkfB+faE+3F+ dQQxwO94npMknEMwg0qrfPxLharg0V6CFzR7iWMavA+JcrleKlP4rDAcEp54TuUBXSP+ E82A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:reply-to:from :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:mime-version:message-id:date:to :delivered-to; bh=vUNHW7E2NTppuvHjvNf98vbFIFYFJHgphJk3eWA//tA=; fh=gTKzBVd2yZbGOjb8WwqriMnveHbiTS9mmK111MCgXZU=; b=MhAmCs+T7UNKpTKRF2yJT/Kyvy1LBQ7E0Qv1XX0nzQ9N3LCuN/WVVB7L6Ax7lfqSD+ lpgGs47rtqKIbNzS+dTSe/auON9g0MhYM5/v7QVuCZuKAJ365Lt9K0DsGNCIH7fRP7BH amDq92eZvVPBNYePxmtHThMwavpoTy0XqhMbMm+FJvRB6bFqPj/6ZVUpNrT8whSDciRw cKdR7IPOioxMxtm0tfdlxGufyxW9k/Hoelgm2izEfGtz3ZNu0kozx9ypoh6fjcZawErB B0AwDI1jSlcEciXnUL8Wfj5I5mND6JFJK1TWDdXy2lwofX6su18Xrdvn6MpuntEHeCeb TBKg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id a640c23a62f3a-a7a8be53b7asi178444766b.988.2024.07.23.14.01.44; Tue, 23 Jul 2024 14:01:45 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id EBA9368D5FE; Wed, 24 Jul 2024 00:01:40 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 58BB168D428 for ; Wed, 24 Jul 2024 00:01:34 +0300 (EEST) Received: by mail-lf1-f54.google.com with SMTP id 2adb3069b0e04-52f01993090so3927932e87.2 for ; Tue, 23 Jul 2024 14:01:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721768493; x=1722373293; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=VBP7yer9JD51poKDfRiBi3bdIV+9UVYGo6Zlxn2p3X8=; b=wLOzcWqo9XX85NqI9sFseuW2ZFQ6cKIWS69vYJxynoRnj64sRTaMuk2mXtejCr3WQC kTDRNRndFP8czcTVcFO7yGHrUW+sNBjtXFISZHnx5k3UvKbrWHvC5XDzt5pLGoU08RcG /iAooHbfyIQxDR034GqQ8kkwoUXAIyFXGNySbP+s+6No68hif0khaRDaC4qggVlW1I+V GcyUAMKatmkvYD3RtORW9wcsVGFdctJU/jGBs29+2V/EeWIgXw+BymJbSq8nWg0KYoB7 r9do9qb05ondbiy/942AKcL4S/JVF1Csn9Ms99XtLkGX+xwq9zDMMdYfZq+s92RzhiOC yiqw== X-Gm-Message-State: AOJu0YxVp6xgDUyFVsvVwO/i0290tVRmQdLzA6D28E7AyVxrM+RjPdqi D4r8wRsK3dE4f3BtyQ1Kjq4sqmH9SKh7N9mGSjmWt8eIAouBIrabxnMSh4nEbZIaTAAgRVwjLde qkw== X-Received: by 2002:a05:6512:1091:b0:52d:8f80:6444 with SMTP id 2adb3069b0e04-52fcda327e7mr577510e87.32.1721768493083; Tue, 23 Jul 2024 14:01:33 -0700 (PDT) Received: from localhost (host-114-191.parnet.fi. [77.234.114.191]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-52ef9ee09c5sm1432037e87.220.2024.07.23.14.01.32 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 23 Jul 2024 14:01:32 -0700 (PDT) To: ffmpeg-devel@ffmpeg.org Date: Wed, 24 Jul 2024 00:01:32 +0300 Message-Id: <20240723210132.95804-1-martin@martin.st> X-Mailer: git-send-email 2.39.3 (Apple Git-146) MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] checkasm: Increase the tolerance for ac3_sum_square_butterfly_float 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: , X-Patchwork-Original-From: =?utf-8?q?Martin_Storsj=C3=B6_via_ffmpeg-devel?= From: =?utf-8?q?Martin_Storsj=C3=B6?= Reply-To: FFmpeg development discussions and patches Cc: =?utf-8?q?Martin_Storsj=C3=B6?= Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: 5VtUp2FVWWFQ Increase the tolerance from 10 ulp to 11 ulp. This fixes occasional errors for some inputs; the errors could be reproduced on aarch64/neon builds, with "checkasm --test=ac3dsp 3446175925". --- tests/checkasm/ac3dsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/checkasm/ac3dsp.c b/tests/checkasm/ac3dsp.c index 442e965f3b..8c682d03cd 100644 --- a/tests/checkasm/ac3dsp.c +++ b/tests/checkasm/ac3dsp.c @@ -181,7 +181,7 @@ static void check_ac3_sum_square_butterfly_float(AC3DSPContext *c) { call_ref(v1, lt, rt, ELEMS); call_new(v2, lt, rt, ELEMS); - if (!float_near_ulp_array(v1, v2, 10, 4)) + if (!float_near_ulp_array(v1, v2, 11, 4)) fail(); bench_new(v2, lt, rt, ELEMS);