[LLVMdev] Code Size Benchmark

Zhongxing Xu xuzhongxing at gmail.com
Mon Apr 19 23:06:02 PDT 2010


On Tue, Apr 20, 2010 at 2:15 AM, Chris Lattner <clattner at apple.com> wrote:

>
> On Apr 19, 2010, at 3:11 AM, Zhongxing Xu wrote:
>
> > Hi all,
> >
> > We did some benchmarks on code size with clang, gcc 4.5, and open64.
> Clang performed second in the test. The benchmark is CSiBE. Clang can't
> compile the linux kernel (some inline asm not supported) and replaypc
> (error: use of unknown builtin '__builtin_next_arg'). The concrete results
> are attached.
>
> Nice, I don't have access to CSiBE.  Out of curiosity, why aren't llvm -O2
> numbers included?  Would you be willing to track down a few examples of
> things where llvm is generating bigger code and file PRs?
>
>
That was just a casual test when I was playing with LLVM. So I only tried
the default configuration of CSiBE, which is -Os. I'll track down a few
examples when I am free.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100420/4f865071/attachment.html>


More information about the llvm-dev mailing list