[FFmpeg-cvslog] Drop local lable from ppc asm timer.

Carl Eugen Hoyos git at videolan.org
Sun Jun 30 21:24:26 CEST 2013


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Sun Jun 30 13:31:25 2013 +0200| [6258e86d4b1c22fd34cd1cc60ba72b0871bee7de] | committer: Carl Eugen Hoyos

Drop local lable from ppc asm timer.

The aix assembler does not support local lables.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6258e86d4b1c22fd34cd1cc60ba72b0871bee7de
---

 libavutil/ppc/timer.h |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/libavutil/ppc/timer.h b/libavutil/ppc/timer.h
index 155fc01..9ade7f5 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");



More information about the ffmpeg-cvslog mailing list