[FFmpeg-devel] libavcodec/lossless_videodsp : add add_bytes AVX2

Martin Vignali martin.vignali at gmail.com
Sat Oct 21 22:53:20 EEST 2017


In attach patch to add AVX2 version for add_bytes

0001-libavcodec-lossless_videodsp-add-add_bytes-avx2-vers :
add AVX2 version

pass fate-test for me (os 10.12, x86_64)

checkasm result : (Kaby Lake) (run 10 times, and i took the fastest version)
checkasm: all 2 tests passed
add_bytes_c: 108.7
add_bytes_sse2: 26.5
add_bytes_avx2: 15.5

only cosmetic
like the ref c function declaration in asm file is not consistent between
each asm file
i think a better separator for each function make the file easier to read

also add the c declaration for add bytes in comment

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libavcodec-lossless_videodsp-add-add_bytes-avx2-vers.patch
Type: application/octet-stream
Size: 2317 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171021/c620fb35/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-libavcodec-lossless_video_dsp-cosmetic-add-better-se.patch
Type: application/octet-stream
Size: 2449 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171021/c620fb35/attachment-0001.obj>

More information about the ffmpeg-devel mailing list