From 97a708a50792b2323f1402211a0c0612cfc5826f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Wed, 24 Jul 2024 00:00:15 +0300 Subject: [PATCH] checkasm: Increase the tolerance for ac3_sum_square_butterfly_float MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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". Signed-off-by: Martin Storsjö --- 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);