You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
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.
This commit is contained in:
committed by
Kacper Michajłow
parent
0400e05a1a
commit
8e4c904c8e
@@ -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);
|
||||
|
Reference in New Issue
Block a user