[FFmpeg-devel] [PATCH v2] checkasm: add float_dsp tests

Michael Niedermayer michael at niedermayer.cc
Sat Apr 29 02:42:36 EEST 2017


On Wed, Apr 26, 2017 at 02:32:00PM -0300, James Almer wrote:
> This is a port of libavutil/tests/float_dsp.c
> 
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
>  tests/checkasm/Makefile    |   1 +
>  tests/checkasm/checkasm.c  |  20 +++
>  tests/checkasm/checkasm.h  |   4 +
>  tests/checkasm/float_dsp.c | 302 +++++++++++++++++++++++++++++++++++++++++++++
>  tests/fate/checkasm.mak    |   1 +
>  5 files changed, 328 insertions(+)
>  create mode 100644 tests/checkasm/float_dsp.c

fails on x86 32 linux

Test checkasm-float_dsp failed. Look at tests/data/fate/checkasm-float_dsp.err for details.
checkasm: using random seed 2975532195
 541.841064453125 - -nan = -nan
SSE:
 - float_dsp.vector_fmul         [OK]
 - float_dsp.vector_fmac         [OK]
 - float_dsp.butterflies_float   [OK]
   scalarproduct_float_sse (failed to issue emms)
 241.556915283203 - -nan = -nan
 - float_dsp.scalarproduct_float [FAILED]
SSE2:
 - float_dsp.vector_dmul         [OK]
 - float_dsp.vector_dmac         [OK]
AVX:
 - float_dsp.vector_fmul         [OK]
 - float_dsp.vector_fmac         [OK]
 - float_dsp.vector_dmul         [OK]
 - float_dsp.vector_dmac         [OK]
checkasm: 1 of 16 tests have failed
make: *** [fate-checkasm-float_dsp] Error 1


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

While the State exists there can be no freedom; when there is freedom there
will be no State. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170429/3e027cd4/attachment.sig>


More information about the ffmpeg-devel mailing list