[Haskell] Haskell 6.4 perfomance
Simon Marlow
simonmar at microsoft.com
Tue Mar 29 09:31:33 EST 2005
GHC 6.4 uses C-- as an intermediate language, it doesn't compile via C--
(yet). A full C-- backend has the potential to generate faster code
that going via GCC, because C-- would have control over the stack and
the calling convention.
In my experience, extra optimisation flags for gcc make very little
difference for GHC-compiled code, and may even make things worse. By
all means do some benchmarks, though!
Cheers,
Simon
On 25 March 2005 08:19, Alexandre wrote:
> Keean, thank you.
>
> Does any tests/benchmarks available?
>
> Regards,
> /Alexandre.
>
>
> On Mar 25, 2005, at 00:47, Keean Schupke wrote:
>
>> Think this should really go to glasgow-haskell-users...
>>
>> If this is true - how do I get ghc to use C--, and is it really
>> faster than using gcc as a backend with all the bells & whistles
>> turned on (for a pentium-III) something like
>>
>> "-O3 -mcpu=pentium3 -march=pentium3 -pipe -fomit-frame-pointer
>> -momit-leaf-frame-pointer -ftracer -fno-crossjumping -mfpmath=sse,387
>> -ffast-math -fsched-spec-load -fprefetch-loop-arrays
>> -maccumulate-outgoing-args -fmove-all-movables
>> -freduce-all-givs"
>>
>> Keean.
>>
>> Alexandre wrote:
>>
>>> As I heard, 6.4 version of the Haskell using C-- backend and make
>>> lots of the resulting code perfomance (programs executed faster).
>>> If so, does any test/comparison with other languages available?
>>>
>>> Thank you in advance,
>>> Regards,
>>> /Alexandre.
>>>
>> _______________________________________________
>> Haskell mailing list
>> Haskell at haskell.org
>> http://www.haskell.org/mailman/listinfo/haskell
>>
>
>
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
More information about the Glasgow-haskell-users
mailing list