aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/cpu.h
diff options
context:
space:
mode:
authorJames Darnley <jdarnley@obe.tv>2017-10-26 19:48:26 +0200
committerJames Darnley <james.darnley@gmail.com>2017-12-24 22:02:41 +0100
commit8b81eabe5789105cf4dcf223c9d758ca19278cab (patch)
treec3e83e4d9a6c694ae707d42fec37d8d1008a67c6 /libavutil/cpu.h
parentb7a3d1f249c9da9f21d10ea9137e304961da02ba (diff)
downloadffmpeg-8b81eabe5789105cf4dcf223c9d758ca19278cab.tar.gz
avutil: add AVX-512 flags
Diffstat (limited to 'libavutil/cpu.h')
-rw-r--r--libavutil/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/cpu.h b/libavutil/cpu.h
index 9e5d40affe..8bb9eb606b 100644
--- a/libavutil/cpu.h
+++ b/libavutil/cpu.h
@@ -55,6 +55,7 @@
#define AV_CPU_FLAG_FMA3 0x10000 ///< Haswell FMA3 functions
#define AV_CPU_FLAG_BMI1 0x20000 ///< Bit Manipulation Instruction Set 1
#define AV_CPU_FLAG_BMI2 0x40000 ///< Bit Manipulation Instruction Set 2
+#define AV_CPU_FLAG_AVX512 0x100000 ///< AVX-512 functions: requires OS support even if YMM/ZMM registers aren't used
#define AV_CPU_FLAG_ALTIVEC 0x0001 ///< standard
#define AV_CPU_FLAG_VSX 0x0002 ///< ISA 2.06