[FFmpeg-cvslog] r19656 - trunk/libavutil/arm/intreadwrite.h

mru subversion
Sun Aug 16 17:51:50 CEST 2009


Author: mru
Date: Sun Aug 16 17:51:50 2009
New Revision: 19656

Log:
ARM: first value loaded in AV_RN64 needs to be early-clobber

Modified:
   trunk/libavutil/arm/intreadwrite.h

Modified: trunk/libavutil/arm/intreadwrite.h
==============================================================================
--- trunk/libavutil/arm/intreadwrite.h	Sun Aug 16 17:51:47 2009	(r19655)
+++ trunk/libavutil/arm/intreadwrite.h	Sun Aug 16 17:51:50 2009	(r19656)
@@ -58,7 +58,7 @@ static inline uint64_t AV_RN64(const voi
     union { uint64_t v; uint32_t hl[2]; } v;
     __asm__ ("ldr   %0, %2  \n\t"
              "ldr   %1, %3  \n\t"
-             : "=r"(v.hl[0]), "=r"(v.hl[1])
+             : "=&r"(v.hl[0]), "=r"(v.hl[1])
              : "m"(*(const uint32_t*)p), "m"(*((const uint32_t*)p+1)));
     return v.v;
 }



More information about the ffmpeg-cvslog mailing list