Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for May 23, 2013
An "enum" for Python 3
An unexpected perf feature
LWN.net Weekly Edition for May 16, 2013
A look at the PyPy 2.0 release
Just curious about real-world experiences.
LLVM 2.8 is available
Posted Oct 12, 2010 17:17 UTC (Tue) by PaXTeam (subscriber, #24616)
i haven't had time for benchmarks (and i don't actually know what would exercise various kernel subsystems/paths well enough, kernel compilation isn't exactly it ;) but based on the generated code and overall code size, clang generates about 3% fatter code than gcc (at least with -Os, i didn't try -O2). as for compile time, i only tested llvm 2.7 last spring and the times for compiling the same kernel/.config were something like this: gcc 4.4.x: 20 mins, llvm-gcc: 18 mins, clang: 16 mins.
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds