summaryrefslogtreecommitdiff
path: root/libavutil/x86/cpu.c
Commit message (Collapse)AuthorAge
* x86 cpuid: set vendor union members separatelySean McGovern2011-12-08
| | | | | | | | | Solaris Studio (suncc) has difficulty with filling in members of a union. Instead, let's retrieve and store the cpuid() results separately. This is still a compiler bug, however this fix does not cause a regression on other platforms. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* x86: XOP/FMA4 CPU detection supportJason Garrett-Glaser2011-09-26
|
* cpu detection: avoid a signed overflowSean McGovern2011-09-03
| | | | | | 1<<31 overflows because 1 is signed, so force it to unsigned. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* cosmetics: indentationJustin Ruggles2011-03-22
|
* Add a CPU flag for the Atom processor.Justin Ruggles2011-03-22
| | | | | | | The Atom has SSSE3 support, which is useful in many cases, but sometimes the SSSE3 version is slower than the SSE2 equivalent on the Atom, but is generally faster on other processors supporting SSSE3. This flag allows for selectively disabling certain SSSE3 functions on the Atom.
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* x86: use raw opcode for xgetbv instructionMans Rullgard2011-02-20
| | | | | | | | | | This allows the CPU detection to work with assemblers not supporting the xgetbv mnemonic. These include clang and some BSD versions. All AVX code will be written for yasm, where the main assembler is not involved. Signed-off-by: Mans Rullgard <mans@mansr.com>
* x86: check for AVX supportMans Rullgard2011-02-20
| | | | | | This adds configure and runtime checks for AVX support on x86 CPUs. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add check for Athlon64 and similar AMD processors with slow SSE2.Justin Ruggles2011-02-11
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Add missing #include <string.h> in x86/cpu.cMåns Rullgård2010-09-09
| | | | Originally committed as revision 25088 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Clean up av_get_cpu_flag()Måns Rullgård2010-09-09
Instead of defining functions in per-arch header files included by the main cpu.c, define them normally and call them from the generic one. Originally committed as revision 25084 to svn://svn.ffmpeg.org/ffmpeg/trunk