Does -mfpmath=sse include SSE2?

R. Kelley Cook robert_k_cook@comerica.com
Mon Dec 30 10:21:00 GMT 2002


 > On a Pentium 4 system, does the switch -mfpmath=sse cause the 
compiler > to generate code using SSE2 instructions for calculations 
involving
 > doubles?
 >
 > Note: I've also specified -march=pentium4 -mcpu=pentium4.

Yes.

BTW, feel free to send patches for clearer documentation.  The docs on 
some of the new options are a bit muddled.

Kelley Cook



More information about the Gcc mailing list