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]

Re: clang vs free software


On Thu, Jan 23, 2014 at 2:56 PM, Chris Lattner <clattner@apple.com> wrote:
> 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.

Correction -- unlike LLVM,  autovectorizer is not turned on by default
at O2 for GCC yet.

David

>  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


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