[FFmpeg-devel] [PATCH 1/2] checkasm/lpc: test compute_autocorr
Michael Niedermayer
michael at niedermayer.cc
Thu Dec 14 18:41:24 EET 2023
On Tue, Dec 12, 2023 at 11:02:39PM +0200, Rémi Denis-Courmont wrote:
> ---
> tests/checkasm/lpc.c | 42 ++++++++++++++++++++++++++++++++++++++++--
> 1 file changed, 40 insertions(+), 2 deletions(-)
Often this works, but not always
ffmpeg/tests/checkasm/checkasm --test=lpc
checkasm: using random seed 3321308425
SSE2:
- lpc.apply_welch_window_even [OK]
- lpc.apply_welch_window_odd [OK]
- lpc.compute_autocorr_10 [OK]
- lpc.compute_autocorr_30 [OK]
- lpc.compute_autocorr_32 [OK]
AVX2:
- lpc.apply_welch_window_even [OK]
- lpc.apply_welch_window_odd [OK]
checkasm: all 7 tests passed
$ ffmpeg/tests/checkasm/checkasm --test=lpc
checkasm: using random seed 3962111
SSE2:
- lpc.apply_welch_window_even [OK]
- lpc.apply_welch_window_odd [OK]
- lpc.compute_autocorr_10 [OK]
- lpc.compute_autocorr_30 [OK]
- lpc.compute_autocorr_32 [OK]
AVX2:
- lpc.apply_welch_window_even [OK]
- lpc.apply_welch_window_odd [OK]
checkasm: all 7 tests passed
$ ffmpeg/tests/checkasm/checkasm --test=lpc
checkasm: using random seed 2098118744
SSE2:
- lpc.apply_welch_window_even [OK]
- lpc.apply_welch_window_odd [OK]
- lpc.compute_autocorr_10 [OK]
- lpc.compute_autocorr_30 [OK]
- lpc.compute_autocorr_32 [OK]
AVX2:
- lpc.apply_welch_window_even [OK]
- lpc.apply_welch_window_odd [OK]
checkasm: all 7 tests passed
$ ffmpeg/tests/checkasm/checkasm --test=lpc
checkasm: using random seed 2281870905
SSE2:
- lpc.apply_welch_window_even [OK]
- lpc.apply_welch_window_odd [OK]
- lpc.compute_autocorr_10 [OK]
- lpc.compute_autocorr_30 [OK]
- lpc.compute_autocorr_32 [OK]
AVX2:
- lpc.apply_welch_window_even [OK]
- lpc.apply_welch_window_odd [OK]
checkasm: all 7 tests passed
$ ffmpeg/tests/checkasm/checkasm --test=lpc
checkasm: using random seed 258427554
SSE2:
- lpc.apply_welch_window_even [OK]
- lpc.apply_welch_window_odd [OK]
- lpc.compute_autocorr_10 [OK]
- lpc.compute_autocorr_30 [OK]
- lpc.compute_autocorr_32 [OK]
AVX2:
- lpc.apply_welch_window_even [OK]
- lpc.apply_welch_window_odd [OK]
checkasm: all 7 tests passed
$ ffmpeg/tests/checkasm/checkasm --test=lpc
checkasm: using random seed 966320013
SSE2:
- lpc.apply_welch_window_even [OK]
- lpc.apply_welch_window_odd [OK]
0: 976.228035341704 - 976.998462662304 = -0.7704273206
autocorr_10_sse2 (lpc.c:81)
- lpc.compute_autocorr_10 [FAILED]
0: 966.946397975397 - 967.716825295995 = -0.770427320599
autocorr_30_sse2 (lpc.c:81)
- lpc.compute_autocorr_30 [FAILED]
0: 968.085384693526 - 968.855812014127 = -0.770427320601
autocorr_32_sse2 (lpc.c:81)
- lpc.compute_autocorr_32 [FAILED]
AVX2:
- lpc.apply_welch_window_even [OK]
- lpc.apply_welch_window_odd [OK]
checkasm: 3 of 7 tests have failed
$ ffmpeg/tests/checkasm/checkasm --test=lpc
checkasm: using random seed 470640728
SSE2:
- lpc.apply_welch_window_even [OK]
- lpc.apply_welch_window_odd [OK]
- lpc.compute_autocorr_10 [OK]
- lpc.compute_autocorr_30 [OK]
- lpc.compute_autocorr_32 [OK]
AVX2:
- lpc.apply_welch_window_even [OK]
- lpc.apply_welch_window_odd [OK]
checkasm: all 7 tests passed
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Opposition brings concord. Out of discord comes the fairest harmony.
-- Heraclitus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20231214/99456bab/attachment.sig>
More information about the ffmpeg-devel
mailing list