Commit 7a286b8b authored by mru's avatar mru

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19656 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7682b960
......@@ -58,7 +58,7 @@ static inline uint64_t AV_RN64(const void *p)
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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment