Merge remote-tracking branch 'newdev/master'
Add a CPU flag for the Atom processor.
The Atom has SSSE3 support, which is useful in many cases, but sometimes theSSSE3 version is slower than the SSE2 equivalent on the Atom, but is generallyfaster on other processors supporting SSSE3. This flag allows for selectively...
Replace FFmpeg with Libav in licence headers
Signed-off-by: Mans Rullgard <firstname.lastname@example.org>
x86: use raw opcode for xgetbv instruction
This allows the CPU detection to work with assemblers not supportingthe xgetbv mnemonic. These include clang and some BSD versions.
All AVX code will be written for yasm, where the main assembleris not involved....
x86: check for AVX support
This adds configure and runtime checks for AVX support on x86 CPUs.
Signed-off-by: Mans Rullgard <email@example.com>(cherry picked from commit 87f1355f9b4fc11414d0e6a91404203c2745f89f)
Add check for Athlon64 and similar AMD processors with slow SSE2.
Signed-off-by: Ronald S. Bultje <firstname.lastname@example.org>(cherry picked from commit 74b1f96859eb967222fcb3eb4c72d949b5165a89)
Signed-off-by: Ronald S. Bultje <email@example.com>
Add missing #include <string.h> in x86/cpu.c
Originally committed as revision 25088 to svn://svn.ffmpeg.org/ffmpeg/trunk
Clean up av_get_cpu_flag()
Instead of defining functions in per-arch header files includedby the main cpu.c, define them normally and call them from thegeneric one.
Originally committed as revision 25084 to svn://svn.ffmpeg.org/ffmpeg/trunk