This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Results for g++ 3.1 application testing on i686-pc-linux-gnu


There are still problems with the optimizer. Higher optimization
levels lead to a pessimization with respect to -O in some cases,
confer the results for the Stepanov and the oopack tests. This is a
regression with respect to gcc 2.95.

Here are the results:

current boost cvs:
All tests pass.

blitz-20001213:
Compiling wei-ku-1.cpp crashes the compiler when
optimization is on. Cf. PR c++/5504 (gcc 3.0 regression).

root_v3.03.02:
Everything works, except for test/bench.cxx, as for gcc 3.0.

pooma-gcc:
No problems detected. All tests pass.

Code from Josuttis' Book "The C++ Standard Library":

Everything works fine, except for the unresolved state of PR libstc++/5133.

stepanov_v1p2.C:

-O0
Abstraction Penalty: 8.54
-O
Abstraction Penalty: 1.03
-O2
Abstraction Penalty: 1.27
-O3
Abstraction Penalty: 1.26
-O2  -finline-limit=10000
Abstraction Penalty: 1.26
-O2  -finline-limit=100000
Abstraction Penalty: 1.27

OOPACK Version 1.7:
Max=100000 Matrix=1000 Complex=100000 Iterator=100000

-O
                         Seconds       Mflops
Test       Iterations     C    OOP     C    OOP  Ratio
----       ----------  -----------  -----------  -----
Max            100000    1.6   2.0   61.3  48.8    1.3
Matrix           1000    3.5   4.0   71.0  63.3    1.1
Complex        100000    9.4  17.8   84.7  44.9    1.9
Iterator       100000    1.0   2.0  192.3 100.5    1.9

-O2
                         Seconds       Mflops
Test       Iterations     C    OOP     C    OOP  Ratio
----       ----------  -----------  -----------  -----
Max            100000    1.9   2.0   51.3  51.0    1.0
Matrix           1000    2.0   2.1  125.6 120.8    1.0
Complex        100000    9.4  25.8   85.1  31.0    2.7
Iterator       100000    1.1   1.3  181.8 158.7    1.1

mtl-2.1.2-20:
No problems detected, after applying patches for missing typename
warnings.

STLport-4.5.3/STLport-5.0-0409
No problems detected. All tests pass.

FTensor--main--1.1--patch-16:
No problems detected. All tests pass. Works for the first time.
Compiling some files from the conformance/T4ddg directory takes longer
than half an hour, though (test_T4ddg.C, test_T4ddgV.C). Compiling a
source file from the other directories takes less than a minute.

ACE 5.2.1:
No problems detected. All tests pass.

System setup:
SuSE 7.3
Glibc 2.2.4 + patches
Linux 2.4.18
GNU ld version 020414 20020414
g++ -v
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.1/specs
Configured with: ../gcc/configure --enable-shared --disable-nls --enable-threads=posix --enable-languages=c,c++,f77,objc
Thread model: posix
gcc version 3.1 20020418 (prerelease)

Hope this helps,

Peter Schmid


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]