The target register of first word loaded must be marked early-clobber.
Originally committed as revision 19536 to svn://svn.ffmpeg.org/ffmpeg/trunk
| ... | ... |
@@ -78,7 +78,7 @@ static inline uint64_t AV_RL64(const void *p) |
| 78 | 78 |
union { uint64_t v; uint32_t hl[2]; } v;
|
| 79 | 79 |
__asm__ ("lwbrx %0, %y2 \n\t"
|
| 80 | 80 |
"lwbrx %1, %y3 \n\t" |
| 81 |
- : "=r"(v.hl[1]), "=r"(v.hl[0]) |
|
| 81 |
+ : "=&r"(v.hl[1]), "=r"(v.hl[0]) |
|
| 82 | 82 |
: "Z"(*(const uint32_t*)p), "Z"(*((const uint32_t*)p+1))); |
| 83 | 83 |
return v.v; |
| 84 | 84 |
} |