[MPlayer-cvslog] CVS: main bswap.h,1.6,1.7

Ivan Kalvachev CVS syncmail at mplayerhq.hu
Wed Feb 22 11:30:58 CET 2006


CVS change done by Ivan Kalvachev CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv12963

Modified Files:
	bswap.h 
Log Message:
Use native bswap32 instruction when __CPU__ is x86_64 instead of generic 386 code


Index: bswap.h
===================================================================
RCS file: /cvsroot/mplayer/main/bswap.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- bswap.h	13 Jul 2005 17:24:41 -0000	1.6
+++ bswap.h	22 Feb 2006 10:30:55 -0000	1.7
@@ -25,7 +25,7 @@
 
 static inline uint32_t ByteSwap32(uint32_t x)
 {
-#if __CPU__ > 386
+#if __CPU__ != 386
  __asm("bswap	%0":
       "=r" (x)     :
 #else




More information about the MPlayer-cvslog mailing list