[MPlayer-dev-eng] non-free and undistributable files in tremor/

Hervé W. H.O.W.aka.V+mplayer at gmail.com
Thu Aug 3 21:58:40 CEST 2006


Hi,

On 03/08/06, Rich Felker <dalias at aerifal.cx> wrote:
> On Thu, Aug 03, 2006 at 02:08:41AM +0200, Hervé W. wrote:
> > What was configure's output for the line: "Checking for mm3dnow.h"
> > If it wasn't yes, copying the file mm3dnow.h from a gcc 4.x system (or
> > tarball or...) could cause better benchmark results for the lavc
> > decoder. Might be interesting.
>
> We should fix this senseless dependency; I didn't know about it..

mm3dnow.h is full of wrappers like:

static __inline void
_m_femms (void)
{
  __builtin_ia32_femms();
}

What solution would you suggest?
* I suppose the files depending on mm3dnow.h could use the builtins
directly, but that would be pretty ugly.
* Including mm3dnow.h in libavcodec (or something) is another, but I
don't know how that would work out license wise.
* Then there's the option of writing our own wrapping header (which
apparently was done for mmx)
* or rewriting it all in assembler instead of using builtins.

-V



More information about the MPlayer-dev-eng mailing list