changeset 765:2d52bcf3e4e6 libavutil

ARM: first value loaded in AV_RN64 needs to be early-clobber
author mru
date Sun, 16 Aug 2009 15:51:50 +0000
parents c86488f7f319
children 2ddfead60392
files arm/intreadwrite.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/arm/intreadwrite.h	Thu Aug 13 18:47:13 2009 +0000
+++ b/arm/intreadwrite.h	Sun Aug 16 15:51:50 2009 +0000
@@ -58,7 +58,7 @@
     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;
 }