[FFmpeg-devel] [PATCH]Drop local label from ppc asm timer
Carl Eugen Hoyos
cehoyos at ag.or.at
Sat Jun 29 19:28:06 CEST 2013
Reimar Döffinger <Reimar.Doeffinger <at> gmx.de> writes:
> > __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");
>
> Looking at this:
> http://www.ibm.com/developerworks/aix/library/au-inline_assembly/
I had read this first and had tried to replace 1
with 0 but then I found the following:
http://lists.gnu.org/archive/html/qemu-devel/2008-11/msg00990.html
I now tested compiling the following:
__asm__ volatile(
"0:\n"
"mftbu %2\n"
"mftb %0\n"
"mftbu %1\n"
"cmpw %2,%1\n"
"bne $-0x10\n"
CC libavutil/random_seed.o
Assembler:
/tmp//cctD6YXl.s: line 565: 1252-142 Syntax error.
/tmp//cctD6YXl.s: line 588: 1252-142 Syntax error.
gmake: *** [libavutil/random_seed.o] Error 1
Carl Eugen
More information about the ffmpeg-devel
mailing list