[x265] [PATCH 000 of 307 ] AVX-512 implementataion in x265: breaks 32-bit compilation

Mario Rohkrämer contact at ligh.de
Wed Apr 11 23:01:53 CEST 2018


Am 07.04.2018, 04:29 Uhr, schrieb <mythreyi at multicorewareinc.com>:

> This series of patches enables AVX-512 in x265. USe CLI option --asm  
> avx512 to enable AVX-512 kernels.
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel


Compiling x265 for Win32 target (here in MSYS2/MinGW32) is not possible  
anymore.

Assembler code was still available for 8-bit depth core, at least. But:

+----
[ 13%] Building ASM_NASM object  
common/CMakeFiles/common.dir/x86/pixel-util8.asm.obj
H:/development/media-autobuild_suite-master/build/x265-hg/source/common/x86/pixel-util8.asm:1867:  
error: invalid combination of opcode and operands
H:/development/media-autobuild_suite-master/build/x265-hg/source/common/x86/pixel-util8.asm:1880:  
error: invalid combination of opcode and operands
H:/development/media-autobuild_suite-master/build/x265-hg/source/common/x86/pixel-util8.asm:1880:  
error: invalid combination of opcode and operands
H:/development/media-autobuild_suite-master/build/x265-hg/source/common/x86/pixel-util8.asm:1880:  
error: invalid combination of opcode and operands
H:/development/media-autobuild_suite-master/build/x265-hg/source/common/x86/pixel-util8.asm:1880:  
error: invalid combination of opcode and operands
H:/development/media-autobuild_suite-master/build/x265-hg/source/common/x86/pixel-util8.asm:1941:  
error: invalid combination of opcode and operands
H:/development/media-autobuild_suite-master/build/x265-hg/source/common/x86/pixel-util8.asm:1954:  
error: invalid combination of opcode and operands
H:/development/media-autobuild_suite-master/build/x265-hg/source/common/x86/pixel-util8.asm:1954:  
error: invalid combination of opcode and operands
H:/development/media-autobuild_suite-master/build/x265-hg/source/common/x86/pixel-util8.asm:1954:  
error: invalid combination of opcode and operands
H:/development/media-autobuild_suite-master/build/x265-hg/source/common/x86/pixel-util8.asm:1954:  
error: invalid combination of opcode and operands
H:/development/media-autobuild_suite-master/build/x265-hg/source/common/x86/pixel-util8.asm:1954:  
error: invalid combination of opcode and operands
H:/development/media-autobuild_suite-master/build/x265-hg/source/common/x86/pixel-util8.asm:1954:  
error: invalid combination of opcode and operands
H:/development/media-autobuild_suite-master/build/x265-hg/source/common/x86/pixel-util8.asm:1954:  
error: invalid combination of opcode and operands
H:/development/media-autobuild_suite-master/build/x265-hg/source/common/x86/pixel-util8.asm:1954:  
error: invalid combination of opcode and operands
H:/development/media-autobuild_suite-master/build/x265-hg/source/common/x86/pixel-util8.asm:1954:  
error: invalid combination of opcode and operands
H:/development/media-autobuild_suite-master/build/x265-hg/source/common/x86/pixel-util8.asm:1954:  
error: invalid combination of opcode and operands
H:/development/media-autobuild_suite-master/build/x265-hg/source/common/x86/pixel-util8.asm:1954:  
error: invalid combination of opcode and operands
H:/development/media-autobuild_suite-master/build/x265-hg/source/common/x86/pixel-util8.asm:1954:  
error: invalid combination of opcode and operands
H:/development/media-autobuild_suite-master/build/x265-hg/source/common/x86/pixel-util8.asm:1954:  
error: invalid combination of opcode and operands
H:/development/media-autobuild_suite-master/build/x265-hg/source/common/x86/pixel-util8.asm:1954:  
error: invalid combination of opcode and operands
H:/development/media-autobuild_suite-master/build/x265-hg/source/common/x86/pixel-util8.asm:1954:  
error: invalid combination of opcode and operands
H:/development/media-autobuild_suite-master/build/x265-hg/source/common/x86/pixel-util8.asm:1954:  
error: invalid combination of opcode and operands
make[2]: *** [common/CMakeFiles/common.dir/build.make:159:  
common/CMakeFiles/common.dir/x86/pixel-util8.asm.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:449: common/CMakeFiles/common.dir/all]  
Error 2
make: *** [Makefile:130: all] Error 2
+----

Trying to compile AVX-512 instructions may have to be avoided in 32-bit  
architecture mode (because there is surely no 32-bit only CPU supporting  
this instruction set extension).

-- 

Fun and success!
Mario *LigH* Rohkrämer
mailto:contact at ligh.de


More information about the x265-devel mailing list