From bba0ade10000b803a5739c3696a86fcd83e4a78c Mon Sep 17 00:00:00 2001 From: iive Date: Wed, 22 Feb 2006 10:30:55 +0000 Subject: Use native bswap32 instruction when __CPU__ is x86_64 instead of generic 386 code git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17665 b3059339-0415-0410-9bf9-f77b7e298cf2 --- bswap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bswap.h') diff --git a/bswap.h b/bswap.h index 16e488b149..87cdeb856a 100644 --- a/bswap.h +++ b/bswap.h @@ -25,7 +25,7 @@ static inline uint16_t ByteSwap16(uint16_t x) static inline uint32_t ByteSwap32(uint32_t x) { -#if __CPU__ > 386 +#if __CPU__ != 386 __asm("bswap %0": "=r" (x) : #else -- cgit v1.2.3