aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/ppc
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2013-06-30 13:31:25 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2013-06-30 13:47:44 +0200
commit6258e86d4b1c22fd34cd1cc60ba72b0871bee7de (patch)
treee0d857f9b8535b27b76868a750c24a698227316f /libavutil/ppc
parent06549cee42819c2bef58bd123cd0ac9d916244f2 (diff)
downloadffmpeg-6258e86d4b1c22fd34cd1cc60ba72b0871bee7de.tar.gz
Drop local lable from ppc asm timer.
The aix assembler does not support local lables.
Diffstat (limited to 'libavutil/ppc')
-rw-r--r--libavutil/ppc/timer.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavutil/ppc/timer.h b/libavutil/ppc/timer.h
index 155fc01507..9ade7f5d03 100644
--- a/libavutil/ppc/timer.h
+++ b/libavutil/ppc/timer.h
@@ -31,12 +31,11 @@ static inline uint64_t read_time(void)
/* from section 2.2.1 of the 32-bit PowerPC PEM */
__asm__ volatile(
- "1:\n"
"mftbu %2\n"
"mftb %0\n"
"mftbu %1\n"
"cmpw %2,%1\n"
- "bne 1b\n"
+ "bne $-0x10\n"
: "=r"(tbl), "=r"(tbu), "=r"(temp)
:
: "cc");