diff options
author | Ivan Kalvachev <ikalvachev@gmail.com> | 2006-02-22 10:28:44 +0000 |
---|---|---|
committer | Ivan Kalvachev <ikalvachev@gmail.com> | 2006-02-22 10:28:44 +0000 |
commit | afe6a4a0bebd4c90d0278fbbc509f6eecbee235a (patch) | |
tree | f9640e9fcfa682d8f5f2c96ec3bfa3bc47837d1b /libavutil/bswap.h | |
parent | 85ed1022b39d6df0c33c9697d993dbb3faa8af59 (diff) | |
download | ffmpeg-afe6a4a0bebd4c90d0278fbbc509f6eecbee235a.tar.gz |
Use native bswap32 instruction when __CPU__ is x86_64 instead of generic 386 code.
Originally committed as revision 5049 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/bswap.h')
-rw-r--r-- | libavutil/bswap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/bswap.h b/libavutil/bswap.h index 6454904420..25d418c693 100644 --- a/libavutil/bswap.h +++ b/libavutil/bswap.h @@ -27,7 +27,7 @@ static always_inline uint16_t bswap_16(uint16_t x) static always_inline uint32_t bswap_32(uint32_t x) { -#if __CPU__ > 386 +#if __CPU__ != 386 __asm("bswap %0": "=r" (x) : #else |