[MPlayer-users] intel cc bench
Arpi
arpi at thot.banki.hu
Sun Nov 25 22:20:05 CET 2001
Hi,
You were right, now icc is downloadable and freely usable (unlimite dtime)
for non-commercial projects.
gcc: gcc version 2.95.3 20010315 (release)
icc: Intel(R) C++ Compiler for 32-bit applications, Version 5.0.1 Build 010730D0
system: celeron-2 800 @ 1066, 256mb pc133 sdram. intel bx 440 chipset.
i've only recompiled a few .c files in libavcodec dir, and compared to
fully-gcc code: (i386/* and imgresample.c are still gcc compiled)
results:
File: /3d/divx/Coyote.Ugly.Sample-highbitrate-atmos.avi
VIDEO: [DIV3] 640x480 24bpp 25.00 fps 1867.1 kbps (227.9 kbyte/s)
FFmpeg-gcc : 12.224s 12.195s
FFmpeg-icc : 11.678s 11.651s
File: /3d/divx/sample.light.it.up.avi
VIDEO: [DIV3] 640x352 24bpp 23.98 fps 823.5 kbps (100.5 kbyte/s)
FFmpeg-gcc : 8.814s 8.755s
FFmpeg-icc : 8.420s 8.390s
File: /3b/Star_Wars_Episode_1.avi
VIDEO: [DIV3] 720x576 24bpp 25.00 fps 1858.5 kbps (226.9 kbyte/s)
FFmpeg-gcc : 44.583s 44.702s
FFmpeg-icc : 42.876s 42.889s
So, icc gained another 5% speedup for us. Just optimizing C code of codec.
I like icc, but it has a big problem: it crashes on several files, even in
mplayer source, and has problems with gcc inline asm. so it's impossible (at
least really hard) to make icc-only mplayer binary.
But people who need that 5% (or more) speedup still can try it.
Another thing to check:
they released several libraries containing highly-optimized code for intel
cpus.
there are image processing and signal processing libs too, i think they have
fast dct and such stuff inside, like solaris' mlib.
i didn't checked it, and they are in .exe format (i think SFX), but we could
request for linux version.
A'rpi / Astral & ESP-team
--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu
More information about the MPlayer-users
mailing list