Mercurial > libavutil.hg
changeset 759:fd032514a113 libavutil
PPC: fix asm operand constraints in AV_RL64
The target register of first word loaded must be marked early-clobber.
author | mru |
---|---|
date | Wed, 29 Jul 2009 19:06:55 +0000 |
parents | 22a58fc2125d |
children | 3412528f4de7 |
files | ppc/intreadwrite.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ppc/intreadwrite.h Sun Jul 26 12:20:04 2009 +0000 +++ b/ppc/intreadwrite.h Wed Jul 29 19:06:55 2009 +0000 @@ -78,7 +78,7 @@ union { uint64_t v; uint32_t hl[2]; } v; __asm__ ("lwbrx %0, %y2 \n\t" "lwbrx %1, %y3 \n\t" - : "=r"(v.hl[1]), "=r"(v.hl[0]) + : "=&r"(v.hl[1]), "=r"(v.hl[0]) : "Z"(*(const uint32_t*)p), "Z"(*((const uint32_t*)p+1))); return v.v; }