[MPlayer-dev-eng] [PATCH] Disable optimizations when compiling with icc23
Reimar Doeffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Sun Jun 10 22:20:00 CEST 2007
Hello,
On Sun, Jun 10, 2007 at 08:07:24PM +0000, Carl Eugen Hoyos wrote:
> Reimar Doeffinger <Reimar.Doeffinger <at> stud.uni-karlsruhe.de> writes:
[...]
> > > > IMO print a big warning that recommends using --target=generic-linux
> > >
> > > How should target=generic-linux help? Would that deactivate optimizations in
> > > libswscale, liba52 and mp3lib?
> >
> > It will just behave as if you were compiling MPlayer on some unknown
> > architecture. That means pure C code. It might be suboptimal because it
> > will also not set e.g. FAST_UNALIGNED.
>
> I understand your point now insofar as target=generic-linux actually disables
> mmx etc. But since it also disables win32 libs (and others as you mentioned),
> it's definitely the worse option.
Hm... but at least with --enable-win32 it should still work.
> Additionally, it does not help with liba52 and mp3lib.
Hmm... why not? I was quite certain I could compile with that as the
only configure option...
> I think icc might be a good alternative and if we don't start to support it
> (even if not working perfectly) we'll never get it working.
But I'd prefer if nobody can accidentially make an mplayer build that
sucks because of some unfinished support. Also disabling MMX etc. seems
to me more like the road to never get it working properly and
considering it good enough just because it compiles.
Greetings,
Reimar Doeffinger
More information about the MPlayer-dev-eng
mailing list