[Haskell-cafe] GHC vs GCC
Thomas DuBuisson
thomas.dubuisson at gmail.com
Fri Mar 26 23:48:50 EDT 2010
On Fri, Mar 26, 2010 at 6:16 PM, Felipe Lessa <felipe.lessa at 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.
[tommd at Mavlo Test]$ time ./blahC
143
real 0m4.124s
user 0m4.032s
sys 0m0.013s
[tommd at Mavlo Test]$ time ./blahLLVM
143
real 0m5.045s
user 0m4.984s
sys 0m0.006s
[tommd at Mavlo Test]$ time ./blahNCG
143
real 0m5.960s
user 0m5.872s
sys 0m0.008s
Cheers,
Thomas
More information about the Haskell-Cafe
mailing list