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

2018-04-11 Thread Praveen Tiwari
Thanks for reporting, we are looking at the issue, will send a fix soon.

Regards,
Praveen Tiwari

On Thu, Apr 12, 2018 at 2:31 AM, Mario Rohkrämer  wrote:

> Am 07.04.2018, 04:29 Uhr, schrieb :
>
> 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@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/x
> 86/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:cont...@ligh.de
> ___
> x265-devel mailing list
> x265-devel@videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>
___
x265-devel mailing list
x265-devel@videolan.org
https://mailman.videolan.org/listinfo/x265-devel


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

2018-04-11 Thread Mario Rohkrämer

Am 07.04.2018, 04:29 Uhr, schrieb :

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@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:cont...@ligh.de
___
x265-devel mailing list
x265-devel@videolan.org
https://mailman.videolan.org/listinfo/x265-devel