dmd-x64

Leandro Lucarella llucax at gmail.com
Wed Dec 23 07:19:58 PST 2009


bearophile, el 23 de diciembre a las 00:13 me escribiste:
> Compared to GCC LLVM lacks vectorization (this can be important for
> certain heavy numerical computing code), profile-guided optimization
> (this is usually less important, it's uncommon that it gives more than
> 5-25% performance improvement)

I don't know if that are accurate numbers, but 5-25% looks like a *lot* to
me.

> but it has a link-time optimizations that gcc lacks (about as important
> as profile-guided optimization or a little more).

And GCC have LTO too, see:
http://gcc.gnu.org/wiki/LinkTimeOptimization

I'm not arguing that GCC is way better than LLVM, just wanted to add some
lacking information to this thread. I really think they are very close,
sometimes one is better, sometimes the other is better), but LLVM is very
young compared to GCC so it's very promising that they are so close to GCC
in so little time (and using less memory and CPU time).

-- 
Leandro Lucarella (AKA luca)                     http://llucax.com.ar/
----------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------
If you want to be alone, just be alone
If you want to watch the sea, just watch the sea
But do it now, timing is the answer, do it now
Timing is the answer to success



More information about the Digitalmars-d mailing list