On Tue, May 12, 2009 at 7:45 PM, Chris Lattner <clatt...@apple.com> wrote: > 2. You change two variables in your configurations: micro architecture and > pointer size. Would you be willing to run x86-32 Core i7 numbers as well? > LLVM in particular is completely untuned for the (really old and quirky) > "netburst" architecture, but I'm interested to see how it runs for you on > more modern Core i7 or Core2 processors in 32-bit mode.
FWIW, GCC is also completely untuned for NetBurst. There isn't even a scheduler description for the P4, and there also isn't anything for the funny branch predictor. > 3. Your SPEC FP benchmarks tell me two things: GCC 4.4's fortran support is > dramatically better than 4.2's (which llvm 2.5 uses), and your art/mgrid > hacks apparently do great stuff :). Something like the "art hack" is in ipa-struct-reorg, but it is not enabled at any level. If gcc outperforms llvm on art by much, it's more likely that some important opportunities for art are being overlooked by llvm. There also isn't anything special done for mgrid, except predictive commoning (CSE around loops) which is not a hack, in the sense it is helpful for a lot of numerical code and triggers several times in things like generic Fortran blas/lapack routines. Hope this helps, Ciao! Steven