# HG changeset patch # User alpar # Date 1091645772 0 # Node ID 2471ef33b4a02c4a829fb96a72a46d910e0678cd # Parent f5382a084c0762006fdff2890f390a21f1fdcc7b Test icc compiler as well. diff -r f5382a084c07 -r 2471ef33b4a0 src/benchmark/benchmark --- a/src/benchmark/benchmark Wed Aug 04 18:55:24 2004 +0000 +++ b/src/benchmark/benchmark Wed Aug 04 18:56:12 2004 +0000 @@ -3,8 +3,8 @@ function runtest () # prefix, prog, args { echo $1 1>&2 - $2 $3 $4 $5 $6 $7 $8 $9; - for ((i=1;i<=5;i++)) + $2 $3 $4 $5 $6 $7 $8 $9 >/dev/null; + for ((i=1;i<=3;i++)) do $2 $3 $4 $5 $6 $7 $8 $9; done | @@ -18,6 +18,8 @@ make CXX="$2" CXXFLAGS="$3" >/dev/null { runtest HCUBE19 hcube 19 + runtest BFS13-5000 hcube 13 5000 + runtest BFS10-50000 hcube 10 50000 runtest GRBENCH graph-bench } | awk "{print \$0, \"$1\"}" } @@ -31,4 +33,9 @@ runalltest "gcc-3.4 -O2-march=pentium-m" g++-3.4 "-O2 -march=pentium-m" runalltest "gcc-3.4 -O3" g++-3.4 "-O3" runalltest "gcc-3.4 -O3-march=pentium-m" g++-3.4 "-O3 -march=pentium-m" + +runalltest "icc -O2" icc "-O2" +runalltest "icc -O2-march=pentium-m" icc "-O2 -march=pentium-m" +runalltest "icc -O3" icc "-O3" +runalltest "icc -O3-march=pentium-m" icc "-O3 -march=pentium-m"