[cfe-dev] food for optimizer developers

Ralf W. Grosse-Kunstleve rwgk at yahoo.com
Tue Aug 10 16:33:30 PDT 2010


Chris Lattner wrote:


> Please file a bug with the reduced .cpp testcase.

http://llvm.org/bugs/show_bug.cgi?id=7868

> What flags are you passing to the compiler?

-O3 -ffast-math

> Note that ifort defaults to "fast and loose" numerics iirc.

Which is exactly what I'm hoping to get from C++, too, one day,
if I ask for it via certain options.

I think speed will be the major argument against using the C++ code
generated by the fable converter. If the generated C++ code could somehow
be made to run nearly as fast as the original Fortran (compiled with ifort)
there wouldn't be any good reason anymore to still develop in Fortran,
or to bother with the complexities of mixing languages.

Ralf



More information about the cfe-dev mailing list