[FFmpeg-devel] [PATCH 00/11] AVX-512 support (v.2)

James Darnley jdarnley at obe.tv
Thu Nov 9 13:58:26 EET 2017


A few changes from last time.  A couple of the patches have notes on them.

I've dropped the patch which added Nasm's smartalign feature which was causing
problems building rv34dsp.asm.  I don't know why.  Eventually I try to look at
it again.

I've also added 3 functions that acutally use ZMM registers.

Henrik Gramner (1):
  x86inc: AVX-512 support

James Darnley (10):
  configure: test whether x86 assembler supports AVX-512
  avutil: add AVX-512 flags
  avutil: detect when AVX-512 is available
  avutil: add alignment needed for AVX-512
  avcodec: add stride alignment needed for AVX-512
  checkasm: support for AVX-512 functions
  avcodec/v210enc: add AVX-512 10-bit line pack function
  avcodec/blockdsp: roll-up x86asm preprocessor loop
  avcodec/blockdsp: add AVX-512 version of clear_block(s)
  avcodec/lossless_videodsp: add AVX-512 version of add_bytes

 configure                               |   7 ++
 libavcodec/4xm.c                        |   2 +-
 libavcodec/asv.h                        |   3 +-
 libavcodec/bink.c                       |   4 +-
 libavcodec/dnxhdenc.h                   |   2 +-
 libavcodec/eamad.c                      |   2 +-
 libavcodec/eatqi.c                      |   2 +-
 libavcodec/g2meet.c                     |   2 +-
 libavcodec/internal.h                   |   4 +-
 libavcodec/ituh263dec.c                 |   2 +-
 libavcodec/mdec.c                       |   2 +-
 libavcodec/mimic.c                      |   2 +-
 libavcodec/mjpegdec.h                   |   3 +-
 libavcodec/proresdec2.c                 |   6 +-
 libavcodec/speedhq.c                    |   2 +-
 libavcodec/wmv2.h                       |   2 +-
 libavcodec/x86/blockdsp.asm             |  25 +++--
 libavcodec/x86/blockdsp_init.c          |   8 ++
 libavcodec/x86/lossless_videodsp.asm    |   5 +
 libavcodec/x86/lossless_videodsp_init.c |   5 +
 libavcodec/x86/v210enc.asm              |   5 +
 libavcodec/x86/v210enc_init.c           |   7 ++
 libavutil/cpu.c                         |   6 +-
 libavutil/cpu.h                         |   1 +
 libavutil/internal.h                    |   6 ++
 libavutil/mem.c                         |   2 +-
 libavutil/tests/cpu.c                   |   1 +
 libavutil/x86/cpu.c                     |  14 ++-
 libavutil/x86/cpu.h                     |   2 +
 libavutil/x86/x86inc.asm                | 172 ++++++++++++++++++++++++++------
 tests/checkasm/blockdsp.c               |   4 +-
 tests/checkasm/checkasm.c               |   1 +
 32 files changed, 247 insertions(+), 64 deletions(-)

-- 
2.15.0



More information about the ffmpeg-devel mailing list