[FFmpeg-cvslog] [ffmpeg] branch master updated. 8e4c904c8e checkasm: ac3dsp: Increase the float tolerance for sum_square_butterfly_float
ffmpeg-git at ffmpeg.org
ffmpeg-git at ffmpeg.org
Sun Aug 10 05:28:27 EEST 2025
The branch, master has been updated
via 8e4c904c8e30c68ea6c7da3740139bf2f4ffa907 (commit)
via 0400e05a1a2835bf8a6589a0d7d5eb2625d618a9 (commit)
from a72cc49e8a08dd61cbcf61cac664601c70bc9517 (commit)
- Log -----------------------------------------------------------------
commit 8e4c904c8e30c68ea6c7da3740139bf2f4ffa907
Author: Martin Storsjö <martin at martin.st>
AuthorDate: Fri Aug 8 13:59:33 2025 +0300
Commit: Kacper MichajÅow <kasper93 at gmail.com>
CommitDate: Sun Aug 10 02:27:44 2025 +0000
checkasm: ac3dsp: Increase the float tolerance for sum_square_butterfly_float
Accept up to 13 ULP difference.
This fixes running "checkasm --test=ac3dsp 3044836819" on ARM.
Depending on how the SIMD implementations aggregate numbers,
larger/smaller values might not end up accumulated in exactly
the same way; the current NEON implementation for ARM aggregates
into vectors of 2 elements. If it would aggregate into vectors
of 4 elements instead, like the AArch64 version does, this particular
case would end up with a smaller difference.
diff --git a/tests/checkasm/ac3dsp.c b/tests/checkasm/ac3dsp.c
index a8e96d793f..97732112a5 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, 11, 4))
+ if (!float_near_ulp_array(v1, v2, 13, 4))
fail();
bench_new(v2, lt, rt, ELEMS);
commit 0400e05a1a2835bf8a6589a0d7d5eb2625d618a9
Author: Martin Storsjö <martin at martin.st>
AuthorDate: Fri Aug 8 13:55:02 2025 +0300
Commit: Kacper MichajÅow <kasper93 at gmail.com>
CommitDate: Sun Aug 10 02:27:44 2025 +0000
checkasm: ac3dsp: Fix function name typos for sum_square_butterfly
diff --git a/tests/checkasm/ac3dsp.c b/tests/checkasm/ac3dsp.c
index b5db3a4381..a8e96d793f 100644
--- a/tests/checkasm/ac3dsp.c
+++ b/tests/checkasm/ac3dsp.c
@@ -152,7 +152,7 @@ static void check_ac3_sum_square_butterfly_int32(AC3DSPContext *c) {
randomize_i24(rt, ELEMS);
if (check_func(c->sum_square_butterfly_int32,
- "ac3_sum_square_bufferfly_int32")) {
+ "ac3_sum_square_butterfly_int32")) {
call_ref(v1, lt, rt, ELEMS);
call_new(v2, lt, rt, ELEMS);
@@ -177,7 +177,7 @@ static void check_ac3_sum_square_butterfly_float(AC3DSPContext *c) {
randomize_float(rt, ELEMS);
if (check_func(c->sum_square_butterfly_float,
- "ac3_sum_square_bufferfly_float")) {
+ "ac3_sum_square_butterfly_float")) {
call_ref(v1, lt, rt, ELEMS);
call_new(v2, lt, rt, ELEMS);
-----------------------------------------------------------------------
Summary of changes:
tests/checkasm/ac3dsp.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
hooks/post-receive
--
More information about the ffmpeg-cvslog
mailing list