clang vs free software

Chris Lattner clattner@apple.com
Thu Jan 23 23:05:00 GMT 2014


On Jan 23, 2014, at 12:14 PM, Steven Bosscher <stevenb.gcc@gmail.com> wrote:
> (Hint: read http://vmakarov.fedorapeople.org/spec/ as an example of a
> better-supported point of view.)

Unrelated to this thread, it would be great for this web page to get updated.  You may find it to be "a better-supported point of view", but it is also comparing against clang 3.2, which is from the end of 2012, and a lot has changed since then.

Modern clang versions have its autovectorizor on by default (like GCC's) and generate much better code in general.  http://www.phoronix.com/ has done some benchmarks across a wider range of code than just spec (which is notoriously "hacked" by compiler developers) and Clang generates better code (and faster) than GCC in many cases.

-Chris



More information about the Gcc mailing list