[Mplayer-dev-eng] Intel C Compiler

Nick Kurshev nickols_k at mail.ru
Wed May 23 11:04:09 CEST 2001


Hello!

On Wed, 23 May 2001 01:58:05 +0200 (CEST), Arpi wrote:

>> > Just get it working, and it's great! At least for Intel CPU's (p2/p3)!
>> Would be interesting to do the same testing on AMD K6 & K7 .
>
>I'm sure in that Intel's compiler will produce slow code for AMD,
>even slower than gcc without any optim :)
>
For which reasons you need Intel C compiler?
As it was announced at 15 june should be released gcc-3.0, which will
be support mmx, sse2 optimization for C sources, which can produce
optimized code for P4 and Athlon.

IMHO Intel C and Linux project is not good idea.

>Compiled opendivx/postprocess.c with it (other files are still
>gcc-compiled), and get 20% speedup with -pp 63 (playing opendivx avi)!

It would be better to investigate what is cause of such speedup.
Sure that we can get more acceleration with gcc-3.0.
At least now you can try gcc with -09.
Also configure lacks very useful gcc keys such as:
-fschedule-insns2 (don't use -fschedule-insns. This key is buggy)
-mschedule-prologue
-momit-leaf-frame-pointer
-mmove
-fmove-all-movables
-freduce-all-givs
-fregmove
-foptimize-register-move
-fexpensive-optimizations
and probably much more.

>Maybe we should make a wrapper script which checks for at&t asm in the
>file, and uses intel compiler if possible.
>(maybe using a simple trick: put a special comment line in the first
>line of these files, for example: //--use_gcc_for_this-- )
Instead of adapting project for IntelC may be it would be better to port MPlayer under WinNT? ;)
At least it's usefully.

>Another idea: we can make precompiled binary version of mplayer using
>the trick of 'Xserver link-kit'. I mean compiling libs like libmpeg2,
>opendivx etc. for each CPU (486,586,586mmx,p2,p3,k6,k7) type, while
>keep system-dependent things (like libvo, mplayer.c etc) in source form.

Right way to do such tricks is using of shared objects instead of source form.
Lets everyone has libmpeg2.so with needed optimizations but mplayer will only
check existance of precompiled libraries in the system.

Best regards! Nick


_______________________________________________
Mplayer-dev-eng mailing list
Mplayer-dev-eng at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-dev-eng



More information about the MPlayer-dev-eng mailing list