GHC vs. GCC on raw vector addition

John Meacham john at repetae.net
Wed Jan 18 20:46:22 EST 2006


On Wed, Jan 18, 2006 at 08:54:43PM +0300, Bulat Ziganshin wrote:
> sorry, with the "gcc -O3 -ffast-math -fstrict-aliasing -funroll-loops"
> the C version is 50 times faster than best Haskell one... it's the
> loop from C version:

I believe something similar to what I noted here is the culprit:
http://www.haskell.org//pipermail/glasgow-haskell-users/2005-October/009174.html

it is fixable, but not without modifying ghc.
        John

-- 
John Meacham - ⑆repetae.net⑆john⑈ 


More information about the Glasgow-haskell-users mailing list