On Fri, Mar 26, 2010 at 6:16 PM, Felipe Lessa <felipe.le...@gmail.com> wrote:
> I'd guess that the LLVM backend could generate code that is at least
> as fast as gcc. It would be nice if you could test it.

NCG done with GHC 6.12.1 w/ -O3
LLVM using a version of HEAD w/ -O3
GCC version 4.4.3 w/ -O3
Please take note Johns benchmark of JHC showing it beats everything
here (including C).
Also note -Odph did not alter performance from -O3.


[to...@mavlo Test]$ time ./blahC
143

real    0m4.124s
user    0m4.032s
sys     0m0.013s

[to...@mavlo Test]$ time ./blahLLVM
143

real    0m5.045s
user    0m4.984s
sys     0m0.006s


[to...@mavlo Test]$ time ./blahNCG
143

real    0m5.960s
user    0m5.872s
sys     0m0.008s

Cheers,
Thomas
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to