[FFmpeg-devel] [RFC] replace some static with asm_visibility or so

Uoti Urpala uoti.urpala
Sun Jan 27 15:59:28 CET 2008

On Sun, 2008-01-27 at 15:53 +0100, Reimar D?ffinger wrote:
> Hello,8 at 03:10:39PM +0100, Reimar D?ffinger wrote:
> > as you may know current code does not compile with ICC and assembler due
> > to it optimizing away all the constants.

> On second though, something like
> #define DECLARE_ASM_CONST(n,t,v) static const t v attribute_used __attribute__ ((aligned (n)))
> might work out nicer (less clutter).
> Also makes sure nobody uses something global, non-const from asm code without
> thinking.
> Opinions, alternatives?

The "right" way to fix it would of course be to use proper asm

More information about the ffmpeg-devel mailing list