[FFmpeg-devel] ASM support for MACOSX 10.5: really?
Michael Niedermayer
michaelni
Tue Mar 25 22:13:07 CET 2008
On Tue, Mar 25, 2008 at 09:48:46PM +0100, matthieu castet wrote:
> Michael Niedermayer wrote:
> > On Tue, Mar 25, 2008 at 07:04:10PM +0000, Robert Swain wrote:
> >
> > (all with -fPIC -DPIC)
> > 2.95 works
> > 3.3 works
> > 3.4 works
> > 4.0 works
> > 4.1 works
> > 4.2 5 "error: 'asm' operand has impossible constraints" nonsense
> > 4.3 3 "error: 'asm' operand has impossible constraints" nonsense
> > 4.4 3 "error: 'asm' operand has impossible constraints" nonsense
> >
> > so, if someone wants to use latestest and "greatest" gcc go report it.
> >
> > Also if someone wants to workaround it in ffmpeg, no problem, the code
> > though must not be slower!
> > The whole loop of that code should be written in a asm( ) anyway, no
> > stincky for(){asm()}.
> >
> Even better the code is most assembler and should be easily written in
> pure assembler (*.S). The tricky part could be to access global variable.
> That way no dependence on gcc.
You can write the whole function in an asm() and use MANGLE to access globals
This would be easier than .S
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Its not that you shouldnt use gotos but rather that you should write
readable code and code with gotos often but not always is less readable
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080325/a8809c96/attachment.pgp>
More information about the ffmpeg-devel
mailing list