[Ffmpeg-cvslog] CVS: ffmpeg/libavutil bswap.h,1.12,1.13

Ivan Kalvachev CVS iive
Wed Feb 22 11:28:46 CET 2006


Update of /cvsroot/ffmpeg/ffmpeg/libavutil
In directory mail:/var2/tmp/cvs-serv12847

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/ffmpeg/ffmpeg/libavutil/bswap.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- bswap.h	22 Dec 2005 01:10:11 -0000	1.12
+++ bswap.h	22 Feb 2006 10:28:44 -0000	1.13
@@ -27,7 +27,7 @@
 
 static always_inline uint32_t bswap_32(uint32_t x)
 {
-#if __CPU__ > 386
+#if __CPU__ != 386
  __asm("bswap   %0":
       "=r" (x)     :
 #else





More information about the ffmpeg-cvslog mailing list