[MPlayer-cvslog] r38366 - trunk/configure

reimar subversion at mplayerhq.hu
Fri Apr 29 22:00:01 EEST 2022


Author: reimar
Date: Fri Apr 29 22:00:01 2022
New Revision: 38366

Log:
configure: Add AVX512ICL to fix FFmpeg compilation.

Also add a proper check for AVX512 (even though
it's fairly irrelevant for MPlayer).

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Sun Apr 17 21:15:10 2022	(r38365)
+++ trunk/configure	Fri Apr 29 22:00:01 2022	(r38366)
@@ -647,7 +647,8 @@ _sse4_1=auto
 _sse4_2=auto
 _avx=auto
 _avx2=auto
-_avx512=no
+_avx512=auto
+_avx512icl=auto
 _xop=auto
 _fma3=auto
 _fma4=auto
@@ -2139,6 +2140,8 @@ EOF
   extcheck $_sse4_2   'sse4_2'   'pcmpgtq %%xmm0, %%xmm0'
   extcheck $_avx      'avx'      'vpabsw %%xmm0, %%xmm0'
   extcheck $_avx2     'avx2'     'vextracti128 $0, %%ymm0, %%xmm0'
+  extcheck $_avx512   'avx512'   'vmovdqa32 [eax]{k1}{z}, zmm0'
+  extcheck $_avx512icl 'avx512icl' 'vpdpwssds zmm31{k1}{z}, zmm29, zmm28'
   extcheck $_xop      'xop'      'vpmacsdd %%xmm0, %%xmm1, %%xmm2, %%xmm3'
   extcheck $_fma3     'fma3'     'vfmadd132ps %%ymm0, %%ymm1, %%ymm2'
   extcheck $_fma4     'fma4'     'vfmaddps %%ymm0, %%ymm1, %%ymm2, %%ymm3'
@@ -3409,7 +3412,7 @@ if arm ; then
 fi
 
 intrinsics="none"
-cpuexts_all='ALTIVEC XOP AVX AVX2 AVX512 FMA3 FMA4 MMX MMX2 MMXEXT AMD3DNOW AMD3DNOWEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE42 FAST_CMOV I686 FAST_CLZ ARMV5TE ARMV6 ARMV6T2 ARMV8 VFP VFPV3 SETEND NEON INTRINSICS_NEON IWMMXT MMI VIS MVI'
+cpuexts_all='ALTIVEC XOP AVX AVX2 AVX512 AVX512ICL FMA3 FMA4 MMX MMX2 MMXEXT AMD3DNOW AMD3DNOWEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE42 FAST_CMOV I686 FAST_CLZ ARMV5TE ARMV6 ARMV6T2 ARMV8 VFP VFPV3 SETEND NEON INTRINSICS_NEON IWMMXT MMI VIS MVI'
 test "$_altivec"   = yes && cpuexts="ALTIVEC $cpuexts"
 test "$_mmx"       = yes && cpuexts="MMX $cpuexts"
 test "$_mmxext"    = yes && cpuexts="MMX2 $cpuexts"
@@ -3425,6 +3428,7 @@ test "$_sse4_2"    = yes && cpuexts="SSE
 test "$_avx"       = yes && cpuexts="AVX $cpuexts"
 test "$_avx2"      = yes && cpuexts="AVX2 $cpuexts"
 test "$_avx512"    = yes && cpuexts="AVX512 $cpuexts"
+test "$_avx512icl" = yes && cpuexts="AVX512ICL $cpuexts"
 test "$_xop"       = yes && cpuexts="XOP $cpuexts"
 test "$_fma3"      = yes && cpuexts="FMA3 $cpuexts"
 test "$_fma4"      = yes && cpuexts="FMA4 $cpuexts"


More information about the MPlayer-cvslog mailing list