[FFmpeg-devel] [PATCH]Drop local label from ppc asm timer
michaelni at gmx.at
Sun Jun 30 03:23:51 CEST 2013
On Sun, Jun 30, 2013 at 12:17:35AM +0000, Carl Eugen Hoyos wrote:
> Michael Niedermayer <michaelni <at> gmx.at> writes:
> > > > > Attached patch allows compilation of ppc asm
> > > > > timer on aix, the aix assembler does not
> > > > > support local labels.
> > > >
> > > > how does the compiler do if() if it has no
> > > > (local) labels ?
> > >
> > > Hm, isn't PPC a fixed-size instruction architecture?
> > > Then it can calculate the offset based on the number
> > > of instructions.
> > > But yes, seeing an if() compiled with -S to
> > > assembler code would be interesting.
> > does make ffmpeg.s or (some smalelr source file) not work ?
> > It would show the used syntax for branches and labels
> Labels are no problem for the assembler, but I
> don't think it supports local labels (that may
> be used multiple times).
then i guess your patch is ok
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
The real ebay dictionary, page 1
"Used only once" - "Some unspecified defect prevented a second use"
"In good condition" - "Can be repaird by experienced expert"
"As is" - "You wouldnt want it even if you were payed for it, if you knew ..."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel