[MPlayer-dev-eng] gcc 3
Arpi
arpi at thot.banki.hu
Tue Jan 29 01:28:06 CET 2002
Hi,
Just compiled gcc 3.0.3 and made a few tests:
/3a/MPlayer/benchmark/testsuite2/405divx_sm_v2[1].avi
VIDEO: [DIV3] 356x240 24bpp 30.00 fps 343.0 kbps (41.9 byte/s)
GCC 2.95.3 : 4.266s 4.267s 4.260s 4.272s
GCC 3.0.3 : 4.160s 4.175s 4.162s 4.153s
/3a/MPlayer/benchmark/testsuite2/Coyote.Ugly.Sample-highbitrate-atmos.avi
VIDEO: [DIV3] 640x480 24bpp 25.00 fps 1867.1 kbps (227.9 kbyte/s)
GCC 2.95.3 : 6.072s 6.039s 6.019s 6.004s
GCC 3.0.3 : 5.819s 5.812s 5.824s 5.828s
so, gcc 3.0.3 creates ~3% faster code (ffdivx codec).
Now, let's see the mplayer compiling time:
gcc 2.95.3 (compiled for i383, original from Slackware 8)
real 1m1.432s
user 0m57.250s
sys 0m2.950s
gcc 3.0.3 (compiled with -O4 -mcpu=i686 -march=i686)
real 1m15.666s
user 1m11.050s
sys 0m3.290s
so, the optimized gcc3 is still much (~25%) slower than good old gcc 2.95
btw, if we see that gcc3 used extra 14 seconds to optimize 3% on the code,
it's somehow cool, compared to Michael's performance :)
just joking...
A'rpi / Astral & ESP-team
--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu
More information about the MPlayer-dev-eng
mailing list