aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/cpu.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2014-02-22 04:54:01 +0000
committerJanne Grunau <janne-libav@jannau.net>2014-02-23 15:29:36 +0100
commit1b932eb1508f550fac9e911923a0383efda53aa3 (patch)
tree1dadb7a0429d30648b3e22a7926bf8b1b03e4ac9 /libavutil/cpu.h
parent10b0161d78148f46eaffb29ea022378947eaef2c (diff)
downloadffmpeg-1b932eb1508f550fac9e911923a0383efda53aa3.tar.gz
x86: add detection for FMA3 instruction set
Based on x264 code Signed-off-by: James Almer <jamrial@gmail.com>
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 29036e3941..934b3be6a2 100644
--- a/libavutil/cpu.h
+++ b/libavutil/cpu.h
@@ -49,6 +49,7 @@
#define AV_CPU_FLAG_FMA4 0x0800 ///< Bulldozer FMA4 functions
#define AV_CPU_FLAG_CMOV 0x1000 ///< i686 cmov
#define AV_CPU_FLAG_AVX2 0x8000 ///< AVX2 functions: requires OS support even if YMM registers aren't used
+#define AV_CPU_FLAG_FMA3 0x10000 ///< Haswell FMA3 functions
#define AV_CPU_FLAG_ALTIVEC 0x0001 ///< standard