RE: Faster, GHC, and floating point.

Hi Simon,
I added some `seq` 's to the code.
I also used SSE (not p4, i don't have the p4 available by now, but i'll
test it)
and indeed, it runs _a bit_ faster: ~640 now vs. 711 ms before (Speedup
1.11).
Now, Haskell takes 4.57 the time of C++ (cygwin gnu C++ with -O2).
But if i look in the interface file by -ddump-hi, i see lot's of U(L) 's
instead of S
or similar in the signature of the functions. I think that U(L) is better
than L, but
can i do better than U(L) somehow?
Regards,
Andreas Schroeder
|---------+--------------------------->
| | "Simon Marlow" |
| |
-------------------------------------------------------------------------------------------------------------------| | | | An:
, | | Kopie: "JP Bernardy" | | Thema: RE: Faster, GHC, and floating point. | -------------------------------------------------------------------------------------------------------------------|
Looking at your code, it looks like you should add some more strictness.

* Andreas.Schroeder@gillardon.de [2003-10-21T11:39+0200]:
Now, Haskell takes 4.57 the time of C++ (cygwin gnu C++ with -O2).
Did you add the SSE options etc. to the C++ program as well when comparing Haskell vs. C++? What is the SSE speedup of C++ vs. C++/with SSE? Cheers, Michael
participants (2)
-
Andreas.Schroeder@gillardon.de
-
Michael Weber