[FFmpeg-devel] ASM support for MACOSX 10.5: really?

matthieu castet castet.matthieu
Tue Mar 25 21:48:46 CET 2008


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.

Matthieu




More information about the ffmpeg-devel mailing list