27 Mar
2010
27 Mar
'10
11:48 a.m.
On Fri, Mar 26, 2010 at 6:16 PM, Felipe Lessa <felipe.lessa@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@Mavlo Test]$ time ./blahC 143 real 0m4.124s user 0m4.032s sys 0m0.013s [tommd@Mavlo Test]$ time ./blahLLVM 143 real 0m5.045s user 0m4.984s sys 0m0.006s [tommd@Mavlo Test]$ time ./blahNCG 143 real 0m5.960s user 0m5.872s sys 0m0.008s Cheers, Thomas