
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 |
| |
-------------------------------------------------------------------------------------------------------------------| | | | 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