Re: Faster, GHC, and floating point.
Can't tell you, SSE is disabled by cygwin when i try -mfpmath=sse i get the message c++ AIBD.cpp Main.cpp -O2 -mfpmath=sse -o AIBD.exe cc1plus: warning: SSE instruction set disabled, using 387 arithmetics and the program it takes obviously the same time. Oh, and btw, using MinGW yields the same message for C/C++. For haskell actually, it _makes_ a difference. Don't ask me why and how. |---------+---------------------------> | | Michael Weber | | | <michaelw@foldr.| | | org> | | | | | | 21.10.2003 11:47| | | | |---------+--------------------------->
-------------------------------------------------------------------------------------------------------------------| | | | An: Andreas.Schroeder@gillardon.de | | Kopie: glasgow-haskell-users@haskell.org | | Thema: Re: Faster, GHC, and floating point. | -------------------------------------------------------------------------------------------------------------------|
* 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 (1)
-
Andreas.Schroeder@gillardon.de