[MPlayer-dev-eng] Non-inline asm code
Nick Kurshev
nickols_k at mail.ru
Sat Dec 22 16:56:59 CET 2001
Hello, Alex!
On Sat, 22 Dec 2001 16:27:36 +0100 you wrote:
> Hi,
>
> On Sat, Dec 22, 2001 at 10:03:52AM +0300, Nick Kurshev wrote:
> > Hello, Felix!
> >
> > On Fri, 21 Dec 2001 14:33:20 +0100 you wrote:
> >
> > > Hi,
> > >
> > > IMHO with replacement of libac3 the only non-inline asm code in mplayer is
> > > inside mp3lib. Now this non-inline asm code causes porting issues by
> > > differeces between symbol naming conventions between elf and eg. a.out
> > > (openbsd, still) or pe (win).
> > >
> > > If someone, maybe Nick or Michael would be able to convert mp3libs code to
> > > inline, that would be great and make the porting to eg. OpenBSD much easier.
> > > (I tried rewriting symbols with objcopy, but for mp3lib it's quite impossible
> > > .)
> > Why you need with inline code?
> > mp3lib is first mplayer's stuff which didn't required recompling to be optimized
> > for any cpu - run-time optimization selection.
>
> Becouse some compilers are using different names in asm code and c code.
> E.g.: putting a '_' prefix
>
In this case it would be better to write: kill asm stuff by "C" with inline asm.
It's no big problem - I'll do it soon (during jan-feb-2002).
I don't like function inlining and prefer call them through pointer
(for runtime support of each x86 clone - due unnecesary cache pollution).
> > > --
> > > Best Regards,
> > > Atmos
> > > ____________________________________________
> > > - MPlayer Developer - http://mplayerhq.hu/ -
> > > ____________________________________________
> > > _______________________________________________
> > > MPlayer-dev-eng mailing list
> > > MPlayer-dev-eng at mplayerhq.hu
> > > http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
> > >
> >
> >
> > Best regards! Nick
> > _______________________________________________
> > MPlayer-dev-eng mailing list
> > MPlayer-dev-eng at mplayerhq.hu
> > http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
>
> Good luck,
> alex
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
>
Best regards! Nick
More information about the MPlayer-dev-eng
mailing list