[FFmpeg-devel] checkasm/vf_hflip : add test for vf_hflip SIMD

Martin Vignali martin.vignali at gmail.com
Sat Dec 9 16:46:48 EET 2017

> > Do you test on X86_32 or x86_64 ?
> failure occurs on both
> > Nasm or Yasm ?
> NASM version 2.10.09 compiled on Dec 29 2013
> I try to compile with the same nasm version (on os X, X86_64)
using --x86asmexe=nasm_exe_path2.10rc9 in the configure

And the checkasm also pass

./tests/checkasm/checkasm --test=vf_hflip --bench --seed 1616253308
benchmarking with native FFmpeg timers
nop: 34.9
checkasm: using random seed 1616253308
 - vf_hflip.hflip_byte  [OK]
 - vf_hflip.hflip_short [OK]
checkasm: all 2 tests passed
hflip_byte_c: 28.0
hflip_byte_ssse3: 27.0
hflip_short_c: 277.7
hflip_short_ssse3: 71.0

Any ideas, why it fail for you ?

In attach new patch (who probably doesn't fix the problem in your sandybox)
001 : unchanged
002 : add test for various width, change bench new, to use w variable
and remove the fate-checkasm.

Don't know if it's ok, to add a checkasm, without adding it to
fate/checkasm (because it fails).
It's convenient to have this kind of test to improve the asm (instead of
not having a test at all)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-avfilter-vf_hflip-move-context-func-init-in.patch
Type: application/octet-stream
Size: 2199 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171209/22922ce8/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-checkasm-vf_hflip-add-test-for-vf_hflip-byte-and-sho.patch
Type: application/octet-stream
Size: 4655 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171209/22922ce8/attachment-0001.obj>

More information about the ffmpeg-devel mailing list