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

Michael Niedermayer michael at niedermayer.cc
Wed Apr 26 16:20:43 EEST 2017


On Tue, Apr 25, 2017 at 03:07:49PM -0300, James Almer wrote:
> On 4/11/2017 6:11 PM, 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
> 
> Ping.

fails here: (thats normal linux x86-64)

Test checkasm-float_dsp failed. Look at tests/data/fate/checkasm-float_dsp.err for details.
checkasm: using random seed 3161176361
SSE:
 - float_dsp.vector_fmul         [OK]
 - float_dsp.vector_fmac         [OK]
 - float_dsp.butterflies_float   [OK]
 256.000000000000 -  0.000000000000 =  256
   scalarproduct_float_sse (float_dsp.c:244)
 - 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

repreodueable with
make distclean ; ./configure && make -j12 fate-checkasm-float_dsp

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- 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/20170426/a5329223/attachment.sig>


More information about the ffmpeg-devel mailing list