C++ Expression Template Benchmarks for GCC/Clang/Intel/PGI/MSVC
Walter Landry
wlandry@caltech.edu
Thu Jun 14 22:54:00 GMT 2012
Hello Everyone,
I thought you might be interested in some C++ expression template
benchmarks I have done.
http://www.wlandry.net/Projects/FTensor#Benchmarks
I found that GCC optimized the expression template code better than
unrolling expressions by hand. In fact, GCC was far, far better at
optimizing code with expression templates than any other compiler. I
ran the same benchmarks back in 2003, and GCC has improved quite a lot
since then.
Cheers,
Walter Landry
wlandry@caltech.edu
More information about the Gcc
mailing list