diff options
author | James Darnley <jdarnley@obe.tv> | 2017-10-26 19:48:26 +0200 |
---|---|---|
committer | James Darnley <james.darnley@gmail.com> | 2017-12-24 22:02:41 +0100 |
commit | 8b81eabe5789105cf4dcf223c9d758ca19278cab (patch) | |
tree | c3e83e4d9a6c694ae707d42fec37d8d1008a67c6 /libavutil/x86/cpu.h | |
parent | b7a3d1f249c9da9f21d10ea9137e304961da02ba (diff) | |
download | ffmpeg-8b81eabe5789105cf4dcf223c9d758ca19278cab.tar.gz |
avutil: add AVX-512 flags
Diffstat (limited to 'libavutil/x86/cpu.h')
-rw-r--r-- | libavutil/x86/cpu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/x86/cpu.h b/libavutil/x86/cpu.h index 309b8e746c..7f4e5d08bb 100644 --- a/libavutil/x86/cpu.h +++ b/libavutil/x86/cpu.h @@ -50,6 +50,7 @@ #define X86_FMA4(flags) CPUEXT(flags, FMA4) #define X86_AVX2(flags) CPUEXT(flags, AVX2) #define X86_AESNI(flags) CPUEXT(flags, AESNI) +#define X86_AVX512(flags) CPUEXT(flags, AVX512) #define EXTERNAL_AMD3DNOW(flags) CPUEXT_SUFFIX(flags, _EXTERNAL, AMD3DNOW) #define EXTERNAL_AMD3DNOWEXT(flags) CPUEXT_SUFFIX(flags, _EXTERNAL, AMD3DNOWEXT) @@ -79,6 +80,7 @@ #define EXTERNAL_AVX2_FAST(flags) CPUEXT_SUFFIX_FAST2(flags, _EXTERNAL, AVX2, AVX) #define EXTERNAL_AVX2_SLOW(flags) CPUEXT_SUFFIX_SLOW2(flags, _EXTERNAL, AVX2, AVX) #define EXTERNAL_AESNI(flags) CPUEXT_SUFFIX(flags, _EXTERNAL, AESNI) +#define EXTERNAL_AVX512(flags) CPUEXT_SUFFIX(flags, _EXTERNAL, AVX512) #define INLINE_AMD3DNOW(flags) CPUEXT_SUFFIX(flags, _INLINE, AMD3DNOW) #define INLINE_AMD3DNOWEXT(flags) CPUEXT_SUFFIX(flags, _INLINE, AMD3DNOWEXT) |