changeset 29:68bda919ab25 libavutil

Use native bswap32 instruction when __CPU__ is x86_64 instead of generic 386 code.
author iive
date Wed, 22 Feb 2006 10:28:44 +0000
parents 07191bec33a2
children 664e2d2b92b9
files bswap.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bswap.h	Mon Feb 13 12:53:25 2006 +0000
+++ b/bswap.h	Wed Feb 22 10:28:44 2006 +0000
@@ -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