This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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]

C++ Expression Template Benchmarks for GCC/Clang/Intel/PGI/MSVC


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


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