Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2014-02-22 09:47:01 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-02-22 20:25:52 +0400
commita2af8eddab75f1eac712411e4dde89823c0845e8 (patch)
treef2ba681511f1d83bcac6fb75c45d187f81fde690 /libavutil/cpu.h
parentf98821dddb4abb3764fc2f22a6afe3eb11292d3c (diff)
x86: add detection for FMA3 instruction set
Based on x264 code Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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 55c3ec9a06..1d0293fed3 100644
--- a/libavutil/cpu.h
+++ b/libavutil/cpu.h
@@ -51,6 +51,7 @@
// #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_FMA3 0x10000 ///< Haswell FMA3 functions
#define AV_CPU_FLAG_ALTIVEC 0x0001 ///< standard