diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-02-24 01:42:43 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-02-24 01:43:08 +0400 |
commit | d9574069c14a80944ae489b8a08876d123baa428 (patch) | |
tree | 5b534a22e9f6b9a39f503d1e4cc8670b24e8b20a /libavutil/x86/cpu.c | |
parent | 09824332534990be7d08c5cdcebdcd5926e0a739 (diff) | |
parent | 1b932eb1508f550fac9e911923a0383efda53aa3 (diff) |
Merge commit '1b932eb1508f550fac9e911923a0383efda53aa3'
* commit '1b932eb1508f550fac9e911923a0383efda53aa3':
x86: add detection for FMA3 instruction set
Conflicts:
configure
libavutil/cpu.h
libavutil/x86/cpu.c
See: a2af8eddab75f1eac712411e4dde89823c0845e8
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/x86/cpu.c')
-rw-r--r-- | libavutil/x86/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/x86/cpu.c b/libavutil/x86/cpu.c index e0b4c89062..1fd7eed483 100644 --- a/libavutil/x86/cpu.c +++ b/libavutil/x86/cpu.c @@ -133,7 +133,7 @@ int ff_get_cpu_flags_x86(void) xgetbv(0, eax, edx); if ((eax & 0x6) == 0x6) { rval |= AV_CPU_FLAG_AVX; - if (ecx&0x00001000) + if (ecx & 0x00001000) rval |= AV_CPU_FLAG_FMA3; } } |