diff options
author | Guillaume Poirier <gpoirier@mplayerhq.hu> | 2006-10-20 17:53:19 +0000 |
---|---|---|
committer | Guillaume Poirier <gpoirier@mplayerhq.hu> | 2006-10-20 17:53:19 +0000 |
commit | 94e4c3a333c50170c6645bc5ea43578270249644 (patch) | |
tree | 81525c5539104e97b4987d37cb67fe3064ee4f55 /libavutil/internal.h | |
parent | 4c8d81fa2d21ec9d21a5ab6dbbdeded9be140a17 (diff) | |
download | ffmpeg-94e4c3a333c50170c6645bc5ea43578270249644.tar.gz |
Protect code that uses CMOV instructions with HAVE_CMOV,
Make configure set CMOV_IS_FAST on arches on which cmov has a low latency
(typically non-Netburst based processor)
Originally committed as revision 6749 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/internal.h')
-rw-r--r-- | libavutil/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/internal.h b/libavutil/internal.h index 29e4cc8fff..285d30457f 100644 --- a/libavutil/internal.h +++ b/libavutil/internal.h @@ -168,7 +168,7 @@ static inline int ff_sqrt(int a) level= (level^mask)-mask; #endif -#if __CPU__ >= 686 && !defined(RUNTIME_CPUDETECT) +#ifdef HAVE_CMOV #define COPY3_IF_LT(x,y,a,b,c,d)\ asm volatile (\ "cmpl %0, %3 \n\t"\ |