summaryrefslogtreecommitdiff
path: root/libavutil/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/cpu.h')
-rw-r--r--libavutil/cpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/cpu.h b/libavutil/cpu.h
index 50bdea7918..e9185f12f4 100644
--- a/libavutil/cpu.h
+++ b/libavutil/cpu.h
@@ -50,6 +50,8 @@
// #else
// #define AV_CPU_FLAG_CMOV 0x1000 ///< supports cmov instruction
// #endif
+#define AV_CPU_FLAG_AVX2 0x8000 ///< AVX2 functions: requires OS support even if YMM registers aren't used
+
#define AV_CPU_FLAG_ALTIVEC 0x0001 ///< standard