Hello Malcolm,

Wednesday, January 18, 2006, 4:22:23 PM, you wrote:
>> I'm running GHC and GCC head-to-head on the task of adding a bunch of
>> long IOUArray-Vectors really fast. My machine is a Linux-ppc PowerBook
>> and gets a runtime for the GHC-compiled binary that's about 10x as long
>> as for GCC.

MW> Is it possible that gcc is making use of the ppc AltiVec instructions,
MW> and ghc is not?

:)  even C version performs only 20 millions of additions in one second
because this program is most limited by memory throughput - it access
to 24 memory bytes per each addition. GHC just can't produce simple
loops even for "imperative" code. JHC can be much better in that area,
i strongly recommend Sven to try it


-- 
Best regards,
 Bulat                            mailto:[EMAIL PROTECTED]



_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to