Justin Ruggles
b7195837cd
Add check for Athlon64 and similar AMD processors with slow SSE2.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 74b1f96859
)
14 years ago
Måns Rullgård
65d45cea34
Add missing #include <string.h> in x86/cpu.c
...
Originally committed as revision 25088 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
9275438a19
Clean up av_get_cpu_flag()
...
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
14 years ago
Stefano Sabatini
c6c98d0897
Move mm_support() from libavcodec to libavutil, make it a public
...
function and rename it to av_get_cpu_flags().
Originally committed as revision 25076 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
7160bb716b
Rename FF_MM_ symbols related to CPU features flags as AV_CPU_FLAG_
...
symbols, and move them from libavcodec/avcodec.h to libavutil/cpu.h.
Originally committed as revision 25040 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Ronald S. Bultje
6526976f0c
Remove FF_MM_SSE2/3 flags for CPUs where this is generally not faster than
...
regular MMX code. Examples of this are the Core1 CPU. Instead, set a new flag,
FF_MM_SSE2/3SLOW, which can be checked for particular SSE2/3 functions that
have been checked specifically on such CPUs and are actually faster than
their MMX counterparts.
In addition, use this flag to enable particular VP8 and LPC SSE2 functions
that are faster than their MMX counterparts.
Based on a patch by Loren Merritt <lorenm AT u washington edu>.
Originally committed as revision 24340 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
6b4343616c
Rename FF_MM_MMXEXT to FF_MM_MMX2, for both clarity and consistency
...
with libswscale.
Originally committed as revision 18330 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
710441c2f6
Add SSE4 detection support
...
Originally committed as revision 18302 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Zuxy Meng
d05f808dc9
Remove CPUID availability check on AMD64 as it's architectural.
...
Originally committed as revision 17543 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
b250f9c66d
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
...
They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
1bb04d5a44
configure: allow to disable sse code.
...
Based on patch by Michael Kostylev <mik at it-1 dot ru>
Originally committed as revision 16490 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
a6493a8fbd
Rename libavcodec/i386/ --> libavcodec/x86/.
...
It contains optimizations that are not specific to i386 and
libavutil uses this naming scheme already.
Originally committed as revision 16270 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
35d0c2173c
Replace pushf/popf by explicit pushfl/popfl (32 bit) or pushfq/popfq (x86_64),
...
to fix generated code on ICC 11.0.
Originally committed as revision 15935 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Pettenò
be449fca79
Convert asm keyword into __asm__.
...
Neither the asm() nor the __asm__() keyword is part of the C99
standard, but while GCC accepts the former in C89 syntax, it is not
accepted in C99 unless GNU extensions are turned on (with -fasm). The
latter form is accepted in any syntax as an extension (without
requiring further command-line options).
Sun Studio C99 compiler also does not accept asm() while accepting
__asm__(), albeit reporting warnings that it's not valid C99 syntax.
Originally committed as revision 15627 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
245976da2a
Use full path for #includes from another directory.
...
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
40d0e665d0
Do not misuse long as the size of a register in x86.
...
typedef x86_reg as the appropriate size and use it instead.
Originally committed as revision 13081 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
57105ddd03
Rename i386/cputest.c --> i386/cpuid.c.
...
Originally committed as revision 13002 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
c88c253d8b
cosmetics: __asm__ __volatile__ --> asm volatile
...
Originally committed as revision 12885 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
80465c7eed
cosmetics: Fix nonstandard indentation.
...
Originally committed as revision 12863 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
b55aa9a904
get register names from x86_cpu.h
...
Originally committed as revision 12482 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
78d3d94f14
__asm __volatile -> asm volatile, improves code consistency and works
...
(as far as that is possible) with the Sun C compiler.
Originally committed as revision 12188 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
1435e4ccde
Disabling all SSE* code for old gcc to avoid alignment issues.
...
Originally committed as revision 12163 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
34933442ac
Preprocessor #defines starting with __ are reserved for the system.
...
Originally committed as revision 9251 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ronald S. Bultje
3d4e3e560f
Use FFmpeg-specific CPU feature definitions.
...
taken from a patch by Ronald S. Bultje, rbultje ronald.bitfreak net
Date: Thu, 07 Jun 2007 08:57:46 -0400
Subject: Re: [FFmpeg-devel] [PATCH] Coremake support - ffmpeg_nommx.patch (1/1)
- ffmpeg-nommx.patch (1/1) - ff-cputest-noavconfig.patch (1/1)
Originally committed as revision 9250 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ronald S. Bultje
b550bfaa61
Add libavcodec to compiler include flags in order to simplify header
...
include paths in the source files.
mostly from a patch by Ronald S. Bultje, rbultje ronald.bitfreak net
Originally committed as revision 9034 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Guillaume Poirier
5a5c770d5a
Add SSSE3 (Core2 aka Conroe/Merom/Woodcrester new instructions) detection
...
Originally committed as revision 7332 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
b78e7197a8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
...
and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
ade6e7f3ae
Compilation fix, printf gets redefined to please_use_av_log.
...
Originally committed as revision 6574 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
04d7f60143
Add official LGPL license headers to the files that were missing them.
...
Originally committed as revision 6219 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Zuxy Meng
392f6da897
Remove unused and unsupported Cyrix's "Extended MMX",
...
Add SSE3 support.
Patch by Zuxy Meng < zuxy POIS meng AH gmail POIS com >
Original thread:
04/26/06 13:13:
[Ffmpeg-devel] [PATCH] Bug fix, SSE3 support in i386/cputest.c and dsputil.h
Originally committed as revision 5326 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
bb270c0896
COSMETICS: tabs --> spaces, some prettyprinting
...
Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
115329f160
COSMETICS: Remove all trailing whitespace.
...
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
e42a152bbc
x86 cpu capabilities detection rewrite / cleanup
...
Originally committed as revision 3750 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Matthieu Castet
e7ddb0cf4c
detect sse on athlon-xp patch by (matthieu castet <castet >.< matthieu >at< free >.< fr>)
...
Originally committed as revision 3729 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Aurelien Jacobs
8b4d077fc9
gcc 3.4.3 preversions do not appreciate invalid instruction and operand combinations anymore patch by (Aurelien Jacobs <aurel at gnuage dot org>)
...
Originally committed as revision 3604 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Aurelien Jacobs
053dea12f2
adapting existing mmx/mmx2/sse/3dnow optimizations so they work on x86_64 patch by (Aurelien Jacobs <aurel at gnuage dot org>)
...
Originally committed as revision 3578 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
6206f8c920
10l and better MMX/SSE detection for VIA1000
...
Originally committed as revision 3323 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
4c99f2cdbe
transmeta crusoe mmx detection by "Nobody/Anonymous - nobody" / sf feature request tracker
...
Originally committed as revision 3248 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Francisco Javier Cabello Torres
7ca413b44a
via c3 fix patch by (Francisco Javier Cabello Torres <fjcabello at visual-tools dot com>)
...
Originally committed as revision 1285 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Francisco Javier Cabello Torres
57fc257642
via c3 detection patch by (Francisco Javier Cabello Torres <fjcabello at visual-tools dot com>)
...
Originally committed as revision 1275 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Fabrice Bellard
ff4ec49e64
license/copyright change
...
Originally committed as revision 599 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Nick Kurshev
c10e9f70c0
Portability and testing issues
...
Originally committed as revision 55 to svn://svn.ffmpeg.org/ffmpeg/trunk
24 years ago
Nick Kurshev
1d20b11aa4
Suppressing external gas stuff to improve portability to Win32
...
Originally committed as revision 33 to svn://svn.ffmpeg.org/ffmpeg/trunk
24 years ago
Fabrice Bellard
96f4e5135c
added external cpuid code to solve -fPIC and gcc unclear constraints problems
...
Originally committed as revision 25 to svn://svn.ffmpeg.org/ffmpeg/trunk
24 years ago
Fabrice Bellard
a9e3707d6b
fixed cpuid macro to allow PIC compiling
...
Originally committed as revision 10 to svn://svn.ffmpeg.org/ffmpeg/trunk
24 years ago
Fabrice Bellard
de6d9b6404
Initial revision
...
Originally committed as revision 5 to svn://svn.ffmpeg.org/ffmpeg/trunk
24 years ago