[FFmpeg-devel] [PATCH v4] mdct15: add assembly optimizations for the 15-point FFT

Henrik Gramner henrik at gramner.com
Fri Jun 23 23:25:31 EEST 2017


On Fri, Jun 23, 2017 at 10:18 PM, Michael Niedermayer
<michael at niedermayer.cc> wrote:
> seems to fail to build here:
>
> libavcodec/x86/mdct15.asm:116: error: invalid combination of opcode and operands
> libavcodec/x86/mdct15.asm:117: error: invalid combination of opcode and operands
> libavcodec/x86/mdct15.asm:118: error: invalid combination of opcode and operands
> make: *** [libavcodec/x86/mdct15.o] Error 1
>
> X86ASM=nasm
>
> nasm -v
> NASM version 2.10.09 compiled on Dec 29 2013

Oh right, older nasm versions (and maybe yasm?) have a problem with
contracted forms of some instructions.

I believe vinsertf128 is one of them, if so you need to use the 4-arg version.

E.g. vinsertf128 ymm1, ymm2, xmm3/m128, imm8


More information about the ffmpeg-devel mailing list