[FFmpeg-devel] [PATCH] ff_scalarproduct_float_sse
Uoti Urpala
uoti.urpala
Thu Jan 21 00:18:31 CET 2010
On Wed, 2010-01-20 at 14:22 -0800, Jason Garrett-Glaser wrote:
> On Wed, Jan 20, 2010 at 2:20 PM, Uoti Urpala <uoti.urpala at pp1.inet.fi> wrote:
> > I'm not sure whether yasm can be called less maintenance effort either.
> > Were the incorrect section problems in existing FFmpeg yasm parts ever
> > completely fixed? Those kinds of things just work automatically in
> > inline asm but require highly platform-specific manual work in raw
> > assembler like yasm.
>
> That sort of thing is not really a good argument though because it
> only has to be done once for all functions, not once for every
> function. The costs that matter are the development costs on a
> per-function basis; O(1) is meaningless when you have an O(n) cost.
New issues like that are rarer than new functions, but I think calling
it O(1) vs O(n) is exaggerating. And whatever macro you make up, it
won't simply "be done" for all future functions; you'd still need to be
aware of all the special cases that require using the macro and use it
when needed.
More information about the ffmpeg-devel
mailing list