Brent Yorgey wrote:
And I have a question: given that I have a Pentium-M cpu that supports
SSE2, what are the best flags to pass to ghc to make use of those?
Perfect accuracy isn't an issue, I want "as fast as possible".
There's been some discussion of this on haskell-cafe recently. As I
understand it, the relevant options are:
-fexcess-precision -fvia-C -optc-O2 -optc-mfpmath=sse -optc-msse2
-optc-march=pentium4
although I've never actually used any of them.
hth,
Wow, that reduced CPU usage of my performance setup from 97% to 66%,
thanks! Now I can add more audio stuff (which previously was using
around 30% of the 97%).
I used pentium-m instead of pentium4 and added similar gcc flags to the
(minimal) C portion of the code too, fwiw.
-Brent
Thanks again,
Claude
--
http://claudiusmaximus.goto10.org
_______________________________________________
haskell-art mailing list
haskell-art@lists.lurk.org
http://lists.lurk.org/mailman/listinfo/haskell-art