Test icc compiler as well.
1.1 --- a/src/benchmark/benchmark Wed Aug 04 18:55:24 2004 +0000
1.2 +++ b/src/benchmark/benchmark Wed Aug 04 18:56:12 2004 +0000
1.3 @@ -3,8 +3,8 @@
1.4 function runtest () # prefix, prog, args
1.5 {
1.6 echo $1 1>&2
1.7 - $2 $3 $4 $5 $6 $7 $8 $9;
1.8 - for ((i=1;i<=5;i++))
1.9 + $2 $3 $4 $5 $6 $7 $8 $9 >/dev/null;
1.10 + for ((i=1;i<=3;i++))
1.11 do
1.12 $2 $3 $4 $5 $6 $7 $8 $9;
1.13 done |
1.14 @@ -18,6 +18,8 @@
1.15 make CXX="$2" CXXFLAGS="$3" >/dev/null
1.16 {
1.17 runtest HCUBE19 hcube 19
1.18 + runtest BFS13-5000 hcube 13 5000
1.19 + runtest BFS10-50000 hcube 10 50000
1.20 runtest GRBENCH graph-bench
1.21 } | awk "{print \$0, \"$1\"}"
1.22 }
1.23 @@ -31,4 +33,9 @@
1.24 runalltest "gcc-3.4 -O2-march=pentium-m" g++-3.4 "-O2 -march=pentium-m"
1.25 runalltest "gcc-3.4 -O3" g++-3.4 "-O3"
1.26 runalltest "gcc-3.4 -O3-march=pentium-m" g++-3.4 "-O3 -march=pentium-m"
1.27 +
1.28 +runalltest "icc -O2" icc "-O2"
1.29 +runalltest "icc -O2-march=pentium-m" icc "-O2 -march=pentium-m"
1.30 +runalltest "icc -O3" icc "-O3"
1.31 +runalltest "icc -O3-march=pentium-m" icc "-O3 -march=pentium-m"
1.32